rust/compiler/rustc_codegen_llvm/src
bors 9a757817c3 Auto merge of #89597 - michaelwoerister:improve-vtable-debuginfo, r=wesleywiser
Create more accurate debuginfo for vtables.

Before this PR all vtables would have the same name (`"vtable"`) in debuginfo. Now they get an unambiguous name that identifies the implementing type and the trait that is being implemented.

This is only one of several possible improvements:
- This PR describes vtables as arrays of `*const u8` pointers. It would nice to describe them as structs where function pointer is represented by a field with a name indicative of the method it maps to. However, this requires coming up with a naming scheme that avoids clashes between methods with the same name (which is possible if the vtable contains multiple traits).
- The PR does not update the debuginfo we generate for the vtable-pointer field in a fat `dyn` pointer. Right now there does not seem to be an easy way of getting ahold of a vtable-layout without also knowing the concrete self-type of a trait object.

r? `@wesleywiser`
2021-10-11 04:31:47 +00:00
..
back Default to disabling the new pass manager for the s390x targets. 2021-10-08 15:05:07 +02:00
coverageinfo Fix clippy lints 2021-10-01 23:17:19 +02:00
debuginfo Auto merge of #89597 - michaelwoerister:improve-vtable-debuginfo, r=wesleywiser 2021-10-11 04:31:47 +00:00
llvm Rollup merge of #89025 - ricobbe:raw-dylib-link-ordinal, r=michaelwoerister 2021-10-07 20:26:11 -07:00
abi.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
allocator.rs Include debug info for the allocator shim 2021-08-31 15:24:20 -07:00
asm.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
attributes.rs Enable AutoFDO. 2021-10-06 19:36:52 +00:00
base.rs Move EncodedMetadata to rustc_metadata. 2021-09-30 19:41:32 +02:00
builder.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
callee.rs add platform support details file for armv7-unknown-linux-uclibc 2021-10-06 14:33:13 +00:00
common.rs Make abi::Abi Copy and remove a *lot* of refs 2021-09-09 10:41:19 +02:00
consts.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
context.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
declare.rs
intrinsic.rs Rollup merge of #89298 - gcohara:issue89193, r=workingjubilee 2021-10-07 16:24:48 +02:00
lib.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
llvm_util.rs Rollup merge of #83655 - sebpop:arm64-outline-atomics, r=workingjubilee 2021-10-04 13:58:06 -07:00
mono_item.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
type_.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
type_of.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
va_arg.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
value.rs