[PATCH] D150505: [cmake] Disable GCC lifetime DSE
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 17 17:19:56 PDT 2023
MaskRay added a comment.
In D150505#4349380 <https://reviews.llvm.org/D150505#4349380>, @Dinistro wrote:
> It seems this change lets us no longer build LLVM with GCC and then run clang-tidy on it.
> In our specific case, we have a downstream project that relies on `HandleLLVMOptions`, and we run the built clang-tidy on our project.
>
> Is there a possible workaround apart from using Clang to compile?
Sorry, but I think your project is responsible for removing `-fno-lifetime-dse`. It's not Clang's responsibility to parse and ignore every option GCC supports.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150505/new/
https://reviews.llvm.org/D150505
More information about the llvm-commits
mailing list