[ORC] Skip non-SHF_ALLOC sections in DebugObjectManagerPlugin.
authorLang Hames <lhames@gmail.com>
Wed, 26 Oct 2022 01:37:24 +0000 (18:37 -0700)
committerLang Hames <lhames@gmail.com>
Wed, 26 Oct 2022 01:40:38 +0000 (18:40 -0700)
commitb26f45e5a49ae363164e7dbbf57eadd9e78d612c
tree6c29cf49e357a9ea9300054cbdf380c533b30240
parentd0a6de59c78010118fea811514e03ed9f400215a
[ORC] Skip non-SHF_ALLOC sections in DebugObjectManagerPlugin.

We don't need to provide a load-address for non-alloc sections. Skipping them
allows us to avoid some complications, like handling duplicate .group sections.
llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp