]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #73715 - MaulingMonkey:pr-natvis-tuples, r=Amanieu
authorManish Goregaokar <manishsmail@gmail.com>
Sat, 11 Jul 2020 15:53:13 +0000 (08:53 -0700)
committerGitHub <noreply@github.com>
Sat, 11 Jul 2020 15:53:13 +0000 (08:53 -0700)
debuginfo:  Mangle tuples to be natvis friendly, typedef basic types

These changes are meant to unblock rust-lang/rust#70052 "Update hashbrown to 0.8.0" by allowing the use of `tuple<u64, u64>` as a .natvis expression in MSVC style debuggers (MSVC, WinDbg, CDB, etc.)

f8eb81b does the actual mangling of `(u64, u64)` -> `tuple<u64, 64>`
24a728a allows `u64` to resolve (fixing `$T1` / `$T2` when used to visualize `HashMap<u64, u64, ...>`)

1  2 
src/librustc_codegen_llvm/debuginfo/metadata.rs
src/librustc_codegen_llvm/llvm/ffi.rs
src/rustllvm/RustWrapper.cpp

Simple merge
Simple merge