Avoid LLVM prepending "_" for msvc32 symbols.

This commit is contained in:
Xidorn Quan 2016-08-30 11:23:14 +10:00
parent 6dfb5f0572
commit 3bb7fdf025
2 changed files with 2459 additions and 2457 deletions

View file

@ -17,7 +17,9 @@ def msvc64_symbolify(source, ident):
def msvc32_symbolify(source, ident):
return "?" + ident + "@" + source.CLASS + "@@2PAV" + source.TYPE + "@@A"
# Prepend "\x01" to avoid LLVM prefixing the mangled name with "_".
# See https://github.com/rust-lang/rust/issues/36097
return "\\x01?" + ident + "@" + source.CLASS + "@@2PAV" + source.TYPE + "@@A"
class GkAtomSource:

File diff suppressed because it is too large Load diff