about summary refs log tree commit diff
path: root/src/librustc_codegen_utils
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2019-06-01 11:37:11 +0100
committerDavid Wood <david@davidtw.co>2019-06-01 11:37:11 +0100
commite71f4665f6cf2e200a40eaed12bcaa603dfbc08f (patch)
tree96a0def54ae5a90b22fb255792288512cf2800bc /src/librustc_codegen_utils
parent041bec87c022128556640b7091f479f3040c3c37 (diff)
downloadrust-e71f4665f6cf2e200a40eaed12bcaa603dfbc08f.tar.gz
rust-e71f4665f6cf2e200a40eaed12bcaa603dfbc08f.zip
codegen: change `$6d$` to `$u6d$`
This changes a mistake introduced in #61195 where the mangling
workaround used was incorrect.
Diffstat (limited to 'src/librustc_codegen_utils')
-rw-r--r--src/librustc_codegen_utils/symbol_names/legacy.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_utils/symbol_names/legacy.rs b/src/librustc_codegen_utils/symbol_names/legacy.rs
index 53682b9bdc2..6eaa22afce1 100644
--- a/src/librustc_codegen_utils/symbol_names/legacy.rs
+++ b/src/librustc_codegen_utils/symbol_names/legacy.rs
@@ -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),