llvm-test-suite icon indicating copy to clipboard operation
llvm-test-suite copied to clipboard

[cmake][Darwin] Add `TEST_SUITE_EXTERNALIZE_DEBUGINFO` for dSYM generation.

Open mustartt opened this issue 7 months ago • 0 comments

Add a TEST_SUITE_EXTERNALIZE_DEBUGINFO CMake option that runs dsymutil as a post build step on Darwin to generate .dSYM bundles for each target on Darwin. When -flto flags are detected, this passes -Wl,-object_path_lto so dsymutil still has access to the original objects through OSO table.

mustartt avatar Apr 14 '26 17:04 mustartt