[PATCH] D28095: [ELF] - Use information available from DW_AT_comp_dir attribute when doing error reporting.
Eugene Leviant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 25 08:47:15 PST 2016
evgeny777 added inline comments.
================
Comment at: ELF/InputFiles.cpp:75
+
+ if (Dwarf.getNumCompileUnits())
+ CompilationDir = Dwarf.getCompileUnitAtIndex(0)->getCompilationDir();
----------------
Do we have a unit tests for zero number of CU ?
https://reviews.llvm.org/D28095
More information about the llvm-commits
mailing list