<div dir="ltr">probably you can revert 000aeb2499b1db510f064c37c097a5020215b835 then</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 16 May 2023 at 23:16, Thurston Dang via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Author: Thurston Dang<br>
Date: 2023-05-17T06:15:23Z<br>
New Revision: bc9526e30d45ccfb2c9c5e064c212d9336fb8e56<br>
<br>
URL: <a href="https://github.com/llvm/llvm-project/commit/bc9526e30d45ccfb2c9c5e064c212d9336fb8e56" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/commit/bc9526e30d45ccfb2c9c5e064c212d9336fb8e56</a><br>
DIFF: <a href="https://github.com/llvm/llvm-project/commit/bc9526e30d45ccfb2c9c5e064c212d9336fb8e56.diff" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/commit/bc9526e30d45ccfb2c9c5e064c212d9336fb8e56.diff</a><br>
<br>
LOG: hwasan: fix buildbot breakage (unused functions)<br>
<br>
This addresses another buildbot breakage:<br>
<a href="https://lab.llvm.org/buildbot/#/builders/37/builds/22166" rel="noreferrer" target="_blank">https://lab.llvm.org/buildbot/#/builders/37/builds/22166</a><br>
<br>
My patch, <a href="https://reviews.llvm.org/D150708" rel="noreferrer" target="_blank">https://reviews.llvm.org/D150708</a> introduced<br>
stubs for common interceptor macros; these had unused<br>
variables and functions. An earlier patch fixed the<br>
unused variables; this patch suppresses unused-functions<br>
warnings.<br>
<br>
Added: <br>
<br>
<br>
Modified: <br>
    compiler-rt/lib/hwasan/hwasan_interceptors.cpp<br>
<br>
Removed: <br>
<br>
<br>
<br>
################################################################################<br>
diff  --git a/compiler-rt/lib/hwasan/hwasan_interceptors.cpp b/compiler-rt/lib/hwasan/hwasan_interceptors.cpp<br>
index 57df79d15123..3c597623333c 100644<br>
--- a/compiler-rt/lib/hwasan/hwasan_interceptors.cpp<br>
+++ b/compiler-rt/lib/hwasan/hwasan_interceptors.cpp<br>
@@ -416,6 +416,10 @@ void InitializeInterceptors() {<br>
   static int inited = 0;<br>
   CHECK_EQ(inited, 0);<br>
<br>
+  (void)(InitializeCommonInterceptors);<br>
+  (void)(read_iovec);<br>
+  (void)(write_iovec);<br>
+<br>
 #  if HWASAN_WITH_INTERCEPTORS<br>
 #    if defined(__linux__)<br>
   INTERCEPT_FUNCTION(__libc_longjmp);<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>