summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/PowerPC/aix-xcoff-cold.ll
blob: 531be9d07dd49fa0ae180d7d1a5e7a16632d41fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llc -mtriple powerpc64-ibm-aix-xcoff -filetype=obj -o %t.o < %s
; RUN: llvm-objdump --syms %t.o | FileCheck %s

; CHECK:      SYMBOL TABLE:
; CHECK-NEXT: 0000000000000000      df *DEBUG* 0000000000000000 <stdin>
; CHECK-NEXT: 0000000000000000 l       .text   000000000000001e .text
; CHECK-NEXT: 0000000000000000 g     F .text (csect: .text)  0000000000000000 .cold_fun
; CHECK-NEXT: 0000000000000020 g     O .data   0000000000000018 cold_fun

define dso_local void @cold_fun() #1 {
entry:
  ret void
}

attributes #1 = { cold }