[JITLink][ELF] Don't skip debug info sections by default.
authorLang Hames <lhames@gmail.com>
Sun, 19 Mar 2023 05:34:07 +0000 (22:34 -0700)
committerLang Hames <lhames@gmail.com>
Sun, 19 Mar 2023 05:34:07 +0000 (22:34 -0700)
commit57aeb305460406f7b822cfe6ab9fb4d730fc3b38
tree751438c39cee1b2f5f3c61126ed04be0871ee485
parentede78c1704ede36319f33fdbefb4a4fb8528c1aa
[JITLink][ELF] Don't skip debug info sections by default.

By default ELFLinkGraphBuilder will now create LinkGraph sections with NoAlloc
lifetime for debug info sections in the original object. Debug sections are not
kept alive by default, and will be dead-stripped unless some plugin marks them
as live in the pre-prune phase.
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]