[compiler-rt] r328407 - [HWASan] Fix use-after-free.cc test on x86-64
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 26 18:25:47 PDT 2018
Hi Alex,
This test is still failing on our internal build bot which simply does a x86-64 linux build/test of each upstream commit. I would point you to a public build bot that shows the failure, but unfortunately I don't seem to find any. I have been able to reproduce the failure on my linux box outside of the bot using the same build/test commands, so it doesn't seem to be a problem specific to that one machine.
For reference, here is the test output:
/home/siadmin/jenkins/w/opensource/opensource_build/llvm/projects/compiler-rt/test/hwasan/TestCases/use-after-free.cc:31:12: error: expected string not found in input
// CHECK: #0 {{.*}} in free {{.*}}hwasan_interceptors.cc
^
<stdin>:9:2: note: scanning from here
#0 0x7fb5893a3fd8 in __interceptor_free /home/siadmin/jenkins/w/opensource/opensource_build/llvm/projects/compiler-rt/lib/hwasan/hwasan_interceptors.cc:176:3
^
<stdin>:9:110: note: possible intended match here
#0 0x7fb5893a3fd8 in __interceptor_free /home/siadmin/jenkins/w/opensource/opensource_build/llvm/projects/compiler-rt/lib/hwasan/hwasan_interceptors.cc:176:3
Any ideas on why this might be failing? If this isn't enough, I can provide you with more details of my environment and the build/test command lines to help you reproduce the problem.
Douglas Yung
> -----Original Message-----
> From: llvm-commits [mailto:llvm-commits-bounces at lists.llvm.org] On Behalf Of
> Alex Shlyapnikov via llvm-commits
> Sent: Friday, March 23, 2018 19:11
> To: llvm-commits at lists.llvm.org
> Subject: [compiler-rt] r328407 - [HWASan] Fix use-after-free.cc test on x86-64
>
> Author: alekseyshl
> Date: Fri Mar 23 19:10:49 2018
> New Revision: 328407
>
> URL: http://llvm.org/viewvc/llvm-project?rev=328407&view=rev
> Log:
> [HWASan] Fix use-after-free.cc test on x86-64
>
> Differential Revision: https://reviews.llvm.org/D44705
>
> Modified:
> compiler-rt/trunk/test/hwasan/TestCases/use-after-free.cc
>
> Modified: compiler-rt/trunk/test/hwasan/TestCases/use-after-free.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-
> rt/trunk/test/hwasan/TestCases/use-after-
> free.cc?rev=328407&r1=328406&r2=328407&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/hwasan/TestCases/use-after-free.cc (original)
> +++ compiler-rt/trunk/test/hwasan/TestCases/use-after-free.cc Fri Mar 23
> 19:10:49 2018
> @@ -32,7 +32,7 @@ int main() {
> // CHECK: #1 {{.*}} in main {{.*}}use-after-free.cc:16
>
> // CHECK: previously allocated here:
> - // CHECK: #0 {{.*}} in __interceptor_malloc {{.*}}hwasan_interceptors.cc
> + // CHECK: #0 {{.*}} in {{.*}}malloc {{.*}}hwasan_interceptors.cc
> // CHECK: #1 {{.*}} in main {{.*}}use-after-free.cc:15
>
> // CHECK: SUMMARY: HWAddressSanitizer: tag-mismatch {{.*}} in main
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list