OLD | NEW |
(Empty) | |
| 1 ; Currently we do not define __{init,fini}_array_end as named aliases. |
| 2 ; RUN: opt < %s -nacl-expand-ctors -S | FileCheck %s -check-prefix=NO_CTORS |
| 3 ; NO_CTORS-NOT: __init_array_end |
| 4 ; NO_CTORS-NOT: __fini_array_end |
| 5 |
| 6 ; RUN: opt < %s -nacl-expand-ctors -S | FileCheck %s |
| 7 |
| 8 ; If llvm.global_ctors is not present, it is treated as if it is an |
| 9 ; empty array, and __{init,fini}_array_start are defined anyway. |
| 10 |
| 11 ; CHECK: @__init_array_start = internal constant [0 x void ()*] zeroinitializer |
| 12 ; CHECK: @__fini_array_start = internal constant [0 x void ()*] zeroinitializer |
OLD | NEW |