LLVM 22.0.0git
DWARFLinkerImpl.cpp File Reference

Go to the source code of this file.

Functions

static void resolveRelativeObjectPath (SmallVectorImpl< char > &Buf, DWARFDie CU)
 Resolve the relative path to a build artifact referenced by DWARF by applying DW_AT_comp_dir.
static uint64_t getDwoId (const DWARFDie &CUDie)
static std::string remapPath (StringRef Path, const DWARFLinker::ObjectPrefixMapTy &ObjectPrefixMap)
static std::string getPCMFile (const DWARFDie &CUDie, DWARFLinker::ObjectPrefixMapTy *ObjectPrefixMap)

Function Documentation

◆ getDwoId()

uint64_t getDwoId ( const DWARFDie & CUDie)
static

Definition at line 261 of file DWARFLinkerImpl.cpp.

References llvm::DWARFDie::find(), and llvm::dwarf::toUnsigned().

◆ getPCMFile()

std::string getPCMFile ( const DWARFDie & CUDie,
DWARFLinker::ObjectPrefixMapTy * ObjectPrefixMap )
static

◆ remapPath()

std::string remapPath ( StringRef Path,
const DWARFLinker::ObjectPrefixMapTy & ObjectPrefixMap )
static

Definition at line 270 of file DWARFLinkerImpl.cpp.

References llvm::sys::path::replace_path_prefix().

◆ resolveRelativeObjectPath()

void resolveRelativeObjectPath ( SmallVectorImpl< char > & Buf,
DWARFDie CU )
static

Resolve the relative path to a build artifact referenced by DWARF by applying DW_AT_comp_dir.

Definition at line 257 of file DWARFLinkerImpl.cpp.

References llvm::sys::path::append(), and llvm::dwarf::toString().