1 ; RUN: llc < %s -mtriple x86_64-apple-darwin | FileCheck %s 2 3 ; Check that *coal* sections are not emitted. 4 5 ; CHECK: .section __TEXT,__text,regular,pure_instructions{{$}} 6 ; CHECK-NEXT: .globl _foo 7 8 ; CHECK: .section __TEXT,__const{{$}} 9 ; CHECK-NEXT: .globl _a 10 11 ; CHECK: .section __DATA,__data{{$}} 12 ; CHECK-NEXT: .globl _b 13 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 17 18 ; Function Attrs: nounwind ssp uwtable 19 define weak i32* @foo() { 20 entry: 21 store i32* getelementptr inbounds ([4 x i32], [4 x i32]* @a, i64 0, i64 0), i32** @g, align 8 22 ret i32* @b 23 } 24