[all-commits] [llvm/llvm-project] c3acbf: [test] Make two sanitize-coverage tests pass with ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Mar 6 13:17:55 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c3acbf6bb06f9039f9850e18e0ae2f2adef63905
https://github.com/llvm/llvm-project/commit/c3acbf6bb06f9039f9850e18e0ae2f2adef63905
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-06 (Wed, 06 Mar 2024)
Changed paths:
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter_default_impl.cpp
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cpp
Log Message:
-----------
[test] Make two sanitize-coverage tests pass with glibc 2.39+
glibc 2.39 added `nonnull` attribute to most libio functions accepting a
`FILE*` parameter, including fprintf[1]. The -fsanitize=undefined mode
checks the argument to fprintf and has extra counters, not expected by
two tests. Specify -fno-sanitize=nonnull-attribute to make the two tests
pass.
Fix #82883
[1]: https://sourceware.org/git/?p=glibc.git;a=commit;h=64b1a44183a3094672ed304532bedb9acc707554
Pull Request: https://github.com/llvm/llvm-project/pull/84231
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