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
[ELF] relocateNonAlloc: clean up workaround code
[llvm-project.git]
/
lld
/
test
/
wasm
/
optional-symbol.s
blob
bac98838e6aeedd625f0fabe4c7266412aa2424a
1
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
2
# RUN: wasm-ld --export=get_handle %t.o -o %t.wasm
3
4
.globl get_handle
5
get_handle
:
6
.functype get_handle () -> (i32)
7
i32.const __dso_handle
8
end_function
9
10
.globl _start
11
_start
:
12
.functype _start () -> ()
13
end_function