]> git.lizzy.rs Git - rust.git/commit
Auto merge of #42971 - stepancheg:ir-demangle, r=nagisa
authorbors <bors@rust-lang.org>
Sat, 1 Jul 2017 05:52:08 +0000 (05:52 +0000)
committerbors <bors@rust-lang.org>
Sat, 1 Jul 2017 05:52:08 +0000 (05:52 +0000)
commitd41b791c1af56b1f538cc6f77e597b7ad5b4d223
tree6a2e60cd6329d5d8a5d93a78d56a55512aa7283f
parent4a92ae2524bdd73ea92a570dfc9c7644920482ad
parentb62bdaafe038b8933fac5df5fa0fa5ddbaf176b7
Auto merge of #42971 - stepancheg:ir-demangle, r=nagisa

When writing LLVM IR output demangled fn name in comments

`--emit=llvm-ir` looks like this now:

```
; <alloc::vec::Vec<T> as core::ops::index::IndexMut<core::ops::range::RangeFull>>::index_mut
; Function Attrs: inlinehint uwtable
define internal { i8*, i64 } @"_ZN106_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$core..ops..index..IndexMut$LT$core..ops..range..RangeFull$GT$$GT$9index_mut17h7f7b576609f30262E"(%"alloc::vec::Vec<u8>"* dereferenceable(24)) unnamed_addr #0 {
start:
  ...
```

cc https://github.com/integer32llc/rust-playground/issues/15
src/Cargo.lock