summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AArch64/cold.s
blob: 812d77254542ef139746f25cea585cba978cc820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: llvm-mc -triple aarch64-apple-ios -o - -filetype=obj %s | \
// RUN:   llvm-readobj --symbols | FileCheck %s -check-prefix=READOBJ

// READOBJ-LABEL: Name: cold_func
// READOBJ-NEXT: Type: Section
// READOBJ-NEXT: Section: __text
// READOBJ-NEXT: RefType: UndefinedNonLazy (0x0)
// READOBJ-NEXT: Flags [ (0x400)

  .text
  .cold cold_func
cold_func:
  ret
OpenPOWER on IntegriCloud