Index: tests_lit/asan_tests/errors.ll |
diff --git a/tests_lit/asan_tests/errors.ll b/tests_lit/asan_tests/errors.ll |
index e00ed4066d7632554399172c205c09b3c08cc684..f7d46bfb1da5ccde26484e56f51962bea2cf51b4 100644 |
--- a/tests_lit/asan_tests/errors.ll |
+++ b/tests_lit/asan_tests/errors.ll |
@@ -6,32 +6,49 @@ |
; RUN: llvm-as %s -o - | pnacl-freeze > %t.pexe && %S/../../pydir/szbuild.py \ |
; RUN: --fsanitize-address --sz=-allow-externally-defined-symbols \ |
; RUN: %t.pexe -o %t && %t 2>&1 | FileCheck %s |
+; RUN: llvm-as %s -o - | pnacl-freeze > %t.pexe && %S/../../pydir/szbuild.py \ |
+; RUN: --fsanitize-address --sz=-allow-externally-defined-symbols -O2 \ |
+; RUN: %t.pexe -o %t && %t 2>&1 | FileCheck %s |
; check with a many off the end local access |
; RUN: llvm-as %s -o - | pnacl-freeze > %t.pexe && %S/../../pydir/szbuild.py \ |
; RUN: --fsanitize-address --sz=-allow-externally-defined-symbols \ |
; RUN: %t.pexe -o %t && %t 1 2>&1 | FileCheck %s |
+; RUN: llvm-as %s -o - | pnacl-freeze > %t.pexe && %S/../../pydir/szbuild.py \ |
+; RUN: --fsanitize-address --sz=-allow-externally-defined-symbols -O2 \ |
+; RUN: %t.pexe -o %t && %t 1 2>&1 | FileCheck %s |
; check with a one before the front local access |
; RUN: llvm-as %s -o - | pnacl-freeze > %t.pexe && %S/../../pydir/szbuild.py \ |
; RUN: --fsanitize-address --sz=-allow-externally-defined-symbols \ |
; RUN: %t.pexe -o %t && %t 1 2 2>&1 | FileCheck %s |
+; RUN: llvm-as %s -o - | pnacl-freeze > %t.pexe && %S/../../pydir/szbuild.py \ |
+; RUN: --fsanitize-address --sz=-allow-externally-defined-symbols -O2\ |
+; RUN: %t.pexe -o %t && %t 1 2 2>&1 | FileCheck %s |
; check with a one off the end global access |
; RUN: llvm-as %s -o - | pnacl-freeze > %t.pexe && %S/../../pydir/szbuild.py \ |
; RUN: --fsanitize-address --sz=-allow-externally-defined-symbols \ |
; RUN: %t.pexe -o %t && %t 1 2 3 2>&1 | FileCheck %s |
+; RUN: llvm-as %s -o - | pnacl-freeze > %t.pexe && %S/../../pydir/szbuild.py \ |
+; RUN: --fsanitize-address --sz=-allow-externally-defined-symbols -O2 \ |
+; RUN: %t.pexe -o %t && %t 1 2 3 2>&1 | FileCheck %s |
; check with a many off the end global access |
; RUN: llvm-as %s -o - | pnacl-freeze > %t.pexe && %S/../../pydir/szbuild.py \ |
; RUN: --fsanitize-address --sz=-allow-externally-defined-symbols \ |
; RUN: %t.pexe -o %t && %t 1 2 3 4 2>&1 | FileCheck %s |
+; RUN: llvm-as %s -o - | pnacl-freeze > %t.pexe && %S/../../pydir/szbuild.py \ |
+; RUN: --fsanitize-address --sz=-allow-externally-defined-symbols -O2 \ |
+; RUN: %t.pexe -o %t && %t 1 2 3 4 2>&1 | FileCheck %s |
; check with a one before the front global access |
; RUN: llvm-as %s -o - | pnacl-freeze > %t.pexe && %S/../../pydir/szbuild.py \ |
; RUN: --fsanitize-address --sz=-allow-externally-defined-symbols \ |
; RUN: %t.pexe -o %t && %t 1 2 3 4 5 2>&1 | FileCheck %s |
- |
+; RUN: llvm-as %s -o - | pnacl-freeze > %t.pexe && %S/../../pydir/szbuild.py \ |
+; RUN: --fsanitize-address --sz=-allow-externally-defined-symbols -O2 \ |
+; RUN: %t.pexe -o %t && %t 1 2 3 4 5 2>&1 | FileCheck %s |
declare external void @exit(i32) |