diff options
| author | Stefan Granitz <stefan.graenitz@gmail.com> | 2019-04-18 16:37:22 +0000 |
|---|---|---|
| committer | Stefan Granitz <stefan.graenitz@gmail.com> | 2019-04-18 16:37:22 +0000 |
| commit | 31d0ce005c80929003c8764da3fcafdd029c9ed8 (patch) | |
| tree | c68600cd7538f3353d48dc66a50e02b714f180cf | |
| parent | ab58268fdaf59431f5f3cb0cfa451d7a6fa6e1ef (diff) | |
| download | bcm5719-llvm-31d0ce005c80929003c8764da3fcafdd029c9ed8.tar.gz bcm5719-llvm-31d0ce005c80929003c8764da3fcafdd029c9ed8.zip | |
[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
| -rw-r--r-- | lldb/source/API/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt index 94c9e338f27..bb17f76d7fa 100644 --- a/lldb/source/API/CMakeLists.txt +++ b/lldb/source/API/CMakeLists.txt @@ -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 |

