mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Avoid LLVM prepending "_" for msvc32 symbols.
This commit is contained in:
parent
6dfb5f0572
commit
3bb7fdf025
2 changed files with 2459 additions and 2457 deletions
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue