[all-commits] [llvm/llvm-project] 6ac631: [LLVM] Only enable `-fno-lifetime-dse` in LTO mode...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Mar 14 13:22:00 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6ac63129b7ef3413c9f86b81e9d33a619f94f911
https://github.com/llvm/llvm-project/commit/6ac63129b7ef3413c9f86b81e9d33a619f94f911
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-03-14 (Fri, 14 Mar 2025)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list