llvm-mirror/test
Vedant Kumar 025d4791c0 [DWARF] Emit DW_AT_call_return_pc as an address
This reverts D53469, which changed llvm's DWARF emission to emit
DW_AT_call_return_pc as a function-local offset. Such an encoding is not
compatible with post-link block re-ordering tools and isn't standards-
compliant.

In addition to reverting back to the original DW_AT_call_return_pc
encoding, teach lldb how to fix up DW_AT_call_return_pc when the address
comes from an object file pointed-to by a debug map. While doing this I
noticed that lldb's support for tail calls that cross a DSO/object file
boundary wasn't covered, so I added tests for that. This latter case
exercises the newly added return PC fixup.

The dsymutil changes in this patch were originally included in D49887:
the associated test should be sufficient to test DW_AT_call_return_pc
encoding purely on the llvm side.

Differential Revision: https://reviews.llvm.org/D72489
2020-01-15 13:02:23 -08:00
..
Analysis [SCEV] accurate range for addrecexpr with nuw flag 2020-01-12 20:22:37 -05:00
Assembler [ThinLTO] Always import constants 2020-01-15 19:29:01 +03:00
Bindings
Bitcode [ThinLTO] Always import constants 2020-01-15 19:29:01 +03:00
BugPoint Migrate function attribute "no-frame-pointer-elim-non-leaf" to "frame-pointer"="non-leaf" as cleanups after D56351 2019-12-24 16:05:15 -08:00
CodeGen [Mips] Add FileCheck to a test that just tested for a crash. 2020-01-15 10:29:56 -08:00
DebugInfo [DWARF] Emit DW_AT_call_return_pc as an address 2020-01-15 13:02:23 -08:00
Demangle
Examples Re-apply "[Examples] Add IRTransformations directory to examples." 2020-01-04 15:47:23 +00:00
ExecutionEngine [ORC] Fix argv handling in runAsMain / lli. 2020-01-11 13:03:38 -08:00
Feature Mark the test/Feature/load_extension.ll test as unsupported on Darwin. 2020-01-10 20:18:36 -08:00
FileCheck
Instrumentation Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
Integer
JitListener Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
Linker Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
LTO [NFC] Fix trivial typos in comments 2020-01-06 10:50:26 +00:00
MachineVerifier Recommit "[MachineVerifier] Improve verification of live-in lists." 2020-01-08 16:58:54 -08:00
MC AMDGPU: Partially directly select llvm.amdgcn.interp.p1.f16 2020-01-15 08:58:58 -05:00
Object
ObjectYAML
Other Fix bot by adjusting wildcard matching 2020-01-15 08:37:15 -08:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen] Introduce an if/then/else statement. 2020-01-14 10:19:53 +00:00
ThinLTO/X86 [ThinLTO] Always import constants 2020-01-15 19:29:01 +03:00
tools [DWARF] Emit DW_AT_call_return_pc as an address 2020-01-15 13:02:23 -08:00
Transforms [Loop Peeling] Add possibility to enable peeling on loop nests. 2020-01-15 08:25:21 -08:00
Unit
Verifier [AArch64] Add function attribute "patchable-function-entry" to add NOPs at function entry 2020-01-10 09:55:51 -08:00
YAMLParser
.clang-format
CMakeLists.txt Use llvm_canonicalize_cmake_booleans where intended 2020-01-03 15:42:35 +01:00
lit.cfg.py Fix several issues with compiler extensions 2020-01-10 10:10:20 +01:00
lit.site.cfg.py.in Use llvm_canonicalize_cmake_booleans where intended 2020-01-03 15:42:35 +01:00
TestRunner.sh