[all-commits] [llvm/llvm-project] 000aeb: [hwasan] Fix build breakage (-Wunused-function) in...
Jie Fu via All-commits
all-commits at lists.llvm.org
Tue May 16 22:01:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 000aeb2499b1db510f064c37c097a5020215b835
https://github.com/llvm/llvm-project/commit/000aeb2499b1db510f064c37c097a5020215b835
Author: Jie Fu <jiefu at tencent.com>
Date: 2023-05-17 (Wed, 17 May 2023)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_interceptors.cpp
Log Message:
-----------
[hwasan] Fix build breakage (-Wunused-function) in hwasan_interceptors.cpp (NFC)
In file included from /data/llvm-project/compiler-rt/lib/hwasan/hwasan_interceptors.cpp:141:
/data/llvm-project/compiler-rt/lib/hwasan/../sanitizer_common/sanitizer_common_interceptors.inc:1044:13: error: unused function 'write_iovec' [-Werror,-Wunused-function]
static void write_iovec(void *ctx, struct __sanitizer_iovec *iovec,
^
/data/llvm-project/compiler-rt/lib/hwasan/../sanitizer_common/sanitizer_common_interceptors.inc:1053:13: error: unused function 'read_iovec' [-Werror,-Wunused-function]
static void read_iovec(void *ctx, struct __sanitizer_iovec *iovec,
^
/data/llvm-project/compiler-rt/lib/hwasan/../sanitizer_common/sanitizer_common_interceptors.inc:10363:13: error: unused function 'InitializeCommonInterceptors' [-Werror,-Wunused-function]
static void InitializeCommonInterceptors() {
^
3 errors generated.
More information about the All-commits
mailing list