[cfe-dev] Underscores/mangling symbol names

Astron B boldaster at gmail.com
Sun Dec 22 03:22:03 PST 2013


Hi.

I compiled some simple code using clang that prints to console using
printf. When I check the name of the symbols in the compiled object file I
find

_printf

I'm wondering why the name appears to be mangled when the printf function
in msvcr110.dll is simply "printf." How does the linker match up these
symbols correctly?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131222/70b8481b/attachment.html>


More information about the cfe-dev mailing list