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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs