1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib/DebugInfo
Sterling Augustine ad25ac2e9f Allow retrieving source files relative to the compilation directory.
Summary:
Dwarf stores source-file names the three parts:
<compilation_directory><include_directory><filename>

Prior to this change, the code only allowed retrieving either all
three as the absolute path, or just the filename.  But many
compile-command lines--especially those in hermetic build systems
don't specify an absolute path, nor just the filename, but rather the
path relative to the compilation directory. This features allows
retrieving them in that style.

Add tests for path printing styles.

Modify createBasicPrologue to handle include directories.

Subscribers: aprantl, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73383
2020-02-11 11:46:20 -08:00
..
CodeView Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
DWARF Allow retrieving source files relative to the compilation directory. 2020-02-11 11:46:20 -08:00
GSYM Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
MSF Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
PDB Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
Symbolize Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
CMakeLists.txt Add GSYM utility files along with unit tests. 2019-06-26 14:09:09 +00:00
LLVMBuild.txt Fix build in shared lib mode. 2019-06-26 15:46:48 +00:00