24 lines · plain
1; RUN: llc < %s -mtriple x86_64-apple-darwin | FileCheck %s2 3; Check that *coal* sections are not emitted.4 5; CHECK: .section __TEXT,__text,regular,pure_instructions{{$}}6; CHECK-NEXT: .globl _foo7 8; CHECK: .section __TEXT,__const{{$}}9; CHECK-NEXT: .globl _a10 11; CHECK: .section __DATA,__data{{$}}12; CHECK-NEXT: .globl _b13 14@a = weak_odr constant [4 x i32] [i32 1, i32 2, i32 3, i32 4], align 1615@b = weak global i32 5, align 416@g = common global ptr null, align 817 18; Function Attrs: nounwind ssp uwtable19define weak ptr @foo() {20entry:21 store ptr @a, ptr @g, align 822 ret ptr @b23}24