LLVM 22.0.0git
llvm::MachO::DylibReader Namespace Reference

Defines the MachO Dynamic Library Reader. More...

Classes

struct  ParseOption

Typedefs

using SymbolToSourceLocMap = llvm::StringMap<RecordLoc>

Functions

LLVM_ABI Expected< RecordsreadFile (MemoryBufferRef Buffer, const ParseOption &Opt)
 Parse Mach-O dynamic libraries to extract TAPI attributes.
LLVM_ABI Expected< std::unique_ptr< InterfaceFile > > get (MemoryBufferRef Buffer)
 Get TAPI file representation of binary dylib.
LLVM_ABI SymbolToSourceLocMap accumulateSourceLocFromDSYM (const StringRef DSYM, const Target &T)
 Get the source location for each symbol from dylib.

Detailed Description

Defines the MachO Dynamic Library Reader.

Typedef Documentation

◆ SymbolToSourceLocMap

Function Documentation

◆ accumulateSourceLocFromDSYM()

SymbolToSourceLocMap llvm::MachO::DylibReader::accumulateSourceLocFromDSYM ( const StringRef DSYM,
const Target & T )

◆ get()

Expected< std::unique_ptr< InterfaceFile > > llvm::MachO::DylibReader::get ( MemoryBufferRef Buffer)

Get TAPI file representation of binary dylib.

Parameters
BufferData that points to dylib.

Definition at line 427 of file DylibReader.cpp.

References llvm::MachO::convertToInterfaceFile(), Options, and readFile().

◆ readFile()