aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2020-07-31 11:18:01 -0400
committerLouis Dionne <ldionne@apple.com>2020-07-31 11:20:19 -0400
commitd275da17e4f0a17615b24c352aab0d34f647bfa7 (patch)
treefeafffd695df812b36381d33696192397f96eb9f /llvm/unittests/Support/CommandLineTest.cpp
parentcfb955ac370cb724c51423a05694aaf5b70903a4 (diff)
downloadllvm-d275da17e4f0a17615b24c352aab0d34f647bfa7.zip
llvm-d275da17e4f0a17615b24c352aab0d34f647bfa7.tar.gz
llvm-d275da17e4f0a17615b24c352aab0d34f647bfa7.tar.bz2
[libc++] Fix eager generator expression in DefineLinkerScript
As explained in https://gitlab.kitware.com/cmake/cmake/-/issues/21045, both branches of an $<IF> generator expression are evaluated eagerly by CMake. As a result, if the non-selected branch contains an invalid generator expression (such as getting the OUTPUT_NAME property of a non-existent target), a hard error will occur. This failed builds using the cxxrt ABI library, which doesn't create a CMake target currently.
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions