Sign in
cobalt
/
cobalt
/
e83fce97d7405b0b5e569d961aa431b1112ac6ac
/
.
/
src
/
third_party
/
llvm-project
/
lld
/
test
/
wasm
/
Inputs
/
weak-symbol1.ll
blob: 6e394ff91d0cf697d713fbcf9b4b37986d4a20e0 [
file
] [
log
] [
blame
]
target
triple
=
"wasm32-unknown-unknown"
define
weak
i32
@weakFn
()
#
0
{
entry
:
ret
i32
1
}
define
i32
@exportWeak1
()
{
entry
:
ret
i32
ptrtoint
(
i32
()*
@weakFn
to
i32
)
}
@weakGlobal
=
weak
global
i32
1