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

Side by Side Diff: test/Transforms/NaCl/rewrite-setjmp-store-error.ll

Issue 14617017: Adding a pass - RewritePNaClLibraryCalls, that replaces known library calls with stable bitcode int… (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Addressed latest review comments Created 7 years, 7 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
OLDNEW
(Empty)
1 ; RUN: opt < %s -rewrite-pnacl-library-calls -S |& FileCheck %s
Mark Seaborn 2013/05/16 02:23:38 This syntax fails on Mac OS X: /Volumes/data/b/bu
2 ; Test that the pass enforces not being able to store the address
3 ; of setjmp.
4
5 declare i32 @setjmp(i64*)
6
7 define i32 @takeaddr_setjmp(i64* %arg) {
8 %fp = alloca i32 (i64*)*, align 8
9 ; CHECK: Taking the address of setjmp is invalid
10 store i32 (i64*)* @setjmp, i32 (i64*)** %fp, align 8
11 ret i32 7
12 }
13
OLDNEW
« no previous file with comments | « test/Transforms/NaCl/rewrite-longjmp-noncall-uses.ll ('k') | test/Transforms/NaCl/rewrite-setlongjmp-calls.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698