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

Side by Side Diff: test/Transforms/NaCl/allocate-data-segment-size.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 unified diff | Download patch
« no previous file with comments | « test/Transforms/NaCl/allocate-data-segment.ll ('k') | test/Transforms/NaCl/expand-alloca.ll » ('j') | 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: opt %s -allocate-data-segment -S | FileCheck %s
2
3 @var1 = global i32 11
4 @var2 = global i32 22
5
6 ; Check for a bug in which we got the following, which FlattenGlobals
7 ; doesn't handle:
8 ; @__sfi_data_segment_size = constant i64 mul nuw (i64 ptrtoint (i32* getelement ptr (i32* null, i32 1) to i64), i64 2)
9
10 ; CHECK: @__sfi_data_segment_size = constant i32 8
OLDNEW
« no previous file with comments | « test/Transforms/NaCl/allocate-data-segment.ll ('k') | test/Transforms/NaCl/expand-alloca.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698