llvm-project
27 строк · 456.0 Байт
1# REQUIRES: x86
2# RUN: llvm-mc -triple=x86_64-windows-gnu -filetype=obj -o %t.obj %s
3# RUN: lld-link %t.obj /out:%t.exe /entry:entry /subsystem:console /guard:cf
4
5.def @feat.00;
6.scl 3;
7.type 0;
8.endef
9.globl @feat.00
10.set @feat.00, 2048
11
12.globl entry
13entry:
14retq
15
16.data
17.globl funcs
18funcs:
19.quad weakfunc
20
21.section .gfids$y,"dr"
22.symidx weakfunc
23.section .giats$y,"dr"
24.section .gljmp$y,"dr"
25.weak weakfunc
26.addrsig
27.addrsig_sym weakfunc
28