1 ; RUN: llc < %s -mtriple x86_64-apple-darwin | FileCheck %s
3 ; Check that *coal* sections are not emitted.
5 ; CHECK: .section __TEXT,__text,regular,pure_instructions{{$}}
6 ; CHECK-NEXT: .globl _foo
8 ; CHECK: .section __TEXT,__const{{$}}
9 ; CHECK-NEXT: .globl _a
11 ; CHECK: .section __DATA,__data{{$}}
12 ; CHECK-NEXT: .globl _b
14 @a = weak_odr constant [4 x i32] [i32 1, i32 2, i32 3, i32 4], align 16
15 @b = weak global i32 5, align 4
16 @g = common global i32* null, align 8
18 ; Function Attrs: nounwind ssp uwtable
19 define weak i32* @foo() {
21 store i32* getelementptr inbounds ([4 x i32], [4 x i32]* @a, i64 0, i64 0), i32** @g, align 8