codegen: change $6d$ to $u6d$
This changes a mistake introduced in #61195 where the mangling workaround used was incorrect.
This commit is contained in:
parent
041bec87c0
commit
e71f4665f6
3 changed files with 7 additions and 7 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue