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

Side by Side Diff: test/MC/X86/nacl-test-recursive-expand.s

Issue 1265823002: Auto-sandboxing: Don't expand instructions when in a bundle-locked group (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « lib/MC/MCObjectStreamer.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
(Empty)
1 // RUN: llvm-mc -filetype asm -triple i386-unknown-nacl %s | FileCheck %s
2
3 // Test that instructions inside bundle-locked groups are not recursively
4 // expanded.
5
6 .bundle_lock
7 andl $-32, %eax
8 jmpl *%eax
9 .bundle_unlock
10 inc %ecx
11 // CHECK: .bundle_lock
12 // CHECK-NEXT: andl $-32, %eax
13 // CHECK-NEXT: jmpl *%eax
14 // CHECK-NEXT: .bundle_unlock
15 // Check that there's nothing else before the next unrelated instruction
16 // CHECK-NEXT: inc
OLDNEW
« no previous file with comments | « lib/MC/MCObjectStreamer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698