Files
clang-p2996/llvm/test/CodeGen/AArch64/clang-section-macho.ll
2021-02-25 09:30:10 -08:00

12 lines
242 B
LLVM

;RUN: llc -mtriple=arm64-apple-ios %s -o - | FileCheck %s
define dso_local void @foo() #0 {
entry:
ret void
}
attributes #0 = { "implicit-section-name"="__TEXT,__mytext" }
; CHECK: .section __TEXT,__mytext
; CHECK-NEXT: .globl _foo