diff options
author | Joseph Huber <huberjn@outlook.com> | 2025-03-14 15:21:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-14 15:21:39 -0500 |
commit | 6ac63129b7ef3413c9f86b81e9d33a619f94f911 (patch) | |
tree | e3cd99ef9ea39172e691cbc58fdace22a0363c69 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 78f74f686bfe21262f8b171e21450186edd081ab (diff) | |
download | llvm-6ac63129b7ef3413c9f86b81e9d33a619f94f911.zip llvm-6ac63129b7ef3413c9f86b81e9d33a619f94f911.tar.gz llvm-6ac63129b7ef3413c9f86b81e9d33a619f94f911.tar.bz2 |
[LLVM] Only enable `-fno-lifetime-dse` in LTO mode (#131381)
Summary:
Always passing this option is problematic since it is not supported by
`clang.` this leads to conflicts when using extra CMake tools like
`compile-commands` or `include-what-you-use`. This mainly works around a
bug that showed up during the LTO build. Theoretically this can show up
without LTO, but it's likely to work.
This can be removed once
https://github.com/llvm/llvm-project/issues/24952 is resolved.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions