aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/ARM/Windows/private-func.ll
blob: 2d030ae3fabbbb44fb38eb3bd98d00a396f221f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; RUN: llc -mtriple thumbv7-windows -filetype asm -o - %s | FileCheck %s

define dso_local void @func1() {
entry:
  call void @func2()
  ret void
}

define private void @func2() {
entry:
  ret void
}

; CHECK:      .def    .Lfunc2;
; CHECK-NEXT: .scl    3;
; CHECK-NEXT: .type   32;
; CHECK-NEXT: .endef