Home
last modified time | relevance | path

Searched refs:CompilationDir (Results 1 – 8 of 8) sorted by relevance

/trueos/contrib/llvm/patches/
HDpatch-r262611-llvm-r196874-fix-invalid-pwd-crash.diff8 The obvious fix is to simply leave MCContext's CompilationDir empty
12 If we do want to guarantee valid CompilationDir, that should be done
32 StringRef getCompilationDir() const { return CompilationDir; }
42 error_code EC = llvm::sys::fs::current_path(CompilationDir);
46 + CompilationDir.clear();
HDpatch-r261991-llvm-r195391-fix-dwarf2.diff178 if (!CompilationDir.empty())
179 NewCU->addLocalString(Die, dwarf::DW_AT_comp_dir, CompilationDir);
/trueos/contrib/llvm/include/llvm/MC/
HDMCContext.h102 SmallString<128> CompilationDir; variable
282 StringRef getCompilationDir() const { return CompilationDir; } in getCompilationDir()
286 void setCompilationDir(StringRef S) { CompilationDir = S.str(); } in setCompilationDir()
/trueos/contrib/llvm/lib/DebugInfo/
HDDWARFUnit.cpp259 const char *CompilationDir = in parseDWO() local
262 if (sys::path::is_relative(DWOFileName) && CompilationDir != 0) { in parseDWO()
263 sys::path::append(AbsolutePath, CompilationDir); in parseDWO()
HDDWARFContext.cpp384 if (const char *CompilationDir = CU->getCompilationDir()) { in getFileNameForCompileUnit() local
385 sys::path::append(AbsolutePath, CompilationDir); in getFileNameForCompileUnit()
/trueos/contrib/llvm/lib/MC/
HDMCContext.cpp49 error_code EC = llvm::sys::fs::current_path(CompilationDir); in MCContext()
51 CompilationDir.clear(); in MCContext()
/trueos/contrib/llvm/lib/CodeGen/AsmPrinter/
HDDwarfDebug.cpp715 if (DirName == CompilationDir) in getOrCreateSourceID()
744 CompilationDir = DIUnit.getDirectory(); in constructCompileUnit()
753 getOrCreateSourceID(FN, CompilationDir, NewCU->getUniqueID()); in constructCompileUnit()
796 if (!CompilationDir.empty()) in constructCompileUnit()
797 NewCU->addString(Die, dwarf::DW_AT_comp_dir, CompilationDir); in constructCompileUnit()
2999 if (!CompilationDir.empty()) in constructSkeletonCU()
3000 NewCU->addLocalString(Die, dwarf::DW_AT_comp_dir, CompilationDir); in constructSkeletonCU()
HDDwarfDebug.h429 StringRef CompilationDir; variable