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

Side by Side Diff: tests_lit/assembler/x86/sandboxing.ll

Issue 1499973002: Revert "Subzero. ARM32. Initial sandboxing code." (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 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 | « tests_lit/assembler/arm32/sandboxing.ll ('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 basics and corner cases of x86-32 sandboxing, using -Om1 in 1 ; Tests basics and corner cases of x86-32 sandboxing, using -Om1 in
2 ; the hope that the output will remain stable. When packing bundles, 2 ; the hope that the output will remain stable. When packing bundles,
3 ; we try to limit to a few instructions with well known sizes and 3 ; we try to limit to a few instructions with well known sizes and
4 ; minimal use of registers and stack slots in the lowering sequence. 4 ; minimal use of registers and stack slots in the lowering sequence.
5 5
6 ; RUN: %p2i -i %s --sandbox --filetype=obj --disassemble --args -Om1 \ 6 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 \
7 ; RUN: -allow-externally-defined-symbols \ 7 ; RUN: -allow-externally-defined-symbols \
8 ; RUN: -ffunction-sections | FileCheck %s 8 ; RUN: -ffunction-sections -sandbox | FileCheck %s
9 9
10 declare void @call_target() 10 declare void @call_target()
11 @global_byte = internal global [1 x i8] zeroinitializer 11 @global_byte = internal global [1 x i8] zeroinitializer
12 @global_short = internal global [2 x i8] zeroinitializer 12 @global_short = internal global [2 x i8] zeroinitializer
13 @global_int = internal global [4 x i8] zeroinitializer 13 @global_int = internal global [4 x i8] zeroinitializer
14 14
15 ; A direct call sequence uses the right mask and register-call sequence. 15 ; A direct call sequence uses the right mask and register-call sequence.
16 define internal void @test_direct_call() { 16 define internal void @test_direct_call() {
17 entry: 17 entry:
18 call void @call_target() 18 call void @call_target()
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 ret void 251 ret void
252 } 252 }
253 ; CHECK-LABEL: checkpoint_restore_stack_adjustment 253 ; CHECK-LABEL: checkpoint_restore_stack_adjustment
254 ; CHECK: sub esp,0x1c 254 ; CHECK: sub esp,0x1c
255 ; CHECK: call 255 ; CHECK: call
256 ; The address of %arg should be [esp+0x20], not [esp+0x30]. 256 ; The address of %arg should be [esp+0x20], not [esp+0x30].
257 ; CHECK-NEXT: mov [[REG:.*]],DWORD PTR [esp+0x20] 257 ; CHECK-NEXT: mov [[REG:.*]],DWORD PTR [esp+0x20]
258 ; CHECK-NEXT: mov DWORD PTR [esp],[[REG]] 258 ; CHECK-NEXT: mov DWORD PTR [esp],[[REG]]
259 ; CHECK: call 259 ; CHECK: call
260 ; CHECK: add esp,0x1c 260 ; CHECK: add esp,0x1c
OLDNEW
« no previous file with comments | « tests_lit/assembler/arm32/sandboxing.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698