summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/lto/Inputs/defsym-bar.ll
blob: 840fecd1bed96626613ad50086e0b5ac3f5ceacd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

declare void @this_is_bar1()
declare void @this_is_bar2()
declare void @this_is_bar3()

define hidden void @bar1() {
  call void @this_is_bar1()
  ret void
}

define hidden void @bar2() {
  call void @this_is_bar2()
  ret void
}

define hidden void @bar3() {
  call void @this_is_bar3()
  ret void
}
OpenPOWER on IntegriCloud