LLVM  8.0.1
Classes | Typedefs | Enumerations | Functions
llvm::elfabi Namespace Reference

Classes

class  ELFStub
 
struct  ELFSymbol
 

Typedefs

typedef uint16_t ELFArch
 

Enumerations

enum  ELFSymbolType {
  ELFSymbolType::NoType = ELF::STT_NOTYPE, ELFSymbolType::Object = ELF::STT_OBJECT, ELFSymbolType::Func = ELF::STT_FUNC, ELFSymbolType::TLS = ELF::STT_TLS,
  ELFSymbolType::Unknown = 16
}
 

Functions

const VersionTuple TBEVersionCurrent (1, 0)
 
Expected< std::unique_ptr< ELFStub > > readTBEFromBuffer (StringRef Buf)
 Attempts to read an ELF interface file from a StringRef buffer. More...
 
Error writeTBEToOutputStream (raw_ostream &OS, const ELFStub &Stub)
 Attempts to write an ELF interface file to a raw_ostream. More...
 

Typedef Documentation

◆ ELFArch

typedef uint16_t llvm::elfabi::ELFArch

Definition at line 26 of file ELFStub.h.

Enumeration Type Documentation

◆ ELFSymbolType

Enumerator
NoType 
Object 
Func 
TLS 
Unknown 

Definition at line 28 of file ELFStub.h.

Function Documentation

◆ readTBEFromBuffer()

Expected< std::unique_ptr< ELFStub > > llvm::elfabi::readTBEFromBuffer ( StringRef  Buf)

Attempts to read an ELF interface file from a StringRef buffer.

Definition at line 146 of file TBEHandler.cpp.

◆ TBEVersionCurrent()

const VersionTuple llvm::elfabi::TBEVersionCurrent ( ,
 
)

◆ writeTBEToOutputStream()

Error llvm::elfabi::writeTBEToOutputStream ( raw_ostream OS,
const ELFStub Stub 
)

Attempts to write an ELF interface file to a raw_ostream.

Definition at line 156 of file TBEHandler.cpp.

References llvm::Error::success().