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

Side by Side Diff: test/Transforms/NaCl/expand-ctors-zeroinit.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 9 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 ; 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 ; We expect this symbol to be removed:
7 ; RUN: opt < %s -nacl-expand-ctors -S | not grep llvm.global_ctors
8
9 ; RUN: opt < %s -nacl-expand-ctors -S | FileCheck %s
10
11 ; If llvm.global_ctors is zeroinitializer, it should be treated the
12 ; same as an empty array.
13
14 @llvm.global_ctors = appending global [0 x { i32, void ()* }] zeroinitializer
15
16 ; CHECK: @__init_array_start = internal constant [0 x void ()*] zeroinitializer
17 ; CHECK: @__fini_array_start = internal constant [0 x void ()*] zeroinitializer
OLDNEW
« no previous file with comments | « test/Transforms/NaCl/expand-ctors-emptylist.ll ('k') | test/Transforms/NaCl/expand-getelementptr.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698