[compiler-rt] r354852 - [compiler-rt] Fix test broken by r354851.

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 26 00:17:50 PST 2019


Author: courbet
Date: Tue Feb 26 00:17:49 2019
New Revision: 354852

URL: http://llvm.org/viewvc/llvm-project?rev=354852&view=rev
Log:
[compiler-rt] Fix test broken by r354851.

error: CHECK: expected string not found in input
// CHECK: Uninitialized bytes in __interceptor_memcmp at offset 3

Modified:
    compiler-rt/trunk/test/msan/memcmp_test.cc
    compiler-rt/trunk/test/msan/scoped-interceptors.cc

Modified: compiler-rt/trunk/test/msan/memcmp_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/memcmp_test.cc?rev=354852&r1=354851&r2=354852&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/memcmp_test.cc (original)
+++ compiler-rt/trunk/test/msan/memcmp_test.cc Tue Feb 26 00:17:49 2019
@@ -13,6 +13,6 @@ int main(int argc, char **argv) {
   if (!res)
     printf("equals");
   return 0;
-  // CHECK: Uninitialized bytes in __interceptor_memcmp at offset 3
+  // CHECK: Uninitialized bytes in MemcmpInterceptorCommon at offset 3
   // CHECK: MemorySanitizer: use-of-uninitialized-value
 }

Modified: compiler-rt/trunk/test/msan/scoped-interceptors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/scoped-interceptors.cc?rev=354852&r1=354851&r2=354852&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/scoped-interceptors.cc (original)
+++ compiler-rt/trunk/test/msan/scoped-interceptors.cc Tue Feb 26 00:17:49 2019
@@ -37,7 +37,7 @@ int main(int argc, char *argv[]) {
     case '2': {
       int cmp = memcmp(uninit, uninit, sizeof(uninit));  // BOOM
       break;
-      // CASE-2: Uninitialized bytes in __interceptor_memcmp
+      // CASE-2: Uninitialized bytes in MemcmpInterceptorCommon
     }
     case '3': {
       size_t len = strlen(uninit);  // BOOM




More information about the llvm-commits mailing list