================
@@ -1,4 +1,4 @@
-// RUN: %clang_hwasan %s -o %t && %env_hwasan_opts=random_tags=1 %run %t
+// RUN: %clang_hwasan -Wno-error=return-type %s -o %t && 
%env_hwasan_opts=random_tags=1 %run %t
----------------
Sirraide wrote:

I’m not really that familiar with the sanitizers, and I know there are some 
sanitizer tests that explicitly test what happens if we *do* fall off the end 
of a function, so I wasn’t sure whether that was relevant here or not; if just 
returning `nullptr` is an option here then I’ll switch to that instead.

https://github.com/llvm/llvm-project/pull/123470
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to