Re-apply "[JITLink][ELF] Don't skip debug info sections by default."
authorLang Hames <lhames@gmail.com>
Mon, 20 Mar 2023 18:53:31 +0000 (18:53 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 20 Mar 2023 22:24:04 +0000 (22:24 +0000)
commitf05ac803ffe76c7f4299a4e1288cc6bb8b098410
treea9db8f9bf73d48669026ce4cef57bd1700be0d25
parent1328bb6ef1645951606ee3e8fa6acbbff6b2438f
Re-apply "[JITLink][ELF] Don't skip debug info sections by default."

This reapplies 57aeb305460406f7b822cfe6ab9fb4d730fc3b38, which was reverted in
f721fcb6ed0a186b8f146282467dd8420a5a36d0 due to buildbot failures.

The cause of the failure was missing support for R_AARCH64_ABS32, which was
added in fb1b9945be7657a3a25b727eaf0eeb3f74525210.
llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
llvm/test/ExecutionEngine/JITLink/X86/ELF_debug_section_lifetime_is_NoAlloc.yaml [new file with mode: 0644]
llvm/test/ExecutionEngine/JITLink/X86/ELF_skip_debug_sections.s [deleted file]