[examples] Call setProcessAllSections to ensure debug sections aren't droppped.
authorLang Hames <lhames@gmail.com>
Thu, 30 Apr 2020 23:08:25 +0000 (16:08 -0700)
committerLang Hames <lhames@gmail.com>
Fri, 1 May 2020 18:06:41 +0000 (11:06 -0700)
commit30b28766d62dc2800e2e203017b2f9625eb9df0b
tree8528332b3ca8b72ab3b753da64eb15631b844b89
parentb420a0995961abdde414afc231810ca7eaf3b54d
[examples] Call setProcessAllSections to ensure debug sections aren't droppped.

Calling setProcessAllSections(true) is required to make sure that all sections,
even those not marked as necessary for execution, are passed to the memory
manager.
llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/LLJITWithGDBRegistrationListener.cpp