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

Unified Diff: test/Transforms/NaCl/flatten-globals.ll

Issue 29743003: Add passes for applying SFI sandboxing at the LLVM IR level Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Retry upload Created 6 years, 6 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 | « test/Transforms/NaCl/expand-alloca.ll ('k') | test/Transforms/NaCl/sandbox-indirect-calls.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Transforms/NaCl/flatten-globals.ll
diff --git a/test/Transforms/NaCl/flatten-globals.ll b/test/Transforms/NaCl/flatten-globals.ll
index 5fa81fff9089522d1f5b9478c77dce025617f90c..eeb8b28b52e2cd16874e2eec2b9f978ccd2735d6 100644
--- a/test/Transforms/NaCl/flatten-globals.ll
+++ b/test/Transforms/NaCl/flatten-globals.ll
@@ -150,6 +150,9 @@ target datalayout = "p:32:32:32"
; Global references with addends
+@reloc_addend_add = global i32 add (i32 ptrtoint (%ptrs1* @ptrs1 to i32), i32 8)
+; CHECK: global i32 add (i32 ptrtoint (<{ i32, [8 x i8] }>* @ptrs1 to i32), i32 8)
+
@reloc_addend = global i32* getelementptr (%ptrs1* @ptrs1, i32 0, i32 2)
; CHECK: @reloc_addend = global i32 add (i32 ptrtoint (<{ i32, [8 x i8] }>* @ptrs1 to i32), i32 8)
« no previous file with comments | « test/Transforms/NaCl/expand-alloca.ll ('k') | test/Transforms/NaCl/sandbox-indirect-calls.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698