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

Side by Side Diff: test/Transforms/MinSFI/sandbox-indirect-calls-invalid-call.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: Created 5 years, 10 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: not opt %s -minsfi-sandbox-indirect-calls -S 2>&1 | FileCheck %s
2
3 target datalayout = "p:32:32:32"
4 target triple = "le32-unknown-nacl"
5
6 declare void @fn()
7
8 declare i32 @foo(void ()*)
9
10 define i32 @bar() {
11 %ret = call i32 @foo(void ()* @fn)
12 ret i32 %ret
13 }
14
15 ; CHECK: Invalid reference to function @fn
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698