[CMake][Fuchsia] Use RelWithDebInfo to build runtimes
authorPetr Hosek <phosek@chromium.org>
Thu, 11 Jul 2019 23:49:39 +0000 (23:49 +0000)
committerPetr Hosek <phosek@chromium.org>
Thu, 11 Jul 2019 23:49:39 +0000 (23:49 +0000)
commit803b994e9a4d1077b3d2965b964682839bc5e5c7
treedda9864e8458b3dacc3eed70a63cf4738f42574d
parent2cb5c46e670c3abd121b1a35565544133e41f549
[CMake][Fuchsia] Use RelWithDebInfo to build runtimes

We want to preserve debug info in our runtimes to aid symbolization and
debugging; for shared libraries this will be stripped away during
install-stripped step and distributed via .build-id, for static archives
it's part of the archive and it's a responsibility of the consumer to
strip it away in the final binary if not needed.

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

llvm-svn: 365845
clang/cmake/caches/Fuchsia-stage2.cmake