LLVM 20.0.0git
Typedefs | Functions
DylibReader.cpp File Reference
#include "llvm/TextAPI/DylibReader.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/DebugInfo/DWARF/DWARFCompileUnit.h"
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
#include "llvm/Object/Binary.h"
#include "llvm/Object/MachOUniversal.h"
#include "llvm/Support/Endian.h"
#include "llvm/TargetParser/Triple.h"
#include "llvm/TextAPI/InterfaceFile.h"
#include "llvm/TextAPI/RecordsSlice.h"
#include "llvm/TextAPI/TextAPIError.h"
#include <iomanip>
#include <set>
#include <sstream>
#include <string>
#include <tuple>

Go to the source code of this file.

Typedefs

using TripleVec = std::vector< Triple >
 

Functions

static TripleVec::iterator emplace (TripleVec &Container, Triple &&T)
 
static TripleVec constructTriples (MachOObjectFile *Obj, const Architecture ArchT)
 
static Error readMachOHeader (MachOObjectFile *Obj, RecordsSlice &Slice)
 
static Error readSymbols (MachOObjectFile *Obj, RecordsSlice &Slice, const ParseOption &Opt)
 
static Error load (MachOObjectFile *Obj, RecordsSlice &Slice, const ParseOption &Opt, const Architecture Arch)
 
static void DWARFErrorHandler (Error Err)
 
static SymbolToSourceLocMap accumulateLocs (MachOObjectFile &Obj, const std::unique_ptr< DWARFContext > &DiCtx)
 

Typedef Documentation

◆ TripleVec

using TripleVec = std::vector<Triple>

Definition at line 35 of file DylibReader.cpp.

Function Documentation

◆ accumulateLocs()

static SymbolToSourceLocMap accumulateLocs ( MachOObjectFile Obj,
const std::unique_ptr< DWARFContext > &  DiCtx 
)
static

◆ constructTriples()

static TripleVec constructTriples ( MachOObjectFile Obj,
const Architecture  ArchT 
)
static

◆ DWARFErrorHandler()

static void DWARFErrorHandler ( Error  Err)
static

◆ emplace()

static TripleVec::iterator emplace ( TripleVec Container,
Triple &&  T 
)
static

◆ load()

static Error load ( MachOObjectFile Obj,
RecordsSlice Slice,
const ParseOption Opt,
const Architecture  Arch 
)
static

◆ readMachOHeader()

static Error readMachOHeader ( MachOObjectFile Obj,
RecordsSlice Slice 
)
static

◆ readSymbols()

static Error readSymbols ( MachOObjectFile Obj,
RecordsSlice Slice,
const ParseOption Opt 
)
static