This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Add LLVM_EXTERNALIZE_DEBUGINFO_OUTPUT_DIR for custom dSYM target directory on Darwin
ClosedPublic

Authored by sgraenitz on Nov 30 2018, 3:33 AM.

Details

Summary

When using LLVM_EXTERNALIZE_DEBUGINFO in LLDB, the default dSYM location for the shared library in LLDB.framework is inside the framework bundle. With LLVM_EXTERNALIZE_DEBUGINFO_OUTPUT_DIR we can easily fix that. I consider it a useful feature to be able to set a global output directory for external debug info (rather then having a target-specific one). Only implemented for Darwin so far.

Diff Detail

Repository
rL LLVM

Event Timeline

sgraenitz created this revision.Nov 30 2018, 3:33 AM
aprantl accepted this revision.Nov 30 2018, 10:09 AM

Looks reasonable, thanks!

This revision is now accepted and ready to land.Nov 30 2018, 10:09 AM
This revision was automatically updated to reflect the committed changes.