aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2020-03-30 12:00:28 -0400
committerLouis Dionne <ldionne@apple.com>2020-03-30 12:40:48 -0400
commit32c9efb423035ef7c5db6cb6e7b68ac935a8d15b (patch)
tree403db49d186de381dde7df14ca9be4b594a13975 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent2d19270efcf01672c8eaab1ccb0e5b89ea953cc9 (diff)
downloadllvm-32c9efb423035ef7c5db6cb6e7b68ac935a8d15b.zip
llvm-32c9efb423035ef7c5db6cb6e7b68ac935a8d15b.tar.gz
llvm-32c9efb423035ef7c5db6cb6e7b68ac935a8d15b.tar.bz2
[libc++] Add support for a new keyword ADDITIONAL_COMPILE_FLAGS
This allows adding compilation flags for a single test, which can help eliminate some .sh.cpp tests and some custom handling in the libc++ test format. It also works around the issue that .sh.cpp substitutions are _not_ equivalent to the actual compiler command lines used to compile tests, since the compiler flags can be modified in local lit configurations, and substitutions are frozen at that point. For example using %{compile} in a .sh.cpp test in the coroutines subdirectory will not include the -fcoroutines-ts flag, which is added in the local lit config, because the %{compile} substitution is created long before we add -fcoroutines-ts to the compiler flags (in the lit.local.cfg for coroutines).
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions