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

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

Issue 411693003: Validate the assembly code that Subzero generates in unit tests. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Comment out failing RUN lines. 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.
6 ; RUIN: %llvm2ice --verbose none %s | llvm-mc -x86-asm-syntax=intel
5 ; RUN: %llvm2ice --verbose none --prefix Subzero %s | FileCheck --check-prefix=M ANGLE %s 7 ; RUN: %llvm2ice --verbose none --prefix Subzero %s | FileCheck --check-prefix=M ANGLE %s
6 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 8 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
7 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 9 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
8 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ 10 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
9 ; RUN: | FileCheck --check-prefix=DUMP %s 11 ; RUN: | FileCheck --check-prefix=DUMP %s
10 12
11 define internal void @FuncC(i32 %i) { 13 define internal void @FuncC(i32 %i) {
12 entry: 14 entry:
13 ret void 15 ret void
14 } 16 }
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 121
120 ; Test that unmangled (non-C++) strings don't have substitutions updated. 122 ; Test that unmangled (non-C++) strings don't have substitutions updated.
121 define internal void @foo_S_S0_SZ_S() { 123 define internal void @foo_S_S0_SZ_S() {
122 ; MANGLE: Subzerofoo_S_S0_SZ_S: 124 ; MANGLE: Subzerofoo_S_S0_SZ_S:
123 entry: 125 entry:
124 ret void 126 ret void
125 } 127 }
126 128
127 ; ERRORS-NOT: ICE translation error 129 ; ERRORS-NOT: ICE translation error
128 ; DUMP-NOT: SZ 130 ; 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