[all-commits] [llvm/llvm-project] 57262b: [clang-tidy][test] Add trailing -- to suppress com...
Xi Ruoyao via All-commits
all-commits at lists.llvm.org
Tue May 16 19:53:32 PDT 2023
Branch: refs/heads/release/16.x
Home: https://github.com/llvm/llvm-project
Commit: 57262bbd32c35eb05bac34e39a751abc0466b9da
https://github.com/llvm/llvm-project/commit/57262bbd32c35eb05bac34e39a751abc0466b9da
Author: Fangrui Song <i at maskray.me>
Date: 2023-05-16 (Tue, 16 May 2023)
Changed paths:
M clang-tools-extra/test/clang-tidy/checkers/performance/trivially-destructible.cpp
Log Message:
-----------
[clang-tidy][test] Add trailing -- to suppress compile_commands.json read
This fixes some build bots if we reland D150505: specifically when using GCC to
build LLVM and then `-fno-lifetime-dse` ends up passed to compile_commands.json
and causing clang-tidy to pick up the Clang unknown option.
(cherry picked from commit 626849c71e85d546a004cc91866beab610222194)
Commit: d5cce0a7781bfbb9322a2e9625c7f88253801148
https://github.com/llvm/llvm-project/commit/d5cce0a7781bfbb9322a2e9625c7f88253801148
Author: Xi Ruoyao <xry111 at xry111.site>
Date: 2023-05-16 (Tue, 16 May 2023)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[cmake] Disable GCC lifetime DSE
LLVM data structures like llvm::User and llvm::MDNode rely on
the value of object storage persisting beyond the lifetime of the
object (#24952). This is not standard compliant and causes a runtime
crash if LLVM is built with GCC and LTO enabled (#57740). Until
these issues are fixed, we need to disable dead store eliminations
eliminations based on object lifetime.
The previous test issues are fixed by 626849c71e85d546a004cc91866beab610222194.
Bug: https://github.com/llvm/llvm-project/issues/24952
Bug: https://github.com/llvm/llvm-project/issues/57740
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106943
Reviewed By: MaskRay, thesamesam, nikic
Differential Revision: https://reviews.llvm.org/D150505
(cherry picked from commit 47f5c54f997a59bb2c65abe6b8b811f6e7553456)
Compare: https://github.com/llvm/llvm-project/compare/df309b120853...d5cce0a7781b
More information about the All-commits
mailing list