[PATCH] Bug 21886 - MCJIT/ELF now support MSVC C++ mangled symbol

Benoit Belley benoit.belley at autodesk.com
Tue Jan 6 11:25:48 PST 2015


Hi lhames, Bigcheese, rafael,

http://llvm.org/bugs/show_bug.cgi?id=21886

The ELF format is used on Windows by the MCJIT engine. Thus, on Windows, the ELFObjectWriter can encounter symbols mangled
using the MS Visual Studio C++ name mangling. Symbols mangled using the MSVC C++ name mangling can legally have "@@@" as a substring. The EFLObjectWriter should not interpret the "@@@" substring as specifying GNU-style symbol versioning. The ELFObjectWriter therefore check for the MSVC C++ name mangling prefix which is either "?", "@?", "imp_?" or "imp_?@".

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6857

Files:
  lib/MC/ELFObjectWriter.cpp
  test/MC/ELF/symver-msvc.s

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6857.17841.patch
Type: text/x-patch
Size: 4558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150106/a2c6e156/attachment.bin>


More information about the llvm-commits mailing list