diff options
author | Rui Ueyama <ruiu@google.com> | 2014-05-09 22:19:49 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2014-05-09 22:19:49 +0000 |
commit | 629d201c975cc94617c688cc1abe304b9815e618 (patch) | |
tree | f27f44ee76a36fa450ebd0adfe91821ec4767af2 /llvm/lib/IR/Function.cpp | |
parent | eacb4d841723150106c801bee7f62b609852b6ed (diff) | |
download | bcm5719-llvm-629d201c975cc94617c688cc1abe304b9815e618.tar.gz bcm5719-llvm-629d201c975cc94617c688cc1abe304b9815e618.zip |
[PECOFF] Resolve dllexported symbols.
We did not actively try to resolve dllexported symbols specified
by /export or by a module definition file. So if exported symbols
would be resolved for other reasons, like other symbols refer to
them, that was fine, but if (unreferenced) exported symbols were
in an archive file, and no one refers to that file in the archive,
they remained unresolved.
That would obviously cause the issue that dllexported symbols are
not in a resultant DLL.
In this patch, we create an undefined symbol for each dllexported
symbol, to let the core linker to resolve it.
llvm-svn: 208452
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions