1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test
Xing GUO 27bd788cf1 [DWARFYAML][debug_aranges] Replace InitialLength with Format and Length.
This patch addresses the comment in [D80972](https://reviews.llvm.org/D80972#inline-744217).

Before this patch, the initial length field of .debug_aranges section should be declared as:

```
## 32-bit DWARF
debug_aranges:
  - Length:
      TotalLength: 0x20
    Version: 2
    ...

## 64-bit DWARF
debug_aranges:
  - Length:
      TotalLength:   0xffffffff
      TotalLength64: 0x20
    Version: 2
    ...
```

After this patch:

```
## 32-bit DWARF
debug_aranges:
  - [[Format:  DWARF32]] ## Optional
    Length:  0x20
    Version: 2
    ...

## 64-bit DWARF
debug_aranges:
  - Format:  DWARF64
    Length:  0x20
    Version: 2
```

Current implementation of generating DWARF64 .debug_aranges section is buggy. A follow-up patch will improve it and add test cases for DWARF64.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D81063
2020-06-05 12:16:44 +08:00
..
Analysis Extend InvokeInst !prof branch_weights metadata to unwind branches 2020-06-04 15:37:15 +07:00
Assembler
Bindings
Bitcode Introduce a "gc-live" bundle for the gc arguments of a statepoint 2020-06-03 15:00:24 -07:00
BugPoint
CodeGen [Statepoint] Migrate a few tests to gc-live bundle format and fix assert 2020-06-04 18:15:58 -07:00
DebugInfo [CSInfo][MIPS] Describe parameter value loaded by ADDiu 2020-06-04 12:39:56 +02:00
Demangle
Examples
ExecutionEngine [JITLink] Skip debug sections in MachO objects. 2020-06-03 11:08:14 -07:00
Feature
FileCheck
Instrumentation [AddressSanitizer] Don't use weak linkage for __{start,stop}_asan_globals 2020-06-04 20:18:35 -07:00
Integer
JitListener
Linker
LTO
MachineVerifier
MC [VE] Support a basic disassembler for Aurora VE target 2020-06-03 13:48:42 +02:00
Object
ObjectYAML [DWARFYAML][debug_aranges] Replace InitialLength with Format and Length. 2020-06-05 12:16:44 +08:00
Other
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen
ThinLTO/X86
tools [DWARFYAML][debug_aranges] Replace InitialLength with Format and Length. 2020-06-05 12:16:44 +08:00
Transforms [Statepoint] Switch RS4GC to using gc-live bundle form 2020-06-04 15:49:11 -07:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh