diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-05-10 15:58:22 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-05-10 15:58:22 +0000 |
commit | f963fa29b776852091b56b522aefcffd2ae7439c (patch) | |
tree | eba24f1ceac366db716cd0b278ee7b656b6bef2f /clang/cmake | |
parent | af88489333dc67b4ff3168f6f75dab78a90f43a4 (diff) |
Build the Apple-style stage2 with full debug info
Green dragon had a green stage2 modules bot for a long time now[1] and
it is time to retire it and make a modules build the default for
Apple-style stage2 builds.
This patch switches the debug info generation from -gline-tables-only
to -g since full debug info does no longer cause any memory issues
even for full LTO builds [2].
[1] http://green.lab.llvm.org/green/job/clang-stage2-cmake-modulesRDA_build/
[2] http://llvm.org/devmtg/2015-10/#talk19
rdar://problem/28672159
Diffstat (limited to 'clang/cmake')
-rw-r--r-- | clang/cmake/caches/Apple-stage2.cmake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/cmake/caches/Apple-stage2.cmake b/clang/cmake/caches/Apple-stage2.cmake index d97e74dba35..73e647d22df 100644 --- a/clang/cmake/caches/Apple-stage2.cmake +++ b/clang/cmake/caches/Apple-stage2.cmake @@ -29,8 +29,6 @@ set(LLVM_BUILD_TESTS ON CACHE BOOL "") set(LLVM_ENABLE_LTO ON CACHE BOOL "") set(CMAKE_C_FLAGS "-fno-stack-protector -fno-common -Wno-profile-instr-unprofiled" CACHE STRING "") set(CMAKE_CXX_FLAGS "-fno-stack-protector -fno-common -Wno-profile-instr-unprofiled" CACHE STRING "") -set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -gline-tables-only -DNDEBUG" CACHE STRING "") -set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -gline-tables-only -DNDEBUG" CACHE STRING "") set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "") set(LIBCXX_INSTALL_LIBRARY OFF CACHE BOOL "") |