object-introspection icon indicating copy to clipboard operation
object-introspection copied to clipboard

Output image info for LLDB debugging

Open ttreyer opened this issue 1 year ago • 1 comments

Summary

When the GenJitDebug feature is enabled, output the relocation information of the JIT code to enable debugging with LLDB.

Test plan

$ lldb -- $OI/build/test/integration/integration_test_target oil folly_small_vector_int_default_overflow $OI/build/testing.oid.toml
(lldb) b oi::detail::OICompiler::applyRelocs
(lldb) e config.features[Feature::GenJitDebug] = true
(lldb) finish
...

ttreyer avatar Sep 18 '23 18:09 ttreyer