]> granicus.if.org Git - clang/commit
Add CLANG_DEFAULT_OBJCOPY to allow Clang to use llvm-objcopy for dwarf fission
authorJake Ehrlich <jakehehrlich@google.com>
Sat, 11 Nov 2017 01:15:41 +0000 (01:15 +0000)
committerJake Ehrlich <jakehehrlich@google.com>
Sat, 11 Nov 2017 01:15:41 +0000 (01:15 +0000)
commitadd8b3b827f8af4dfb9e468f3592fd4cb87d7056
treee4f8766d02871e370a46cc3f05011c1e20af5610
parent13f8bd97f6de65d2c298bb8f056f208b2dfe4754
Add CLANG_DEFAULT_OBJCOPY to allow Clang to use llvm-objcopy for dwarf fission

llvm-objcopy is getting to where it can be used in non-trivial ways
(such as for dwarf fission in clang). It now supports dwarf fission but
this feature hasn't been thoroughly tested yet. This change allows
people to optionally build clang to use llvm-objcopy rather than GNU
objcopy. By default GNU objcopy is still used so nothing should change.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317960 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
include/clang/Config/config.h.cmake
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/ItaniumCXXABI.cpp
lib/Driver/ToolChains/CommonArgs.cpp