[PATCH] D97339: [lli] Add JITLink in-process debugging support

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 15:05:15 PST 2021


sgraenitz added a comment.

The major issue I faced with this patch is the clash of the GDB JIT interface symbols `__jit_debug_register_code` and `__jit_debug_descriptor`. These are defined in both libraries, ExecutionEngine and OrcTargetProcess, and I didn't find a "nice" way to deduplicate them. My current approach turns the definitions in ExecutionEngine into externals and adds OrcTargetProcess as link component to ExecutionEngine. Maybe there is another way to fix this?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97339/new/

https://reviews.llvm.org/D97339



More information about the llvm-commits mailing list