diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2025-08-15 13:43:16 -0700 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2025-08-15 14:44:27 -0700 |
commit | 6beb6f34bc8e9ae34e6a4dcc36e24b765e7f2b47 (patch) | |
tree | 8532fe8f773300e1eabe7945473e1db0a1cce209 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 19cfc30b33df5bf121bac96d4c1aac6028df0670 (diff) | |
download | llvm-6beb6f34bc8e9ae34e6a4dcc36e24b765e7f2b47.zip llvm-6beb6f34bc8e9ae34e6a4dcc36e24b765e7f2b47.tar.gz llvm-6beb6f34bc8e9ae34e6a4dcc36e24b765e7f2b47.tar.bz2 |
dfsan: Fix test with gcc 15.
With gcc 15 we end up emitting a reference to the
std::__glibcxx_assert_fail function because of this change:
https://github.com/gcc-mirror/gcc/commit/361d230fd7800a7e749aba8ed020f54f5c26d504
combined with assertion checks in the std::atomic implementation.
This reference is undefined with dfsan causing the test to fail. Fix it
by defining the macro that disables assertions.
Pull Request: https://github.com/llvm/llvm-project/pull/153873
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions