Files
clang-p2996/lld/test/COFF/Inputs/constant-import.s
Saleem Abdulrasool 5c98b74536 COFF: actually synthesize CONST imports properly
CONSTANT imports expect both the `_imp_` prefixed and non-prefixed
symbols should be added to the symbol table.  This allows for linking
symbols like _NSConcreteGlobalBlock in WinObjC.  The previous change
would generate the import library properly by handling the option but
would not consume the generated entry properly.

llvm-svn: 301657
2017-04-28 17:06:40 +00:00

22 lines
275 B
ArmAsm

.def __DllMainCRTStartup@12
.type 32
.scl 2
.endef
.global __DllMainCRTStartup@12
__DllMainCRTStartup@12:
ret
.data
.def _Data
.type 0
.scl 2
.endef
.global _Data
_Data:
.long ___CFConstantStringClassReference
.section .drectve
.ascii " -export:_Data"