llvm-project/llvm/test/DebugInfo/Inputs
Petr Hosek 00e436f130 [llvm-symbolizer] Support debug file lookup using build ID
Build ID is a protocol for looking up debug files that's already
supported by various tools including debuggers. For example, when
locating debug files, gdb would check the following directories:

- /usr/lib/debug/.build-id/ab/cdef1234.debug
- /usr/bin/ls.debug
- /usr/bin/.debug/ls.debug
- /usr/lib/debug/usr/bin/ls.debug

llvm-symbolizer currently consults all of these except for build ID
based one. This patch implements support for build ID lookup. The
set of debug directories to search is specified by the new option:
--debug-file-directory, whose name matches the debug-file-directory
variable used by gdb for the same purpose.

Differential Revision: https://reviews.llvm.org/D70759
2019-12-04 15:07:56 -08:00
..
.build-id/ab [llvm-symbolizer] Support debug file lookup using build ID 2019-12-04 15:07:56 -08:00
arange-overlap.cc
arange-overlap.elf-x86_64
arm-relocs.elf-arm
cross-cu-inlining.c
cross-cu-inlining.x86_64-macho.o
dwarfdump-decompression-corrupt.elf-x86-64
dwarfdump-decompression-error.elf-x86-64
dwarfdump-dwp.x86_64.o
dwarfdump-gdbindex-v7.elf-x86-64
dwarfdump-inl-test.cc
dwarfdump-inl-test.elf-x86-64
dwarfdump-inl-test.h
dwarfdump-inl-test.high_pc.elf-x86-64
dwarfdump-macho-relocs.macho.x86_64.o
dwarfdump-macro-cmd.h
dwarfdump-macro.cc
dwarfdump-macro.dwo [DebugInfo] Support for debug_macinfo.dwo section in llvm and llvm-dwarfdump. 2019-12-03 08:54:12 +05:30
dwarfdump-macro.h
dwarfdump-macro.o
dwarfdump-objc.m
dwarfdump-objc.x86_64.o
dwarfdump-pubnames.cc
dwarfdump-pubnames.elf-x86-64
dwarfdump-ranges-baseaddr-exe.elf-x86-64
dwarfdump-test-32bit.elf.c
dwarfdump-test-32bit.elf.o
dwarfdump-test-loc-list-32bit.elf.cpp
dwarfdump-test-loc-list-32bit.elf.o
dwarfdump-test-zlib.cc [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
dwarfdump-test-zlib.elf-x86-64
dwarfdump-test-zlib.o.elf-x86-64
dwarfdump-test-zlibgnu.elf-x86-64
dwarfdump-test.cc
dwarfdump-test.elf-x86-64 Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
dwarfdump-test.elf-x86-64.debuglink Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
dwarfdump-test.macho-i386.o
dwarfdump-test2-helper.cc
dwarfdump-test2-main.cc
dwarfdump-test2.elf-x86-64
dwarfdump-test3-decl.h [llvm-symbolizer][test] Extract tests from llvm-symbolizer.test and simplify (#3) 2019-01-31 14:22:50 +00:00
dwarfdump-test3-decl2.h [llvm-symbolizer][test] Extract tests from llvm-symbolizer.test and simplify (#3) 2019-01-31 14:22:50 +00:00
dwarfdump-test3.cc [llvm-symbolizer][test] Extract tests from llvm-symbolizer.test and simplify (#3) 2019-01-31 14:22:50 +00:00
dwarfdump-test3.elf-x86-64-space
dwarfdump-test4-decl.h
dwarfdump-test4-part1.cc
dwarfdump-test4-part2.cc
dwarfdump-test4.elf-x86-64
dwarfdump-type-units.cc
dwarfdump-type-units.elf-x86-64
dwarfdump.elf-mips64-64-bit-dwarf
fat-test.o
gmlt.ll [DebugInfo] Add column info for inline sites 2019-07-12 19:25:45 +00:00
implicit-const-test.o
invalid.elf
invalid.elf.2
invalid.elf.3
invalid.linetable
line.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
llvm-symbolizer-dwo-test.cc
llvm-symbolizer-local-mem-func-gcc.elf-x86-64 llvm-symbolizer: Handle function definitions nested within other functions 2018-05-01 18:08:45 +00:00
llvm-symbolizer-test.c [llvm-symbolizer][test] Extract tests from llvm-symbolizer.test and simplify (#2) 2019-01-31 14:17:33 +00:00
llvm-symbolizer-test.elf-x86-64 Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
llvm-symbolizer-tu.elf-x86-64 llvm-symbolizer: Fix bug related to TUs interfering with symbolizing 2018-09-11 02:04:45 +00:00
loclists-dwp-b.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
macho-universal
macho-universal.cc
precomp-a.obj [Debuginfo][COFF] Minimal serialization support for precompiled types records 2018-04-09 20:17:56 +00:00
precomp.obj [Debuginfo][COFF] Minimal serialization support for precompiled types records 2018-04-09 20:17:56 +00:00
shared-object-stripped.elf-i386
split-dwarf-empty.dwo
split-dwarf-empty.o
split-dwarf-no-skel-address.dwo
split-dwarf-no-skel-address.o
symbolize-64bit-addr.c [DebugInfo][llvm-symbolizer]Add some tests for edge cases when symbolizing 2019-02-06 10:13:14 +00:00
symbolize-64bit-addr.elf.x86_64 [DebugInfo][llvm-symbolizer]Add some tests for edge cases when symbolizing 2019-02-06 10:13:14 +00:00
test-inline.o Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
test-multiple-macho.o
test-parameters.o Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
test-simple-macho.o
typeunit-header.elf-x86-64
typeunit-header.s