codegen: change $6d$ to $u6d$

This changes a mistake introduced in #61195 where the mangling
workaround used was incorrect.
This commit is contained in:
David Wood 2019-06-01 11:37:11 +01:00
parent 041bec87c0
commit e71f4665f6
No known key found for this signature in database
GPG key ID: 01760B4F9F53F154
3 changed files with 7 additions and 7 deletions

View file

@ -440,7 +440,7 @@ impl fmt::Write for SymbolPrinter<'_, '_> {
'-' | ':' => self.path.temp_buf.push('.'),
// Avoid crashing LLVM in certain (LTO-related) situations, see #60925.
'm' if self.path.temp_buf.ends_with(".llv") => self.path.temp_buf.push_str("$6d$"),
'm' if self.path.temp_buf.ends_with(".llv") => self.path.temp_buf.push_str("$u6d$"),
// These are legal symbols
'a'..='z' | 'A'..='Z' | '0'..='9' | '_' | '.' | '$' => self.path.temp_buf.push(c),