diff options
| author | David Wood <david@davidtw.co> | 2019-06-01 11:37:11 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2019-06-01 11:37:11 +0100 |
| commit | e71f4665f6cf2e200a40eaed12bcaa603dfbc08f (patch) | |
| tree | 96a0def54ae5a90b22fb255792288512cf2800bc /src/librustc_codegen_utils | |
| parent | 041bec87c022128556640b7091f479f3040c3c37 (diff) | |
| download | rust-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.rs | 2 |
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), |
