llvm-project/llvm/test/MC
Fangrui Song 3329cec2f7 [DebugInfo] Don't join DW_AT_comp_dir and directories[0] for DWARF v5 line tables
DWARF v5 6.2.4 The Line Number Program Header says:

> The first entry is the current directory of the compilation. Each additional
> path entry is either a full path name or is relative to the current directory of
> the compilation.

When forming a path, relative DW_AT_comp_dir and directories[0] are not supposed
to be joined together. Fix getFileNameByIndex to special case DWARF v5 DirIdx == 0.

Reviewed By: #debug-info, dblaikie

Differential Revision: https://reviews.llvm.org/D131804
2022-08-12 14:01:52 -07:00
..
AArch64 [MC] [Win64EH] Fix the calculation of the end of epilogs 2022-08-08 23:03:17 +03:00
AMDGPU [AMDGPU][MC][GFX11][NFC] Add tests for VOP1 and VOP2 16 bit opcodes 2022-08-11 17:12:13 +03:00
ARM [Arm] Fix parsing and emission of Tag_also_compatible_with eabi attribute 2022-08-01 13:28:01 +01:00
AVR [MC][AVR] Implement decoding ST/LD 2022-05-05 01:53:59 +00:00
AsmParser [Object] Add ELF section type for offloading objects 2022-07-07 12:20:30 -04:00
BPF [BPF] Implement mod operation 2022-05-12 10:59:18 +08:00
COFF [MC] Avoid UAF in WinCOFFObjectWriter with weak symbols. 2022-07-16 13:24:08 +03:00
CSKY [CSKY] Add missing codegen pattern for 16-bit instruction 2022-03-29 16:05:30 +08:00
Disassembler [AMDGPU][MC][GFX11][NFC] Add tests for VOP1 and VOP2 16 bit opcodes 2022-08-11 17:12:13 +03:00
ELF [DebugInfo] Don't join DW_AT_comp_dir and directories[0] for DWARF v5 line tables 2022-08-12 14:01:52 -07:00
GOFF [SystemZ][z/OS] Implement detection and handling for XPLink Leaf procedures. 2022-07-17 14:30:33 -04:00
Hexagon
Lanai
LoongArch [LoongArch] Add the missing ld.d instruction definition 2022-06-02 14:57:23 +08:00
M68k [M68k] Add MC support for link/unlk 2022-08-08 11:00:11 +08:00
MSP430
MachO [MC][re-land] Omit DWARF unwind info if compact unwind is present where eligible 2022-06-12 17:24:19 -04:00
Mips [MC][Mips] Support .reloc *, BFD_RELOC_{NONE,16,32,64}, * 2022-06-30 16:39:23 -07:00
PowerPC [llvm-objdump] Default to --mcpu=future for PPC64 2022-06-30 11:30:35 -07:00
RISCV [RISCV] Add {{$}} to some CHECK lines in MC tests. 2022-08-08 14:38:11 -07:00
Sparc [SPARC][MC] Support more relocation types 2022-06-05 14:09:39 -04:00
SystemZ [SystemZ] Bugfix for symbolic displacements. 2022-05-22 17:41:36 +02:00
VE
WebAssembly [WebAssembly] Implement remaining relaxed SIMD instructions 2022-06-08 10:32:10 -07:00
X86 [X86][MC] Avoid emitting incorrect warning for complex FMUL 2022-07-28 13:58:34 +08:00
XCOFF