diff options
author | Marco Elver <elver@google.com> | 2021-07-12 15:39:17 -0700 |
---|---|---|
committer | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2021-07-12 15:49:40 -0700 |
commit | 98033fdc50e61273b1d5c77ba5f0f75afe3965c1 (patch) | |
tree | e80ff2fd202dfdbb69c2fe525749b7f80d939df4 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 51fc742ce716a09359f4f87ffe3876cb7ff9479d (diff) | |
download | llvm-98033fdc50e61273b1d5c77ba5f0f75afe3965c1.zip llvm-98033fdc50e61273b1d5c77ba5f0f75afe3965c1.tar.gz llvm-98033fdc50e61273b1d5c77ba5f0f75afe3965c1.tar.bz2 |
sanitizer_common: Fix build for tests
It turns out that COMPILER_RT_TEST_COMPILER_CFLAGS is actually a string
that is being appended to and not a list.
Therefore, append the thread-safety flags to the string. Because CMake
separates list elements by ';' when turning into a string, also
substitute ';' with ' '.
Reviewed By: hctim
Differential Revision: https://reviews.llvm.org/D105829
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions