[LLVMbugs] [Bug 22488] New: clang -target i386-pc-win32 marks too many symbols as "/EXPORT"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Feb 6 03:05:21 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22488
Bug ID: 22488
Summary: clang -target i386-pc-win32 marks too many symbols as
"/EXPORT"
Product: clang
Version: 3.6
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: markus at oberhumer.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
clang 3.6.0rc2 -target i386-pc-win32 marks too many symbols as "/EXPORT".
MSVC and GCC only mark "_foo" as export, but *NOT* "_bar".
$ cat test_export.c
__declspec(dllexport) int bar(int x);
__declspec(dllexport) int foo(int x);
int foo(int x) { return bar(x) + 1; }
// EOF
$ clang-3.6.0rc2 -target i386-pc-win32 -Wall -W -O2 -S test_export.c
$ grep -i 'export:' test_export.s
.ascii " /EXPORT:_foo"
.ascii " /EXPORT:_bar"
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150206/e4e73a1c/attachment.html>
More information about the llvm-bugs
mailing list