llvm-project/llvm/test
Pavel Labath dca2b36ba0 Re-commit "DWARF location lists: Add section index dumping"
This reapplies c0f6ad7d1f with an
additional fix in test/DebugInfo/X86/constant-loclist.ll, which had a
slightly different output on windows targets. The test now accounts for
this difference.

The original commit message follows.

Summary:
As discussed in D70081, this adds the ability to dump section
names/indices to the location list dumper. It does this by moving the
range specific logic from DWARFDie.cpp:dumpRanges into the
DWARFAddressRange class.

The trickiest part of this patch is the backflip in the meanings of the
two dump flags for the location list sections.

The dumping of "raw" location list data is now controlled by
"DisplayRawContents" flag. This frees up the "Verbose" flag to be used
to control whether we print the section index. Additionally, the
DisplayRawContents flag is set for section-based dumps whenever the
--verbose option is passed, but this is not done for the "inline" dumps.

Also note that the index dumping currently does not work for the DWARF
v5 location lists, as the parser does not fill out the appropriate
fields. This will be done in a separate patch.

Reviewers: dblaikie, probinson, JDevlieghere, SouraVX

Subscribers: sdardis, hiraditya, jrtc27, atanasyan, arphaman, aprantl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70227
2019-11-18 15:30:10 +01:00
..
Analysis [ConstantFold] Handle identity folds at top of ConstantFoldBinaryInst 2019-11-17 21:30:14 +00:00
Assembler Add support for multi-module bitcode files to llvm-dis 2019-11-14 10:40:41 -08:00
Bindings [IR] Redefine Freeze instruction 2019-11-12 10:49:00 +09:00
Bitcode Add support for multi-module bitcode files to llvm-dis 2019-11-14 10:40:41 -08:00
BugPoint [bugpoint] Reduce metadata that does not contribute to crash. 2019-10-30 15:11:56 +00:00
CodeGen Re-commit "DWARF location lists: Add section index dumping" 2019-11-18 15:30:10 +01:00
DebugInfo Re-commit "DWARF location lists: Add section index dumping" 2019-11-18 15:30:10 +01:00
Demangle [Demangle] Add a few more options to the microsoft demangler 2019-10-15 08:29:56 +00:00
Examples [Examples] Add IRTransformations directory to examples. 2019-11-12 14:14:48 +00:00
ExecutionEngine [JITLink] Refactor EH-frame handling to support eh-frames with existing relocs. 2019-11-06 14:30:26 -08:00
Feature [ARM] Allocatable Global Register Variables for ARM 2019-11-18 10:07:37 +00:00
FileCheck [FileCheck] Implement --ignore-case option. 2019-10-11 11:59:14 +00:00
Instrumentation [hwasan] Remove lazy thread-initialisation 2019-11-04 10:58:46 +00:00
Integer
JitListener
LTO Reland: Dead Virtual Function Elimination 2019-10-17 09:58:57 +00:00
Linker [IRMover] Set Address Space for moved global values 2019-11-05 16:32:48 -08:00
MC [AMDGPU][MC][GFX10] Enabled v_movrel*[sdwa|dpp|dpp8] opcodes 2019-11-18 17:23:40 +03:00
MachineVerifier Revert "[MachineVerifier] Improve verification of live-in lists. 2019-11-07 14:02:13 -08:00
Object Fix a print error found while testing llvm-objcopy 2019-11-18 13:07:35 +00:00
ObjectYAML [ObjectYAML] - Redefine LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::yaml::Hex*) as LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR. 2019-10-30 18:12:48 +03:00
Other [llvm-bcanalyzer] Don't dump the contents if -dump is not passed 2019-11-13 10:38:57 -08:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen [GlobalISel] Match table opt: fix a bug in matching num of operands 2019-11-01 01:57:48 -07:00
ThinLTO/X86 ThinLTO : Import always_inline functions irrespective of the threshold 2019-11-08 17:02:01 -08:00
Transforms [ARM,MVE] Add InstCombine rules for pred_i2v / pred_v2i. 2019-11-18 10:39:30 +00:00
Unit
Verifier [DebugInfo] Add a DW_OP_LLVM_entry_value operation 2019-10-15 11:31:21 +00:00
YAMLParser
tools [llvm-objcopy][MachO] Implement --redefine-sym and --redefine-syms 2019-11-15 10:05:36 -08:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg.py
lit.site.cfg.py.in