llvm-project/llvm/test/MC
Paul Robinson b271f31d8d Reapply "[DWARFv5] Emit file 0 to the line table."
DWARF v5 specifies that the root file (also given in the DW_AT_name
attribute of the compilation unit DIE) should be emitted explicitly to
the line table's list of files.  This makes the line table more
independent of the .debug_info section.
We emit the new syntax only for DWARF v5 and later.

Fixes the bug found by asan. Also XFAIL the new test for Darwin, which
is stuck on DWARF v2, and fix up other tests so they stop failing on
Windows.  Last but not least, don't break "clang -g" of an assembler
file that has .file directives in it.

Differential Revision: https://reviews.llvm.org/D44054

llvm-svn: 328805
2018-03-29 17:16:41 +00:00
..
AArch64 [AArch64] Add support for secrel add/load/store relocations for COFF 2018-03-01 20:42:28 +00:00
AMDGPU [AMDGPU][MC] Added ds_add_src2_f32 2018-03-28 16:21:56 +00:00
ARM Reapply "[DWARFv5] Emit file 0 to the line table." 2018-03-29 17:16:41 +00:00
AVR [AVR] Implement some missing code paths 2017-12-11 11:01:27 +00:00
AsmParser Use .set instead of = when printing assignment in assembly output 2018-03-27 16:44:41 +00:00
BPF bpf: New disassembler testcases for 32-bit subregister support 2018-02-23 23:49:35 +00:00
COFF [IR] Avoid the need to prefix MS C++ symbols with '\01' 2018-03-16 20:13:32 +00:00
Disassembler [AMDGPU][MC] Added ds_add_src2_f32 2018-03-28 16:21:56 +00:00
ELF Reapply "[DWARFv5] Emit file 0 to the line table." 2018-03-29 17:16:41 +00:00
Hexagon [Hexagon] Always generate mux out of predicated transfers if possible 2018-03-23 18:43:09 +00:00
Lanai [lanai] Add more tests for assembly of conditional ALU ops 2016-07-11 17:58:16 +00:00
MachO [DebugInfo] Support DWARF v5 source code embedding extension 2018-02-23 23:01:06 +00:00
Markup
Mips Use .set instead of = when printing assignment in assembly output 2018-03-27 16:44:41 +00:00
PowerPC [PowerPC] Code cleanup. Remove instructions that were withdrawn from Power 9. 2018-02-23 15:55:16 +00:00
RISCV [RISCV] Implement MC relaxations for compressed instructions. 2018-03-02 22:04:12 +00:00
Sparc [Sparc] invalid adjustments in TLS_LE/TLS_LDO relocations removed 2017-07-25 15:28:28 +00:00
SystemZ [SystemZ, AsmParser] Enable the mnemonic spell corrector. 2017-07-18 09:17:00 +00:00
WebAssembly [WebAssembly] Added initial AsmParser implementation. 2018-03-20 20:06:35 +00:00
X86 [X86] Added support for nocf_check attribute for indirect Branch Tracking 2018-03-17 13:29:46 +00:00