diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-10-08 18:04:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-08 18:04:07 -0500 |
commit | 745d60610ec6979368fc240472f7c04a3e04f282 (patch) | |
tree | 3ce751af7d67a72aafbf680ce9d9f30c108ef835 /src/codegen/impl_debug.rs | |
parent | c7fe6b67fa71f7a7a5d8534aa608865a987c1e94 (diff) | |
parent | f2b30c8b07959bf92b161157ba200b7ec301271f (diff) |
Auto merge of #1063 - liranringel:disable-mangling-if-link-name-is-specified, r=emilio
Tell LLVM to not mangle names if they're already mangled
LLVM mangles the name by default but functions are already mangled because the `link_name` attribute's value is mangled.
Prefixing the name with `\u{1}` should tell LLVM to not mangle it.
I originally thought it's a bug in rustc, but it was clarified here: https://github.com/rust-lang/rust/issues/45073
Diffstat (limited to 'src/codegen/impl_debug.rs')
0 files changed, 0 insertions, 0 deletions