Object: Fix COFF import file's symbols.
authorRui Ueyama <ruiu@google.com>
Tue, 1 Sep 2015 06:01:53 +0000 (06:01 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 1 Sep 2015 06:01:53 +0000 (06:01 +0000)
commit5c1fa7fc49b4315985256e3c1d37371435376837
tree8a48dcb7cd28176f8a9f1257d08a5456a23f1fda
parent06fdb3019671e94780d23f8e9446875253f23060
Object: Fix COFF import file's symbols.

If a symbol is marked as "data", the symbol should be exported
with __imp_ prefix. Previously, the symbol was exported as-is.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246532 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/COFFImportFile.h
test/Object/archive-symtab.test
test/tools/llvm-readobj/file-headers.test