llvm-project/llvm/test
David Blaikie c4e08feb00 Recommit r348806: DebugInfo: Use symbol difference for CU length to simplify assembly reading/editing
Mucking about simplifying a test case ( https://reviews.llvm.org/D55261 ) I stumbled across something I've hit before - that LLVM's (GCC's does too, FWIW) assembly output includes a hardcode length for a DWARF unit in its header. Instead we could emit a label difference - making the assembly easier to read/edit (though potentially at a slight (I haven't tried to observe it) performance cost of delaying/sinking the length computation into the MC layer).

Fix: Predicated all the changes (including creating the labels, even if they aren't used/needed) behind the NVPTX useSectionsAsReferences, avoiding emitting labels in NVPTX where ptxas can't parse them.

Reviewers: JDevlieghere, probinson, ABataev

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

llvm-svn: 349430
2018-12-18 01:06:09 +00:00
..
Analysis [CostModel][X86] Don't count 2 shuffles on the last level of a pairwise arithmetic or min/max reduction 2018-12-13 19:08:10 +00:00
Assembler [IR] Don't assume all functions are 4 byte aligned 2018-12-07 08:34:59 +00:00
Bindings [DebugInfo] IR/Bitcode changes for DISubprogram flags. 2018-11-28 21:14:32 +00:00
Bitcode [ThinLTO] Compute synthetic function entry count 2018-12-13 19:54:27 +00:00
BugPoint [bugpoint] Find 'opt', etc., in bugpoint directory 2018-12-10 00:56:13 +00:00
CodeGen [X86] Add baseline tests for D55780 2018-12-17 23:20:14 +00:00
DebugInfo Recommit r348806: DebugInfo: Use symbol difference for CU length to simplify assembly reading/editing 2018-12-18 01:06:09 +00:00
Demangle [MS Demangler] Fail gracefully on invalid pointer types. 2018-12-14 18:10:13 +00:00
Examples
ExecutionEngine Implement IMAGE_REL_AMD64_SECREL for RuntimeDyldCOFFX86_64 2018-12-12 00:04:06 +00:00
Feature Mark @llvm.trap cold 2018-11-14 19:53:41 +00:00
FileCheck [FileCheck] Annotate input dump (final tweaks) 2018-12-18 00:03:51 +00:00
Instrumentation hwasan: Move ctor into a comdat. 2018-12-17 22:56:34 +00:00
Integer
JitListener
LTO LTO: Don't internalize available_externally globals. 2018-12-05 00:09:36 +00:00
Linker Implement -frecord-command-line (-frecord-gcc-switches) 2018-12-14 15:38:15 +00:00
MC [WebAssembly] Fix assembler parsing of br_table. 2018-12-17 22:04:44 +00:00
Object [WebAssembly] Check if the section order is correct 2018-12-15 00:58:12 +00:00
ObjectYAML [WebAssembly] Check if the section order is correct 2018-12-15 00:58:12 +00:00
Other [Unroll/UnrollAndJam/Vectorizer/Distribute] Add followup loop attributes. 2018-12-12 17:32:52 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [TableGen] Preserve order of output operands in DAGISelMatcherGen 2018-12-05 00:47:59 +00:00
ThinLTO/X86 [ThinLTO] Fix test added in rL349076 2018-12-14 08:21:08 +00:00
Transforms [AggressiveInstCombine] convert rotate with guard branch into funnel shift (PR34924) 2018-12-17 21:14:51 +00:00
Unit
Verifier Implement -frecord-command-line (-frecord-gcc-switches) 2018-12-14 15:38:15 +00:00
YAMLParser
tools DebugInfo: Update gold plugin tests due to CU attribute reordering in r349207 2018-12-17 21:10:28 +00:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg.py [lit]Add llvm-readelf to tool substitutions 2018-12-12 10:34:01 +00:00
lit.site.cfg.py.in