repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
ExecutionEngine
/
Orc
/
weak-comdat.ll
blob
e1e1ab02e2981b3caea5d141f2c736ab887700e1
1
; RUN: lli -extra-module %p/Inputs/weak-comdat-def.ll %s
2
; UNSUPPORTED: target={{.*}}-darwin{{.*}}
3
4
declare i32 @g()
5
6
$f = comdat nodeduplicate
7
8
define weak i32 @f() comdat {
9
entry:
10
%0 = call i32 @g()
11
ret i32 %0
12
}
13
14
define i32 @main() {
15
entry:
16
%0 = call i32 @f()
17
ret i32 %0
18
}