[CMake] Allow custom extensions for externalized debug info
authorStefan Granitz <stefan.graenitz@gmail.com>
Thu, 18 Apr 2019 16:37:07 +0000 (16:37 +0000)
committerStefan Granitz <stefan.graenitz@gmail.com>
Thu, 18 Apr 2019 16:37:07 +0000 (16:37 +0000)
commitab58268fdaf59431f5f3cb0cfa451d7a6fa6e1ef
treebfea06a28bffbce45129c75fc82e49e012f8a6ca
parent92a7177e6b7f528d6c27ec6a5d2cd75077e8e864
[CMake] Allow custom extensions for externalized debug info

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

Reviewers: friss, bogner, beanz

Subscribers: mgorny, aprantl, llvm-commits, #lldb

Tags: #llvm

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

llvm-svn: 358685
llvm/cmake/modules/AddLLVM.cmake