1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test
Shiva Chen 4aeae7501a [DebugInfo] Generate DWARF debug information for labels.
There are two forms for label debug information in DWARF format.

1. Labels in a non-inlined function:

DW_TAG_label
  DW_AT_name
  DW_AT_decl_file
  DW_AT_decl_line
  DW_AT_low_pc

2. Labels in an inlined function:

DW_TAG_label
  DW_AT_abstract_origin
  DW_AT_low_pc

We will collect label information from DBG_LABEL. Before every DBG_LABEL,
we will generate a temporary symbol to denote the location of the label.
The symbol could be used to get DW_AT_low_pc afterwards. So, we create a
mapping between 'inlined label' and DBG_LABEL MachineInstr in DebugHandlerBase.
The DBG_LABEL in the mapping is used to query the symbol before it.

The AbstractLabels in DwarfCompileUnit is used to process labels in inlined
functions.

We also keep a mapping between scope and labels in DwarfFile to help to
generate correct tree structure of DIEs.

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

Patch by Hsiangkai Wang.

llvm-svn: 337799
2018-07-24 02:22:55 +00:00
..
Analysis [SCEV] Fix buggy behavior in getAddExpr with truncs 2018-07-19 01:46:21 +00:00
Assembler [ThinLTO] Only emit referenced type id records in index files 2018-07-19 22:25:56 +00:00
Bindings
Bitcode
BugPoint
CodeGen AMDGPU/GlobalISel: Legalize G_INSERT 2018-07-24 02:19:20 +00:00
DebugInfo [DebugInfo] Generate DWARF debug information for labels. 2018-07-24 02:22:55 +00:00
Demangle Fix a few warnings and style issues in MS demangler. 2018-07-20 18:07:33 +00:00
Examples
ExecutionEngine Re-land r335297 "[X86] Implement more of x86-64 large and medium PIC code models" 2018-07-23 21:14:35 +00:00
Feature
FileCheck [FileCheck] Provide an option for FileCheck to dump original input to stderr on failure 2018-07-20 20:21:57 +00:00
Instrumentation [MSan] run materializeChecks() before materializeStores() 2018-07-20 16:28:49 +00:00
Integer
JitListener
Linker
LTO [LTO] Handle __imp_ (dllimport) symbols consistently with lld 2018-07-23 22:33:57 +00:00
MC [AArch64][SVE] Asm: Support for bit/byte reverse operations. 2018-07-20 09:00:44 +00:00
Object
ObjectYAML
Other [ThinLTO] Enable ThinLTO WholeProgramDevirt and LowerTypeTests in new PM 2018-07-19 14:51:32 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen
ThinLTO/X86 [ThinLTO] Only emit referenced type id records in index files 2018-07-19 22:25:56 +00:00
tools [DWARF v5] Refactor range lists dumping by using a more generic way of handling tables of lists. 2018-07-23 22:37:17 +00:00
Transforms ConstantFolding: Avoid a crash. 2018-07-23 21:20:00 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Make check-llvm depend on llvm-undname 2018-07-20 18:42:19 +00:00
lit.cfg.py And add a lit substitution for llvm-undname, as the comment says to 2018-07-20 18:45:01 +00:00
lit.site.cfg.py.in
TestRunner.sh