llvm-capstone/lld/test
Jez Ng 863f7a745e [lld-macho] Don't attempt to emit rebase opcodes for debug sections
This was causing a crash as we were attempting to look up the
nonexistent parent OutputSection of the debug sections. We didn't detect
it earlier because there was no test for PIEs with debug info (PIEs
require us to emit rebases for X86_64_RELOC_UNSIGNED).

This diff filters out the debug sections while loading the ObjFiles. In
addition to fixing the above problem, it also lets us avoid doing
redundant work -- we no longer parse / apply relocations / attempt to
emit dyld opcodes for these sections that we don't emit.

Fixes llvm.org/PR48392.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D92904
2020-12-10 15:57:51 -08:00
..
COFF Recommit "[llvm-symbolizer] Switch to using native symbolizer by default on Windows" 2020-11-30 17:36:12 -08:00
darwin
ELF [ELF] Rename --[no-]lto-new-pass-manager to --[no-]lto-legacy-pass-manager 2020-12-09 17:53:37 -08:00
mach-o Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
MachO [lld-macho] Don't attempt to emit rebase opcodes for debug sections 2020-12-10 15:57:51 -08:00
MinGW Reapply [LLD] [COFF] Implement a GNU/ELF like -wrap option 2020-10-15 22:14:02 +03:00
Unit Revert "Temporarily revert "build: use find_package(Python3) if available"" 2020-04-29 01:38:08 +00:00
wasm [lld][WebAssembly] Delay creation of internal __wasm_memory_init function 2020-12-10 10:47:18 -08:00
CMakeLists.txt lld: Make tests depend on llvm-symbolizer after bc98034040 2020-11-18 11:43:44 -05:00
lit.cfg.py [lld][WebAssembly] Add suppport for PIC + passive data initialization 2020-12-04 17:28:23 -08:00
lit.site.cfg.py.in [LLD] Ignore ELF tests when ld.lld defaults to MinGW 2020-10-08 09:34:46 +03:00