[PATCH] D150505: [cmake] Disable GCC lifetime DSE
Xi Ruoyao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 05:30:00 PDT 2023
xry111 added a comment.
In D150505#4341917 <https://reviews.llvm.org/D150505#4341917>, @jhuber6 wrote:
> This patch seems to cause errors with `clang-tidy` when run inside the build directory. The `-fno-lifetime-dse` argument is put inside `compile_commands.json` which then causes errors when `clang-tidy` is run. For example,
>
> > clang-tidy test.h --checks=-'*,llvmlibc*'
> 4 warnings and 1 error generated.
> Error while processing /home/jhuber/Documents/llvm/llvm-project/build/test.h.
> error: unknown argument: '-fno-lifetime-dse' [clang-diagnostic-error]
> Suppressed 4 warnings (4 with check filters).
> Found compiler error(s).
It's already fixed by rG626849c71e85d546a004cc91866beab610222194 <https://reviews.llvm.org/rG626849c71e85d546a004cc91866beab610222194>. See above.
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