Extra flexibility for emitting debug info to external files (remains Darwin only for now).
LLDB needs this functionality to emit a LLDB.framework.dSYM instead of LLDB.dSYM when building the framework, because the latter could conflict with the driver's lldb.dSYM when emitted in the same directory on case-insensitive file systems.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 30726 Build 30725: arc lint + arc unit
Event Timeline
Comment Actions
Actually, thinking more about this, how do you use it? LLVM_EXTERNALIZE_DEBUGINFO_EXTENSION is a global but this would be different per target.
Comment Actions
It can be set in the scope of the add_lldb_library call as in the matching LLDB patch https://reviews.llvm.org/D60863
Comment Actions
Interesting. Cmake scoping rules are still a mystery to me. So when you `set(FOO ...), it's set only for the current scope and in any functions/macros you call in that scope? Then this seems like an ok solution.
Comment Actions
Yes, scopes are per directory; macros operate on the caller's scope and functions add one.