[PATCH] D71623: [compiler-rt] [test] Add missing %run to fread_fwrite MSAN test

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 17 12:54:23 PST 2019


mgorny created this revision.
mgorny added reviewers: krytarowski, m.ostapenko, eugenis.
Herald added subscribers: llvm-commits, Sanitizers, dberris.
Herald added projects: LLVM, Sanitizers.

Add a missing %run substitution to fread_fwrite test.  This fixes
the test on NetBSD where %run disables ASLR as necessary for MSAN
to function.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D71623

Files:
  compiler-rt/test/msan/fread_fwrite.cpp


Index: compiler-rt/test/msan/fread_fwrite.cpp
===================================================================
--- compiler-rt/test/msan/fread_fwrite.cpp
+++ compiler-rt/test/msan/fread_fwrite.cpp
@@ -1,5 +1,5 @@
 // RUN: %clangxx_msan -g %s -o %t
-// RUN: not %t 2>&1 | FileCheck %s
+// RUN: not %run %t 2>&1 | FileCheck %s
 // RUN: %t 1
 
 #include <stdio.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71623.234366.patch
Type: text/x-patch
Size: 364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191217/95daac72/attachment.bin>


More information about the cfe-commits mailing list