llvm-project/llvm/test
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
..
Analysis [CostModel] Add bfloat and fp128 reduction tests 2022-08-12 16:44:04 +01:00
Assembler
Bindings
Bitcode [InstrProf] Add the skipprofile attribute 2022-08-04 08:45:27 -07:00
BugPoint
CodeGen X86: Don't fold TEST into ADD ...@GOTTPOFF/GOTNTPOFF/INDNTPOFF 2022-08-12 20:52:00 +00:00
DebugInfo [DebugInfo] Don't join DW_AT_comp_dir and directories[0] for DWARF v5 line tables 2022-08-12 14:01:52 -07:00
Demangle
Examples [Examples] Fix SimplifyCFG example 2022-08-01 07:22:35 +02:00
ExecutionEngine [JITLink][COFF][x86_64] Implement SECTION/SECREL relocation. 2022-08-11 15:12:24 +09:00
Feature [WinEH] Apply funclet operand bundles to nounwind intrinsics that lower to function calls in the course of IR transforms 2022-07-26 17:52:43 +02:00
FileCheck
Instrumentation [MSAN] add flag to suppress storage of stack variable names with -sanitize-memory-track-origins 2022-08-12 11:59:53 -07:00
Integer
JitListener
LTO [libLTO] Set data-sections by default in libLTO. 2022-07-27 09:39:39 -05:00
Linker
MC [DebugInfo] Don't join DW_AT_comp_dir and directories[0] for DWARF v5 line tables 2022-08-12 14:01:52 -07:00
MachineVerifier
Object
ObjectYAML
Other [SimpleLoopUnswitch] Skip non-trivial unswitching of cold loops 2022-08-08 18:12:04 +00:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen] Add a location for a class definition that was forward-declared 2022-07-20 15:56:17 +02:00
ThinLTO/X86 Add switch to use "source_filename" instead of a hash ID for globally promoted local 2022-08-03 16:41:56 -07:00
Transforms [Inlining] Introduce the function attribute "inline-max-stacksize" 2022-08-12 11:07:18 -07:00
Unit
Verifier [MemProf] Basic metadata support and verification 2022-07-20 15:30:55 -07:00
YAMLParser
tools [llvm-reduce] Try harder to not create invalid aliases 2022-08-12 10:39:05 -07:00
.clang-format
CMakeLists.txt [Reland][Debuginfo][llvm-dwarfutil] llvm-dwarfutil dsymutil-like tool for ELF. 2022-07-19 15:11:36 +03:00
TestRunner.sh
lit.cfg.py [llvm-ar] Add object mode option -X for AIX 2022-07-22 09:55:21 -04:00
lit.site.cfg.py.in [llvm] add zstd to `llvm::compression` namespace 2022-07-19 10:54:36 -07:00