llvm-project/llvm/include/llvm-c
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
..
Transforms [Coroutines] Rename "legacy" passes (NFC) 2020-01-01 21:41:16 -05:00
Analysis.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
BitReader.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
BitWriter.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
Comdat.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
Core.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
DataTypes.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugInfo.h Move the sysroot attribute from DIModule to DICompileUnit 2020-01-17 12:55:40 -08:00
Disassembler.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
DisassemblerTypes.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Error.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
ErrorHandling.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
ExecutionEngine.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
ExternC.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
IRReader.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
Initialization.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
LinkTimeOptimizer.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
Linker.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
Object.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
OrcBindings.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
Remarks.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
Support.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
Target.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
TargetMachine.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
Types.h Wrap C APIs with pragmas enforcing -Werror=strict-prototypes 2019-11-19 13:18:43 -08:00
lto.h [LTO][Legacy] Add API for passing LLVM options separately 2019-11-19 16:30:37 -08:00
module.modulemap