LLVM 20.0.0git
Namespaces | Macros | Functions | Variables
XCOFFObjectFile.cpp File Reference
#include "llvm/Object/XCOFFObjectFile.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/DataExtractor.h"
#include "llvm/TargetParser/SubtargetFeature.h"
#include <cstddef>
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::object
 

Macros

#define ECASE(Value, String)
 
#define GETVALUEWITHMASK(X)   (Data & (TracebackTable::X))
 
#define GETVALUEWITHMASKSHIFT(X, S)    ((Data & (TracebackTable::X)) >> (TracebackTable::S))
 
#define GETBITWITHMASK(P, X)    (support::endian::read32be(TBPtr + (P)) & (TracebackTable::X))
 
#define GETBITWITHMASKSHIFT(P, X, S)
 

Functions

template<typename T >
static Expected< const T * > llvm::object::getObject (MemoryBufferRef M, const void *Ptr, const uint64_t Size=sizeof(T))
 
static uintptr_t llvm::object::getWithOffset (uintptr_t Base, ptrdiff_t Offset)
 
template<typename T >
static const Tllvm::object::viewAs (uintptr_t in)
 
static StringRef llvm::object::generateXCOFFFixedNameStringRef (const char *Name)
 
template<typename T >
Expected< StringRef > llvm::object::getLoaderSecSymNameInStrTbl (const T *LoaderSecHeader, uint64_t Offset)
 
template llvm::Expected< llvm::ArrayRef< llvm::object::XCOFFRelocation64 > > llvm::object::llvm::object::XCOFFObjectFile::relocations< llvm::object::XCOFFSectionHeader64, llvm::object::XCOFFRelocation64 > (llvm::object::XCOFFSectionHeader64 const &) const
 
template llvm::Expected< llvm::ArrayRef< llvm::object::XCOFFRelocation32 > > llvm::object::llvm::object::XCOFFObjectFile::relocations< llvm::object::XCOFFSectionHeader32, llvm::object::XCOFFRelocation32 > (llvm::object::XCOFFSectionHeader32 const &) const
 
bool llvm::object::doesXCOFFTracebackTableBegin (ArrayRef< uint8_t > Bytes)
 

Variables

static const uint8_t llvm::object::FunctionSym = 0x20
 
static const uint16_t llvm::object::NoRelMask = 0x0001
 
static const size_t llvm::object::SymbolAuxTypeOffset = 17
 

Macro Definition Documentation

◆ ECASE

#define ECASE (   Value,
  String 
)
Value:
case XCOFF::Value: \
SectionName = String; \
break

◆ GETBITWITHMASK

#define GETBITWITHMASK (   P,
  X 
)     (support::endian::read32be(TBPtr + (P)) & (TracebackTable::X))

Definition at line 1549 of file XCOFFObjectFile.cpp.

◆ GETBITWITHMASKSHIFT

#define GETBITWITHMASKSHIFT (   P,
  X,
 
)
Value:
((support::endian::read32be(TBPtr + (P)) & (TracebackTable::X)) >> \
(TracebackTable::S))
#define P(N)

Definition at line 1551 of file XCOFFObjectFile.cpp.

◆ GETVALUEWITHMASK

#define GETVALUEWITHMASK (   X)    (Data & (TracebackTable::X))

Definition at line 1395 of file XCOFFObjectFile.cpp.

◆ GETVALUEWITHMASKSHIFT

#define GETVALUEWITHMASKSHIFT (   X,
 
)     ((Data & (TracebackTable::X)) >> (TracebackTable::S))

Definition at line 1396 of file XCOFFObjectFile.cpp.