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

Unified Diff: tests_lit/asan_tests/alignment.ll

Issue 2194853003: Subzero: Implemented codegen for poisoning and unpoisoning stack redzones (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Added missing REQUIRES directive Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceCfg.cpp ('k') | tests_lit/asan_tests/blacklist.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/asan_tests/alignment.ll
diff --git a/tests_lit/asan_tests/alignment.ll b/tests_lit/asan_tests/alignment.ll
index b288df4a7b25414d69cea4fe3688843bd1635d1c..908f2d0c4fa240951143e923123861f450640e17 100644
--- a/tests_lit/asan_tests/alignment.ll
+++ b/tests_lit/asan_tests/alignment.ll
@@ -13,34 +13,19 @@ define internal i32 @func(i32 %arg1, i32 %arg2) {
}
; CHECK: func
-; CHECK-NEXT: sub esp,0xbc
-; CHECK-NEXT: lea eax,[esp+0x10]
-; CHECK-NEXT: mov DWORD PTR [esp],eax
-; CHECK-NEXT: mov DWORD PTR [esp+0x4],0x20
-; CHECK-NEXT: mov DWORD PTR [esp+0x8],0xffffffff
-; CHECK-NEXT: __asan_poison
-; CHECK-NEXT: lea eax,[esp+0x74]
-; CHECK-NEXT: mov DWORD PTR [esp],eax
-; CHECK-NEXT: mov DWORD PTR [esp+0x4],0x3c
-; CHECK-NEXT: mov DWORD PTR [esp+0x8],0xffffffff
-; CHECK-NEXT: __asan_poison
-; CHECK-NEXT: lea eax,[esp+0x35]
-; CHECK-NEXT: mov DWORD PTR [esp],eax
-; CHECK-NEXT: mov DWORD PTR [esp+0x4],0x3b
-; CHECK-NEXT: mov DWORD PTR [esp+0x8],0xffffffff
-; CHECK-NEXT: __asan_poison
-; CHECK-NEXT: lea eax,[esp+0x74]
-; CHECK-NEXT: mov DWORD PTR [esp],eax
-; CHECK-NEXT: mov DWORD PTR [esp+0x4],0x3c
-; CHECK-NEXT: __asan_unpoison
-; CHECK-NEXT: lea eax,[esp+0x35]
-; CHECK-NEXT: mov DWORD PTR [esp],eax
-; CHECK-NEXT: mov DWORD PTR [esp+0x4],0x3b
-; CHECK-NEXT: __asan_unpoison
-; CHECK-NEXT: lea eax,[esp+0x10]
-; CHECK-NEXT: mov DWORD PTR [esp],eax
-; CHECK-NEXT: mov DWORD PTR [esp+0x4],0x20
-; CHECK-NEXT: __asan_unpoison
+; CHECK-NEXT: sub esp,0xa0
+; CHECK-NEXT: lea eax,[esp]
+; CHECK-NEXT: shr eax,0x3
+; CHECK-NEXT: mov DWORD PTR [eax+0x20000000],0xffffffff
+; CHECK-NEXT: mov DWORD PTR [eax+0x20000004],0xffffff04
+; CHECK-NEXT: mov DWORD PTR [eax+0x20000008],0xffffffff
+; CHECK-NEXT: mov DWORD PTR [eax+0x2000000c],0xffffff05
+; CHECK-NEXT: mov DWORD PTR [eax+0x20000010],0xffffffff
+; CHECK-NEXT: mov DWORD PTR [eax+0x20000000],0x0
+; CHECK-NEXT: mov DWORD PTR [eax+0x20000004],0x0
+; CHECK-NEXT: mov DWORD PTR [eax+0x20000008],0x0
+; CHECK-NEXT: mov DWORD PTR [eax+0x2000000c],0x0
+; CHECK-NEXT: mov DWORD PTR [eax+0x20000010],0x0
; CHECK-NEXT: mov eax,0x2a
-; CHECK-NEXT: add esp,0xbc
+; CHECK-NEXT: add esp,0xa0
; CHECK-NEXT: ret
« no previous file with comments | « src/IceCfg.cpp ('k') | tests_lit/asan_tests/blacklist.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698