summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/esan/TestCases/verbose-simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/esan/TestCases/verbose-simple.c')
-rw-r--r--compiler-rt/test/esan/TestCases/verbose-simple.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/compiler-rt/test/esan/TestCases/verbose-simple.c b/compiler-rt/test/esan/TestCases/verbose-simple.c
new file mode 100644
index 00000000000..e66648166ca
--- /dev/null
+++ b/compiler-rt/test/esan/TestCases/verbose-simple.c
@@ -0,0 +1,11 @@
+// RUN: %clang_esan_frag -O0 %s -o %t 2>&1
+// RUN: %env_esan_opts=verbosity=1 %run %t 2>&1 | FileCheck %s
+
+#include <stdlib.h>
+#include <string.h>
+int main(int argc, char **argv) {
+ // CHECK: in esan::initializeLibrary
+ // CHECK-NEXT: in esan::finalizeLibrary
+ // CHECK-NEXT: {{.*}}EfficiencySanitizer is not finished: nothing yet to report
+ return 0;
+}
OpenPOWER on IntegriCloud