From 1e864cc8d25b2cb67d3765bc0f8018278df571bf Mon Sep 17 00:00:00 2001 From: Karl Schimpf Date: Wed, 14 Aug 2013 09:08:17 -0700 Subject: Allow record-level printing by pnacl-bcanalyzer. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3627 R=jvoung@chromium.org Review URL: https://codereview.chromium.org/23060004 --- test/NaCl/Bitcode/struct-types.ll | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'test/NaCl/Bitcode/struct-types.ll') diff --git a/test/NaCl/Bitcode/struct-types.ll b/test/NaCl/Bitcode/struct-types.ll index a36e6bb0ab..b2f7dc62a8 100644 --- a/test/NaCl/Bitcode/struct-types.ll +++ b/test/NaCl/Bitcode/struct-types.ll @@ -2,7 +2,8 @@ ; even if the struct definintion appears after the pointer type, while ; pnacl bitcode moves the pointer before the struct. ; RUN: llvm-as < %s | llvm-bcanalyzer -dump | FileCheck %s -check-prefix=LLVM -; RUN: llvm-as < %s | pnacl-freeze | pnacl-bcanalyzer -dump | FileCheck %s -check-prefix=PNACL +; RUN: llvm-as < %s | pnacl-freeze | pnacl-bcanalyzer -dump-records \ +; RUN: | FileCheck %s -check-prefix=PNACL %typeB = type { i8, %typeA, i32, %typeA } %typeA = type { i16 } @@ -50,29 +51,29 @@ define i16 @bam(i16 %a) { ; LLVM: ; Show the ordering pnacl-freeze uses to order types. -; PNACL: +; PNACL: ; %typeB* -; PNACL: +; PNACL: ; i16 ; PNACL: ; type of instruction "RET" ; PNACL: ; %typeA = type { i16 } -; PNACL: -; PNACL: +; PNACL: +; PNACL: ; %typeB* (%typeB*) -; PNACL: +; PNACL: ; %typeB* (%typeB*)* -; PNACL: +; PNACL: ; i8 ; PNACL: ; i32 ; PNACL: ; %typeB = type { i8, %typeA, i32, %typeA } -; PNACL: -; PNACL: +; PNACL: +; PNACL: ; i16 (i16) -; PNACL: +; PNACL: ; i16 (i16)* -; PNACL: +; PNACL: ; PNACL: -- cgit v1.2.3-18-g5258