OLD | NEW |
---|---|
(Empty) | |
1 ; RUN: opt %s -nacl-expand-ctors -S | FileCheck %s -check-prefix=NO_CTORS | |
jvoung (off chromium)
2013/05/22 15:47:21
Why two separate RUN invocations? Can't you just
Mark Seaborn
2013/05/22 16:30:38
It makes the test stricter. Many other tests do t
jvoung (off chromium)
2013/05/22 16:50:40
Ah, right...
| |
2 ; NO_CTORS-NOT: __init_array_end | |
3 ; NO_CTORS-NOT: __fini_array_end | |
4 ; NO_CTORS-NOT: llvm.global_ctors | |
5 | |
6 ; RUN: opt %s -nacl-expand-ctors -S | FileCheck %s | |
7 | |
8 ; Check that the pass works when the initializer is "[]", which gets | |
9 ; converted into "undef" by the reader. | |
10 @llvm.global_ctors = appending global [0 x { i32, void ()* }] [] | |
11 | |
12 ; CHECK: @__init_array_start = internal constant [0 x void ()*] zeroinitializer | |
13 ; CHECK: @__fini_array_start = internal constant [0 x void ()*] zeroinitializer | |
OLD | NEW |