summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-readobj/file-headers.test
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-09-01 06:01:53 +0000
committerRui Ueyama <ruiu@google.com>2015-09-01 06:01:53 +0000
commitb355fd030890020e1fa70f66e0c9e45146bcb125 (patch)
tree688ce1d45701d32b7e618c67c78e8ccedbb00742 /llvm/test/tools/llvm-readobj/file-headers.test
parent1ded69870e144e75b7a812411e67cace4174695e (diff)
downloadbcm5719-llvm-b355fd030890020e1fa70f66e0c9e45146bcb125.tar.gz
bcm5719-llvm-b355fd030890020e1fa70f66e0c9e45146bcb125.zip
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. llvm-svn: 246532
Diffstat (limited to 'llvm/test/tools/llvm-readobj/file-headers.test')
-rw-r--r--llvm/test/tools/llvm-readobj/file-headers.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-readobj/file-headers.test b/llvm/test/tools/llvm-readobj/file-headers.test
index 10fbcbcc153..2d67089d611 100644
--- a/llvm/test/tools/llvm-readobj/file-headers.test
+++ b/llvm/test/tools/llvm-readobj/file-headers.test
@@ -333,5 +333,5 @@ COFF-UNKNOWN-NEXT: }
COFF-IMPORTLIB: Format: COFF-import-file
COFF-IMPORTLIB-NEXT: Type: code
COFF-IMPORTLIB-NEXT: Name type: noprefix
-COFF-IMPORTLIB-NEXT: Symbol: _func
COFF-IMPORTLIB-NEXT: Symbol: __imp__func
+COFF-IMPORTLIB-NEXT: Symbol: _func
OpenPOWER on IntegriCloud