llvm-project/llvm/tools/llvm-c-test
Adrian Prantl 7b30370e5b Move the sysroot attribute from DIModule to DICompileUnit
[this re-applies c0176916a4
 with the correct commit message and phabricator link]

This addresses point 1 of PR44213.
https://bugs.llvm.org/show_bug.cgi?id=44213

The DW_AT_LLVM_sysroot attribute is used for Clang module debug info,
to allow LLDB to import a Clang module from source. Currently it is
part of each DW_TAG_module, however, it is the same for all modules in
a compile unit. It is more efficient and less ambiguous to store it
once in the DW_TAG_compile_unit.

This should have no effect on DWARF consumers other than LLDB.

Differential Revision: https://reviews.llvm.org/D71732
2020-01-17 12:55:40 -08:00
..
CMakeLists.txt Fix BUILD_SHARED_LIBS builds after r361567 2019-05-24 02:15:27 +00:00
attributes.c llvm-c-test avoid calling malloc(0) 2019-07-04 14:36:34 +00:00
calc.c Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
debuginfo.c Move the sysroot attribute from DIModule to DICompileUnit 2020-01-17 12:55:40 -08:00
diagnostic.c Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
disassemble.c Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
echo.cpp [NFC] Fix trivial typos in comments 2020-01-06 10:50:26 +00:00
helpers.c Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
include-all.c [llvm-c-test] Make include-all.c do what its name says it does 2019-05-06 11:31:45 +00:00
llvm-c-test.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
main.c Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
metadata.c Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
module.c Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
object.c [LLVM-C] Add Section and Symbol Iterator Accessors for Object File Binaries 2019-04-09 21:53:31 +00:00
targets.c Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00