Auto merge of #13116 - upsuper:msvc32-atoms, r=emilio

Avoid LLVM prepending "_" for msvc32 symbols.

See rust-lang/rust#36097. This patch adds a workaround to that issue, which makes win32 stylo build.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13116)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-08-29 21:07:00 -05:00 committed by GitHub
commit c55588d25b
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