[CMake] Emit LLDB.framework.dSYM to avoid potential name collision with driver's lldb.dSYM

Summary:
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

Reviewers: friss, beanz, bogner

Subscribers: mgorny, lldb-commits, #lldb

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D60863

llvm-svn: 358686
This commit is contained in:
Stefan Granitz 2019-04-18 16:37:22 +00:00
parent ab58268fda
commit 31d0ce005c
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ if(NOT LLDB_DISABLE_PYTHON)
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