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

Side by Side Diff: tests_lit/reader_tests/unnamed.ll

Issue 686913005: Turn off dump/emit routines when building minimal subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 ; Tests that we name unnamed global addresses. 1 ; Tests that we name unnamed global addresses.
2 2
3 ; REQUIRES: allow_dump
4
3 ; Check that Subzero's bitcode reader handles renaming correctly. 5 ; Check that Subzero's bitcode reader handles renaming correctly.
4 ; RUN: %p2i --no-local-syms -i %s --insts | FileCheck %s 6 ; RUN: %p2i --no-local-syms -i %s --insts | FileCheck %s
5 ; RUN: %l2i --no-local-syms -i %s --insts | %ifl FileCheck %s 7 ; RUN: %l2i --no-local-syms -i %s --insts | %ifl FileCheck %s
6 8
7 ; RUN: %l2i --no-local-syms -i %s --insts --args --exit-success \ 9 ; RUN: %l2i --no-local-syms -i %s --insts --args --exit-success \
8 ; RUN: -default-function-prefix=h -default-global-prefix=g \ 10 ; RUN: -default-function-prefix=h -default-global-prefix=g \
9 ; RUN: | %ifl FileCheck --check-prefix=BAD %s 11 ; RUN: | %ifl FileCheck --check-prefix=BAD %s
10 12
11 ; RUN: %p2i --no-local-syms -i %s --insts --args --exit-success \ 13 ; RUN: %p2i --no-local-syms -i %s --insts --args --exit-success \
12 ; RUN: -default-function-prefix=h -default-global-prefix=g \ 14 ; RUN: -default-function-prefix=h -default-global-prefix=g \
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 59
58 ; CHECK-NEXT: define void @h5() { 60 ; CHECK-NEXT: define void @h5() {
59 ; CHECK-NEXT: __0: 61 ; CHECK-NEXT: __0:
60 ; CHECK-NEXT: ret void 62 ; CHECK-NEXT: ret void
61 ; CHECK-NEXT: } 63 ; CHECK-NEXT: }
62 64
63 ; BAD: Warning : Default global prefix 'g' potentially conflicts with name 'g'. 65 ; BAD: Warning : Default global prefix 'g' potentially conflicts with name 'g'.
64 ; BAD: Warning : Default function prefix 'h' potentially conflicts with name 'h5 '. 66 ; BAD: Warning : Default function prefix 'h' potentially conflicts with name 'h5 '.
65 67
66 ; NOIR: Total across all functions 68 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698