1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/DebugInfo/Inputs
Shiva Chen a2029fa58e [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label.
In order to set breakpoints on labels and list source code around
labels, we need collect debug information for labels, i.e., label
name, the function label belong, line number in the file, and the
address label located. In order to keep these information in LLVM
IR and to allow backend to generate debug information correctly.
We create a new kind of metadata for labels, DILabel. The format
of DILabel is

!DILabel(scope: !1, name: "foo", file: !2, line: 3)

We hope to keep debug information as much as possible even the
code is optimized. So, we create a new kind of intrinsic for label
metadata to avoid the metadata is eliminated with basic block.
The intrinsic will keep existing if we keep it from optimized out.
The format of the intrinsic is

llvm.dbg.label(metadata !1)

It has only one argument, that is the DILabel metadata. The
intrinsic will follow the label immediately. Backend could get the
label metadata through the intrinsic's parameter.

We also create DIBuilder API for labels to be used by Frontend.
Frontend could use createLabel() to allocate DILabel objects, and use
insertLabel() to insert llvm.dbg.label intrinsic in LLVM IR.

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

Patch by Hsiangkai Wang.

llvm-svn: 331841
2018-05-09 02:40:45 +00: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 [Object] Verify object sizes before handing out StringRefs pointing out 2017-08-31 12:27:10 +00:00
dwarfdump-decompression-error.elf-x86-64 [llvm-dwarfdump] - Print an error message if section decompression failed. 2017-05-05 10:52:39 +00:00
dwarfdump-dwp.x86_64.o
dwarfdump-gdbindex-v7.elf-x86-64 Revert r282238 "Revert r282235 "[llvm-dwarfdump] - Teach dwarfdump to dump gdb-index section."" 2016-09-23 11:01:53 +00:00
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.h
dwarfdump-macro.o
dwarfdump-objc.m
dwarfdump-objc.x86_64.o [dwarfdump] Fix off-by-one bug in accelerator table extractor. 2017-12-11 18:22:47 +00:00
dwarfdump-pubnames.cc
dwarfdump-pubnames.elf-x86-64
dwarfdump-ranges-baseaddr-exe.elf-x86-64 [DebugInfo] - Fix for lld DWARF parsing of base address selection entries in range lists. 2017-09-04 10:30:39 +00:00
dwarfdump-test2-helper.cc
dwarfdump-test2-main.cc
dwarfdump-test2.elf-x86-64
dwarfdump-test3-decl2.h
dwarfdump-test3-decl.h
dwarfdump-test3.cc
dwarfdump-test3.elf-x86-64-space [LLVM] Get rid of white spaces in file names in a DebugInfo test. NFC 2017-07-10 16:05:18 +00:00
dwarfdump-test4-decl.h
dwarfdump-test4-part1.cc
dwarfdump-test4-part2.cc
dwarfdump-test4.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 dwarfdump: Handle relocs to zlib (.zdebug*) compressed sections 2017-06-10 19:32:50 +00:00
dwarfdump-test-zlib.elf-x86-64
dwarfdump-test-zlib.o.elf-x86-64 dwarfdump: Handle relocs to zlib (.zdebug*) compressed sections 2017-06-10 19:32:50 +00:00
dwarfdump-test-zlibgnu.elf-x86-64
dwarfdump-test.cc
dwarfdump-test.elf-x86-64
dwarfdump-test.elf-x86-64.debuglink
dwarfdump-test.macho-i386.o
dwarfdump-type-units.cc
dwarfdump-type-units.elf-x86-64
dwarfdump.elf-mips64-64-bit-dwarf
fat-test.o
fission-ranges.cc
fission-ranges.elf-x86_64
gmlt.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
implicit-const-test.o Correct object file for implicit const test 2017-01-10 21:30:42 +00:00
invalid.elf
invalid.elf.2
invalid.elf.3
invalid.linetable [DebugInfo] Don't crash when given invalid DWARFv5 line table prologue. 2018-01-05 10:03:02 +00:00
line.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
llvm-symbolizer-dwo-test
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.elf-x86-64
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-addr-object-relocation.cpp Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
split-dwarf-addr-object-relocation.dwo Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
split-dwarf-addr-object-relocation.o Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
split-dwarf-dwp.cpp Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
split-dwarf-dwp.o Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
split-dwarf-dwp.o.dwp Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
split-dwarf-empty.dwo
split-dwarf-empty.o
split-dwarf-multiple-cu.cpp Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
split-dwarf-multiple-cu.dwo Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
split-dwarf-multiple-cu.o Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
split-dwarf-no-skel-address.dwo DebugInfo/llvm-symbolizer: Test symbolizing Split DWARF without addresses in the skeleton CU 2018-02-09 03:34:32 +00:00
split-dwarf-no-skel-address.o DebugInfo/llvm-symbolizer: Test symbolizing Split DWARF without addresses in the skeleton CU 2018-02-09 03:34:32 +00:00
split-dwarf-test Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
split-dwarf-test-nogmlt Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
split-dwarf-test.cc
split-dwarf-test.cpp Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
split-dwarf-test.dwo Migrate llvm-symbolizer tests to not use %T 2017-09-08 21:10:01 +00:00
test-inline.o
test-multiple-macho.o
test-parameters.o
test-simple-macho.o
typeunit-header.elf-x86-64 [DWARF] Fix a parsing issue with type unit headers. 2017-05-09 19:38:38 +00:00
typeunit-header.s [DWARF] Fix a parsing issue with type unit headers. 2017-05-09 19:38:38 +00:00