diff options
author | Fangrui Song <i@maskray.me> | 2023-08-30 20:30:13 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-08-30 20:30:13 -0700 |
commit | c7dce0283b5b502dacd47eb1488342a31f4ed35a (patch) | |
tree | c58d6ee7224597ebea6f86006eb932ae48848ccd /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | bb47721fb7439b646405105c1a78eafa1e6e660c (diff) | |
download | llvm-c7dce0283b5b502dacd47eb1488342a31f4ed35a.zip llvm-c7dce0283b5b502dacd47eb1488342a31f4ed35a.tar.gz llvm-c7dce0283b5b502dacd47eb1488342a31f4ed35a.tar.bz2 |
[Driver] Adjust -fsanitize=function & -mexecute-only interop after D158614
clangDriver depends on clangBasic, so clangBasic should not depend on
clangDriver, even just its header. Also remove clangBasic's dependency
on LLVMOption.
The issue can be seen through the bazel commit
d26dd681f9726ed7d43d7c0bdd8ee3cb2db69a2b which is reverted now.
Add hasFlagNoClaim and use it as we don't want to suppress
-Wunused-command-line-argument for -mexecute-only just because
-fsanitize= is specified.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions