rust/compiler/rustc_codegen_llvm/src
Guillaume Gomez 239287f013
Rollup merge of #97028 - ridwanabdillahi:pretty-printer, r=michaelwoerister
Add support for embedding pretty printers via `#[debugger_visualizer]` attribute

Initial support for [RFC 3191](https://github.com/rust-lang/rfcs/pull/3191) in PR https://github.com/rust-lang/rust/pull/91779 was scoped to supporting embedding NatVis files using a new attribute. This PR implements the pretty printer support as stated in the RFC mentioned above.

This change includes embedding pretty printers in the `.debug_gdb_scripts` just as the pretty printers for rustc are embedded today. Also added additional tests for embedded pretty printers. Additionally cleaned up error checking so all error checking is done up front regardless of the current target.

RFC: https://github.com/rust-lang/rfcs/pull/3191
2022-05-29 01:12:30 +02:00
..
back Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
coverageinfo add #[rustc_pass_by_value] to more types 2022-03-08 15:39:52 +01:00
debuginfo Update documentation. 2022-05-24 11:22:14 -07:00
llvm rustc_codegen_ssa: cleanup AtomicOrdering 2022-05-25 10:34:35 +02:00
abi.rs Mark scalar layout unions so that backends that do not support partially initialized scalars can special case them. 2022-04-05 13:18:21 +00:00
allocator.rs Auto merge of #88098 - Amanieu:oom_panic, r=nagisa 2022-03-18 03:01:46 +00:00
asm.rs Add tmm_reg clobbers 2022-05-16 20:15:06 -04:00
attributes.rs only_local: always check for misuse 2022-05-10 12:07:35 +02:00
base.rs Auto merge of #95689 - lqd:self-profiler, r=wesleywiser 2022-04-16 11:43:28 +00:00
builder.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
callee.rs Remove in_band_lifetimes from rustc_codegen_llvm 2021-12-16 14:43:32 -05:00
common.rs Mark scalar layout unions so that backends that do not support partially initialized scalars can special case them. 2022-04-05 13:18:21 +00:00
consts.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
context.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
declare.rs Remove LLVM attribute removal 2022-02-28 00:02:11 -05:00
intrinsic.rs Allow unused rules in some places in the compiler, library and tools 2022-05-05 19:13:00 +02:00
lib.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
llvm_util.rs Drop support for -Znew-llvm-pass-manager=no with LLVM 15 2022-04-20 09:25:47 +02:00
mono_item.rs Remove in_band_lifetimes from rustc_codegen_llvm 2021-12-16 14:43:32 -05:00
type_.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
type_of.rs Mark scalar layout unions so that backends that do not support partially initialized scalars can special case them. 2022-04-05 13:18:21 +00:00
va_arg.rs Introduce Bx::switch_to_block 2022-02-24 12:18:21 +01:00
value.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00