LLVM 22.0.0git
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 <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 34 of file DylibReader.cpp.

Function Documentation

◆ accumulateLocs()

◆ constructTriples()

◆ DWARFErrorHandler()

void DWARFErrorHandler ( Error Err)
static

◆ emplace()

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

◆ load()

◆ readMachOHeader()

◆ readSymbols()