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

Side by Side Diff: test/NaCl/PNaClABI/abi-externals-whitelist.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod 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 pnacl-abicheck < %s | FileCheck %s
2
3 ; Make sure that external symbols are properly rejected or accepted
4
5
6 @global_var = global [4 x i8] c"abcd"
7 ; CHECK: global_var is not a valid external symbol (disallowed)
8
9
10 define void @foo() {
11 ret void
12 }
13 ; CHECK: foo is not a valid external symbol (disallowed)
14
15 define external void @main() {
16 ret void
17 }
18 ; CHECK: main is not a valid external symbol (disallowed)
19
20 define external void @_start() {
21 ret void
22 }
23 ; _start is whitelisted
24 ; CHECK-NOT: disallowed
25
26 ; Intrinsics can be external too
27 declare void @llvm.trap()
28
OLDNEW
« no previous file with comments | « test/NaCl/PNaClABI/abi-externals-multiple.ll ('k') | test/NaCl/PNaClABI/abi-externals-whitelist-pso.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698