llvm-test-suite
llvm-test-suite copied to clipboard
[cmake][Darwin] Add `TEST_SUITE_EXTERNALIZE_DEBUGINFO` for dSYM generation.
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.