aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorBlue Gaston <blueg@Blues-MacBook-Pro.local>2022-07-25 20:47:15 -0700
committerBlue Gaston <blueg@Blues-MacBook-Pro.local>2022-07-26 11:25:49 -0700
commita89982c40de41581bdef1e2088d22fdb16fd8404 (patch)
tree7246cdc253316ae436cfb34baaaec36c4c3649de /clang/lib/CodeGen/CodeGenModule.cpp
parent4638d7a28f62d2869a7394b009439a72c04c5b72 (diff)
downloadllvm-a89982c40de41581bdef1e2088d22fdb16fd8404.zip
llvm-a89982c40de41581bdef1e2088d22fdb16fd8404.tar.gz
llvm-a89982c40de41581bdef1e2088d22fdb16fd8404.tar.bz2
[Sanitizers][Darwin] Allows '-mtargetos' to used to set minimum deployment target.
Currently, m{platform}-version-min is default flag used to set min deployment target within compilter-rt and sanitizers. However, clang uses flags -target and -mtargetos for setting target triple and minimum deployment targets. -mtargetos will be the preferred flag to set min version in the future and the ${platform}-version-min flag will not be used for future platforms. This change allows darwin platforms to use either ${platform}-min-version or -mtargetos without breaking lit test flags that allows for overriding the default min value in lit tests Tests using flags: 'darwin_min_target_with_tls_support', 'min_macos_deployment_target' will no longer fail if they use mtargetos instead of version-min. rdar://81028225 Differential Revision: https://reviews.llvm.org/D130542
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions