LLVM  8.0.1
Public Member Functions | List of all members
llvm::ThinLTOBuffer Class Reference

Wrapper around MemoryBufferRef, owning the identifier. More...

#include "llvm/LTO/legacy/ThinLTOCodeGenerator.h"

Public Member Functions

 ThinLTOBuffer (StringRef Buffer, StringRef Identifier)
 
MemoryBufferRef getMemBuffer () const
 
StringRef getBuffer () const
 
StringRef getBufferIdentifier () const
 

Detailed Description

Wrapper around MemoryBufferRef, owning the identifier.

Definition at line 36 of file ThinLTOCodeGenerator.h.

Constructor & Destructor Documentation

◆ ThinLTOBuffer()

llvm::ThinLTOBuffer::ThinLTOBuffer ( StringRef  Buffer,
StringRef  Identifier 
)
inline

Definition at line 41 of file ThinLTOCodeGenerator.h.

Member Function Documentation

◆ getBuffer()

StringRef llvm::ThinLTOBuffer::getBuffer ( ) const
inline

Definition at line 48 of file ThinLTOCodeGenerator.h.

◆ getBufferIdentifier()

StringRef llvm::ThinLTOBuffer::getBufferIdentifier ( ) const
inline

Definition at line 49 of file ThinLTOCodeGenerator.h.

◆ getMemBuffer()

MemoryBufferRef llvm::ThinLTOBuffer::getMemBuffer ( ) const
inline

Definition at line 44 of file ThinLTOCodeGenerator.h.

References llvm::StringRef::size().

Referenced by llvm::ThinLTOCodeGenerator::addModule().


The documentation for this class was generated from the following file: