[PATCH] Fix dllexport mangling issue

Nico Rieck nico.rieck at gmail.com
Sat Mar 1 19:28:22 PST 2014


On 01.03.2014 08:29, klutzy wrote:
> When a symbol is dllexported, LLVM wrongly mangled its name (`func` to
> `_func` or `_func at 16` for example). It caused linker error since linker
> doesn't accept mangled name for dllexport.

What version or kind of linker is this? Any further information? As it
stands, this patch is wrong. Clang generates the same symbol names for
functions and export directives as MSVC. Note that passing export
symbols via command line is a bit different from embedded directives.

> This patch fixes Bug 10174.

That bug seems bogus to me.

-Nico




More information about the llvm-commits mailing list