llvm-6502/lib
David Blaikie 2a12c4e5bd DebugInfo: Do not rely on the compilation dir (index 0) for files in line tables shared between compilation units
When emitting assembly there's no support for emitting separate line
tables for each compilation unit - so LLVM emits .loc directives
producing a single line table.

Line tables have an implicit directory (index 0) equal to the
compilation directory (DW_AT_comp_dir) of the compilation unit that
references them.

If multiple compilation units (with possibly disparate compilation
directories) reference the same line table, we must avoid relying on
this ambiguous directory.

Achieve this my simply not setting the compilation directory on the line
table when we're in this situation (multiple units while emitting
assembly).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204094 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-18 00:11:48 +00:00
..
Analysis Consistent use of the noduplicate attribute. 2014-03-17 16:19:07 +00:00
AsmParser
Bitcode
CodeGen DebugInfo: Do not rely on the compilation dir (index 0) for files in line tables shared between compilation units 2014-03-18 00:11:48 +00:00
DebugInfo
ExecutionEngine
IR
IRReader
LineEditor
Linker
LTO
MC DebugInfo: Move line table zero-directory-index (compilation dir) handling into MCDwarf 2014-03-17 23:29:40 +00:00
Object
Option
Support
TableGen
Target Make methods static 2014-03-17 22:23:09 +00:00
Transforms Use range metadata instead of introducing selects. 2014-03-17 19:57:04 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile