commit | 5d8815eab6446da05e26d9da37ef0ca5d0e73499 | [log] [tgz] |
---|---|---|
author | Fangrui Song <i@maskray.me> | Mon Feb 01 21:24:58 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 05 01:20:03 2021 -0800 |
tree | b4db6cec6d7b2b9fcbb5d55b191d5c3b11420f65 | |
parent | 7f9e7750067188f6452280a3211095d43cf239f1 [diff] |
[test] Fix unused FileCheck prefixes in compiler-rt/test GitOrigin-RevId: 327196d688585ecc6a4aa7dc1323adb7fe203c55
diff --git a/test/profile/instrprof-value-prof-2.c b/test/profile/instrprof-value-prof-2.c index a5939fe..88a2de0 100644 --- a/test/profile/instrprof-value-prof-2.c +++ b/test/profile/instrprof-value-prof-2.c
@@ -72,6 +72,7 @@ } } +// CHECK: Counters: // CHECK-1-LABEL: caller_with_value_site_never_called2: // CHECK-1-NEXT: Hash: 0x0000000000000000 // CHECK-1-NEXT: Counters:
diff --git a/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-constants.cpp b/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-constants.cpp index 2c3c156..971553c 100644 --- a/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-constants.cpp +++ b/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-constants.cpp
@@ -16,6 +16,7 @@ base = (char *)0; result = base + 0; // CHECK-C: {{.*}}.cpp:[[@LINE-1]]:17: runtime error: applying zero offset to null pointer + // CHECK-CPP-NOT: runtime error: base = (char *)0; result = base + 1;
diff --git a/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp b/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp index 1f81974..2fca126 100644 --- a/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp +++ b/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp
@@ -17,6 +17,8 @@ result = base + 0; // CHECK-NOTYPE-C: SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior {{.*}}summary.cpp:[[@LINE-1]]:17 // CHECK-TYPE-C: SUMMARY: UndefinedBehaviorSanitizer: nullptr-with-offset {{.*}}summary.cpp:[[@LINE-2]]:17 + // CHECK-NOTYPE-CPP-NOT: SUMMARY: + // CHECK-TYPE-CPP-NOT: SUMMARY: base = (char *)0; result = base + 1;