[PATCH] D97337: [Orc] Test JITLink debug support plugin for ELF x86-64 with lli
Stefan Gränitz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 23 14:34:13 PST 2021
sgraenitz created this revision.
sgraenitz added reviewers: lhames, dblaikie.
sgraenitz requested review of this revision.
Herald added a project: LLVM.
This patch adds a test for the core debug support functionality in D97335 <https://reviews.llvm.org/D97335>. It runs a program in lli that reads
its own `__jit_debug_descriptor` and dumps information about it. The test then checks that the output matches the expected
descriptor info.
For now it only tests Orc with JITLink in-process, but once debug support in lli got out of the teething phase this should be applicable for JITLink out-of-process and RuntimeDyld (and even MCJIT). I also expect the approach to be well suited for covering more complex scenarios (multiple translation units, lazy JITing, etc.) in the future.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97337
Files:
llvm/test/ExecutionEngine/OrcLazy/dump-jit-debug-descriptor.c
llvm/test/ExecutionEngine/OrcLazy/dump-jit-debug-descriptor.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97337.325898.patch
Type: text/x-patch
Size: 17762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210223/e9f7ece2/attachment.bin>
More information about the llvm-commits
mailing list