[all-commits] [llvm/llvm-project] 1ef0e9: [compiler-rt] Suppress -Wunused-result due to ::wr...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Oct 12 09:58:08 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1ef0e94d5b0206f69e4e822c6828d0b5121c11fb
https://github.com/llvm/llvm-project/commit/1ef0e94d5b0206f69e4e822c6828d0b5121c11fb
Author: Fangrui Song <i at maskray.me>
Date: 2020-10-12 (Mon, 12 Oct 2020)
Changed paths:
M compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
M compiler-rt/lib/scudo/standalone/linux.cpp
M compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
Log Message:
-----------
[compiler-rt] Suppress -Wunused-result due to ::write when _FORTIFY_SOURCE>0 in glibc
Noticed by Peter Foley.
In glibc, ::write is declared as __attribute__((__warn_unused_result__)) when __USE_FORTIFY_LEVEL is larger than 0.
More information about the All-commits
mailing list