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

Side by Side Diff: tests_lit/llvm2ice_tests/mangle.ll

Issue 788283002: Reduce one layer of decoding for binary operations in bitcode reading. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Tests the Subzero "name mangling" when using the "llvm2ice --prefix" 1 ; Tests the Subzero "name mangling" when using the "llvm2ice --prefix"
2 ; option. Also does a quick smoke test of -ffunction-sections. 2 ; option. Also does a quick smoke test of -ffunction-sections.
3 3
4 ; REQUIRES: allow_dump
4 ; RUN: %p2i -i %s --args --verbose none -ffunction-sections | FileCheck %s 5 ; RUN: %p2i -i %s --args --verbose none -ffunction-sections | FileCheck %s
5 ; TODO(stichnot): The following line causes this test to fail. 6 ; TODO(stichnot): The following line causes this test to fail.
6 ; RUIN: %p2i -i %s --args --verbose none \ 7 ; RUIN: %p2i -i %s --args --verbose none \
7 ; RUIN: | llvm-mc -triple=i686-none-nacl -filetype=obj 8 ; RUIN: | llvm-mc -triple=i686-none-nacl -filetype=obj
8 ; RUN: %p2i -i %s --args --verbose none --prefix Subzero -ffunction-sections \ 9 ; RUN: %p2i -i %s --args --verbose none --prefix Subzero -ffunction-sections \
9 ; RUN: | FileCheck --check-prefix=MANGLE %s 10 ; RUN: | FileCheck --check-prefix=MANGLE %s
10 11
11 define internal void @FuncC(i32 %i) { 12 define internal void @FuncC(i32 %i) {
12 entry: 13 entry:
13 ret void 14 ret void
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 ret void 136 ret void
136 } 137 }
137 138
138 ; Test that unmangled (non-C++) strings don't have substitutions updated. 139 ; Test that unmangled (non-C++) strings don't have substitutions updated.
139 define internal void @foo_S_S0_SZ_S() { 140 define internal void @foo_S_S0_SZ_S() {
140 ; MANGLE-LABEL: .text.Subzerofoo_S_S0_SZ_S 141 ; MANGLE-LABEL: .text.Subzerofoo_S_S0_SZ_S
141 ; MANGLE: Subzerofoo_S_S0_SZ_S: 142 ; MANGLE: Subzerofoo_S_S0_SZ_S:
142 entry: 143 entry:
143 ret void 144 ret void
144 } 145 }
OLDNEW
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698