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

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

Issue 410743005: Ensure that llvm-mc parses unit tests in x86-32 mode. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Remove redundant test line. Created 6 years, 5 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 unified diff | Download patch
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. 2 ; option.
3 3
4 ; RUN: %llvm2ice --verbose none %s | FileCheck %s 4 ; RUN: %llvm2ice --verbose none %s | FileCheck %s
5 ; TODO: The following line causes this test to fail. 5 ; TODO: The following line causes this test to fail.
6 ; RUIN: %llvm2ice --verbose none %s | llvm-mc -x86-asm-syntax=intel 6 ; RUIN: %llvm2ice --verbose none %s \
7 ; RUIN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj
7 ; RUN: %llvm2ice --verbose none --prefix Subzero %s | FileCheck --check-prefix=M ANGLE %s 8 ; RUN: %llvm2ice --verbose none --prefix Subzero %s | FileCheck --check-prefix=M ANGLE %s
8 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 9 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
9 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 10 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
10 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ 11 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
11 ; RUN: | FileCheck --check-prefix=DUMP %s 12 ; RUN: | FileCheck --check-prefix=DUMP %s
12 13
13 define internal void @FuncC(i32 %i) { 14 define internal void @FuncC(i32 %i) {
14 entry: 15 entry:
15 ret void 16 ret void
16 } 17 }
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 122
122 ; Test that unmangled (non-C++) strings don't have substitutions updated. 123 ; Test that unmangled (non-C++) strings don't have substitutions updated.
123 define internal void @foo_S_S0_SZ_S() { 124 define internal void @foo_S_S0_SZ_S() {
124 ; MANGLE: Subzerofoo_S_S0_SZ_S: 125 ; MANGLE: Subzerofoo_S_S0_SZ_S:
125 entry: 126 entry:
126 ret void 127 ret void
127 } 128 }
128 129
129 ; ERRORS-NOT: ICE translation error 130 ; ERRORS-NOT: ICE translation error
130 ; DUMP-NOT: SZ 131 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/globalinit.pnacl.ll ('k') | tests_lit/llvm2ice_tests/nacl-atomic-fence-all.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698