Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: tests_lit/parse_errs/bad-bb-size.test

Issue 1297433002: Change tracking of basic blocks (within function) to use a vector. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests_lit/parse_errs/Inputs/bad-bb-size.tbc ('k') | tests_lit/parse_errs/lit.local.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/parse_errs/bad-bb-size.test
diff --git a/tests_lit/parse_errs/bad-bb-size.test b/tests_lit/parse_errs/bad-bb-size.test
new file mode 100644
index 0000000000000000000000000000000000000000..012e09d25a1044aff59014407a9cedd9dd230b87
--- /dev/null
+++ b/tests_lit/parse_errs/bad-bb-size.test
@@ -0,0 +1,10 @@
+; Test if we recognize a bad basic block count in a function block.
+
+; REQUIRES: no_minimal_build
+
+; RUN: not %pnacl_sz -bitcode-as-text %p/Inputs/bad-bb-size.tbc \
+; RUN: -bitcode-format=pnacl -notranslate -no-ir-gen -build-on-read 2>&1 \
+; RUN: | FileCheck %s
+
+; CHECK: Function defines 3105555534 basic blocks, which is too big for a function containing 36 bytes
+
« no previous file with comments | « tests_lit/parse_errs/Inputs/bad-bb-size.tbc ('k') | tests_lit/parse_errs/lit.local.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698