llvm-project/lld/test/pecoff/Inputs
Rui Ueyama b18489c8bf [PECOFF] Find symbols with @number suffix for dllexported symbols
As written in the comment in this patch, symbol names specified with
/export option is resolved in a special way; for /export:foo, linker
finds a foo@<number> symbol if such symbols exists.

On Windows, a function in stdcall calling convention is mangled with
a leading underscore and following "@" and numbers. This name
mangling is kind of automatic, so you can sometimes omit _ and @number
when specifying a symbol. /export option is that case.

Previously, if a file in an archive file foo.lib provides a symbol
_fn@8, and /export:fn is specified, LLD failed to resolve the symbol.
It only tried to find _fn, and failed to find _fn@8. With this patch,
_fn@8 will be searched on the second iteration.

Differential Revision: http://reviews.llvm.org/D3736

llvm-svn: 208754
2014-05-14 06:29:32 +00:00
..
alignment.obj.yaml [PECOFF] Handle edge case where no section alignment is specified. 2013-10-25 00:54:13 +00:00
alternatename1.obj.yaml [PECOFF] Implement /alternatename weak symbols. 2013-12-09 05:02:57 +00:00
alternatename2.obj.yaml [PECOFF] Implement /alternatename weak symbols. 2013-12-09 05:02:57 +00:00
alternatename3.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
bss.asm [PECOFF] Emit BSS section. 2013-07-30 22:56:46 +00:00
bss.obj [PECOFF] Emit BSS section. 2013-07-30 22:56:46 +00:00
comdat.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
common-symbol.obj.yaml [PECOFF] Fix common symbol alignment. 2014-04-09 01:01:51 +00:00
drectve.obj.yaml [PECOFF] Fix priority of locally imported symbols. 2014-04-30 03:31:46 +00:00
export.obj.yaml [PECOFF] Find symbols with @number suffix for dllexported symbols 2014-05-14 06:29:32 +00:00
exports.def [PECOFF] Support =internalName syntax in .def file. 2014-05-02 03:43:51 +00:00
grouped-sections.asm [PECOFF] Support linking against DLL. 2013-07-11 08:46:21 +00:00
grouped-sections.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
hello.asm
hello.obj.yaml [PECOFF] Skip IMAGE_SYM_DEBUG sections correctly. 2014-04-22 23:48:42 +00:00
imagebase.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
machine-type-unknown.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
main.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
merge-largest1.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
merge-largest2.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
merge-same-size1.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
merge-same-size2.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
merge-same-size3.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
nonstandard-sections.obj.yaml Re-submit r195852 with GroupedSectionsPass change. 2013-12-07 00:27:17 +00:00
nop.asm
nop.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
nop64.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
reloc.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
reloc64-1.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
reloc64-2.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
resource.rc [PECOFF] Add a test for the resource file. 2013-11-04 05:17:54 +00:00
resource.res [PECOFF] Add a test for the resource file. 2013-11-04 05:17:54 +00:00
responsefile.txt [PECOFF] Add one more test for r203875. 2014-03-14 00:44:17 +00:00
seh.c [PECOFF] Emit Load Configuration and SEH Table for x86. 2014-02-26 08:27:59 +00:00
seh.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
static-data1.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
static-data2.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
static.lib [PECOFF] Support .lib archive file. 2013-06-15 05:15:41 +00:00
subsystem.main.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
subsystem.winmain.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
unknown-drectve.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
unwind.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
vars-main.c [PECOFF] Trim at most one character from imported symbols. 2013-08-12 04:10:00 +00:00
vars-main.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
vars.c [PECOFF] Trim at most one character from imported symbols. 2013-08-12 04:10:00 +00:00
vars.dll.yaml [PECOFF] Trim at most one character from imported symbols. 2013-08-12 04:10:00 +00:00
vars.lib [PECOFF] Trim at most one character from imported symbols. 2013-08-12 04:10:00 +00:00
weak-externals.asm [PECOFF] Handle weak external symbols. 2013-09-12 21:42:52 +00:00
weak-externals.obj.yaml [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00