[PATCH] D84559: [compiler-rt][cmake] Don't pass --version-script to Illumos ld
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 28 00:14:12 PDT 2020
vitalybuka added inline comments.
================
Comment at: compiler-rt/lib/asan/CMakeLists.txt:227
foreach(arch ${ASAN_SUPPORTED_ARCH})
- if (UNIX)
+ if (UNIX AND COMPILER_RT_HAS_VERSION_SCRIPT)
add_sanitizer_rt_version_list(clang_rt.asan-dynamic-${arch}
----------------
Not sure who is going to test this.
I'd suggested to try and see that is broken
================
Comment at: compiler-rt/lib/ubsan/CMakeLists.txt:203
- if (FUCHSIA OR UNIX)
+ if ((FUCHSIA OR UNIX) AND COMPILER_RT_HAS_VERSION_SCRIPT)
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp "")
----------------
same
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84559/new/
https://reviews.llvm.org/D84559
More information about the llvm-commits
mailing list