[Lldb-commits] [PATCH] D60863: [CMake] Emit LLDB.framework.dSYM to avoid potential name collision with driver's lldb.dSYM
Stefan Gränitz via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 18 04:28:09 PDT 2019
sgraenitz created this revision.
sgraenitz added reviewers: friss, beanz, bogner.
Herald added a subscriber: mgorny.
Herald added a project: LLDB.
Emit framework's dSYM bundle as LLDB.framework.dSYM instead of LLDB.dSYM, because the latter could conflict with the driver's lldb.dSYM when emitted in the same directory on case-insensitive file systems.
Requires https://reviews.llvm.org/D60862
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D60863
Files:
lldb/source/API/CMakeLists.txt
Index: lldb/source/API/CMakeLists.txt
===================================================================
--- lldb/source/API/CMakeLists.txt
+++ lldb/source/API/CMakeLists.txt
@@ -9,6 +9,10 @@
set(lldb_python_wrapper ${lldb_scripts_dir}/LLDBWrapPython.cpp)
endif()
+if(LLDB_BUILD_FRAMEWORK AND LLVM_EXTERNALIZE_DEBUGINFO)
+ set(LLVM_EXTERNALIZE_DEBUGINFO_EXTENSION framework.dSYM)
+endif()
+
add_lldb_library(liblldb SHARED
SBAddress.cpp
SBAttachInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60863.195713.patch
Type: text/x-patch
Size: 469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190418/6442bfc6/attachment.bin>
More information about the lldb-commits
mailing list