OLD | NEW |
---|---|
(Empty) | |
1 ; RUN: opt < %s -rewrite-pnacl-library-calls -S | FileCheck %s | |
2 ; Check that rewriting of the function pointer in globals work | |
3 ; correctly. | |
4 | |
5 declare void @longjmp(i64*, i32) | |
6 | |
7 ; CHECK: @GlobFP = private global void (i64*, i32)* @__nacl_wrap_longjmp, align 8 | |
8 @GlobFP = global void (i64*, i32)* @longjmp, align 8 | |
9 | |
10 ; CHECK: define private void @__nacl_wrap_longjmp(i64* %env, i32 %val) { | |
jvoung (off chromium)
2013/05/13 19:52:07
reduce the amount of spacing between the CHECK: an
eliben
2013/05/13 22:07:18
Done.
| |
11 | |
OLD | NEW |