diff options
author | Rui Ueyama <ruiu@google.com> | 2016-01-09 01:22:00 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-01-09 01:22:00 +0000 |
commit | 84425d7289e8f0b667a43bf60035aed66ac8184d (patch) | |
tree | 254eeea9f91d1c3d9ce83d03402ad131d686f096 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 22861aeab8d4d5525d709806494ece1a42478297 (diff) | |
download | llvm-84425d7289e8f0b667a43bf60035aed66ac8184d.zip llvm-84425d7289e8f0b667a43bf60035aed66ac8184d.tar.gz llvm-84425d7289e8f0b667a43bf60035aed66ac8184d.tar.bz2 |
COFF: Implement DLL symbol forwarding.
DLL export tables usually contain dllexport'ed symbol RVAs so that
applications which use the DLLs can find symbols from the DLLs.
However, there's a minor feature to "forward" DLL symbols to other
DLLs.
If you set an RVA to a string whose form is "<dllname>.<symbolname>"
(e.g. "KERNEL32.ExitProcess") instead of symbol RVA to the export
table, the loader interprets that as a forwarder symbol, and resolve
that symbol from the specified DLL.
This patch implements that feature.
llvm-svn: 257243
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions