rust/compiler/rustc_codegen_ssa/src
Eric Huss 5cddd24daa
Rollup merge of #92375 - wesleywiser:consolidate_debuginfo_msvc_check, r=michaelwoerister
Consolidate checking for msvc when generating debuginfo

If the target we're generating code for is msvc, then we do two main
things differently: we generate type names in a C++ style instead of a
Rust style and we generate debuginfo for enums differently.

I've refactored the code so that there is one function
(`cpp_like_debuginfo`) which determines if we should use the C++ style
of naming types and other debuginfo generation or the regular Rust one.

r? ``@michaelwoerister``

This PR is not urgent so please don't let it interrupt your holidays! 🎄 🎁
2022-01-07 20:20:58 -08:00
..
back cg: use thorin instead of llvm-dwp 2022-01-06 09:32:42 +00:00
coverageinfo Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
debuginfo Consolidate checking for msvc when generating debuginfo 2022-01-07 12:36:09 -05:00
mir Rollup merge of #90102 - nbdd0121:box3, r=jonas-schievink 2022-01-03 14:44:15 +01:00
traits keep noinline for system llvm < 14 2021-12-30 00:15:51 -05:00
base.rs Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obk 2021-12-19 09:31:37 +00:00
common.rs Remove redundant [..]s 2021-12-09 00:01:29 +01:00
glue.rs Attach range metadata to alignment loads from vtables 2021-12-05 16:07:27 -05:00
lib.rs Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
meth.rs Auto merge of #89597 - michaelwoerister:improve-vtable-debuginfo, r=wesleywiser 2021-10-11 04:31:47 +00:00
mono_item.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00
target_features.rs asm: Allow using r9 (ARM) and x18 (AArch64) if they are not reserved by 2021-12-10 00:51:39 +00:00