rust/compiler
Patrick Walton c41fd760db rustc_codegen_llvm: Give each codegen unit a unique DWARF name on all
platforms, not just Apple ones.

To avoid breaking split DWARF, we need to ensure that each codegen unit has a
unique `DW_AT_name`. This is because there's a remote chance that different
codegen units for the same module will have entirely identical DWARF entries
for the purpose of the DWO ID, which would violate Appendix F ("Split Dwarf
Object Files") of the DWARF 5 specification. LLVM uses the algorithm specified
in section 7.32 "Type Signature Computation" to compute the DWO ID, which does
not include any fields that would distinguish compilation units. So we must
embed the codegen unit name into the `DW_AT_name`.

Closes #88521.
2021-12-16 20:40:04 -08:00
..
rustc
rustc_apfloat Stabilize iter::zip. 2021-12-14 18:50:31 -04:00
rustc_arena
rustc_ast Auto merge of #91945 - matthiaskrgr:rollup-jszf9zp, r=matthiaskrgr 2021-12-15 03:28:55 +00:00
rustc_ast_lowering Rollup merge of #91888 - BoxyUwU:generic_arg_infer_aaaa, r=lcnr 2021-12-15 08:36:23 +01:00
rustc_ast_passes Stabilize destructuring_assignment 2021-12-14 22:38:51 -05:00
rustc_ast_pretty
rustc_attr
rustc_borrowck Stabilize iter::zip. 2021-12-14 18:50:31 -04:00
rustc_builtin_macros Rollup merge of #91881 - Patrick-Poitras:stabilize-iter-zip, r=scottmcm 2021-12-15 01:28:08 +01:00
rustc_codegen_cranelift Rollup merge of #91868 - tmiasko:llvm-time-trace-out, r=oli-obk 2021-12-15 01:28:06 +01:00
rustc_codegen_gcc Rollup merge of #91868 - tmiasko:llvm-time-trace-out, r=oli-obk 2021-12-15 01:28:06 +01:00
rustc_codegen_llvm rustc_codegen_llvm: Give each codegen unit a unique DWARF name on all 2021-12-16 20:40:04 -08:00
rustc_codegen_ssa Rollup merge of #91885 - LegionMammal978:less-inband-codegen_ssa, r=workingjubilee 2021-12-15 10:56:59 +01:00
rustc_const_eval Auto merge of #91945 - matthiaskrgr:rollup-jszf9zp, r=matthiaskrgr 2021-12-15 03:28:55 +00:00
rustc_data_structures
rustc_driver fix clippy::single_char_pattern perf findings 2021-12-14 12:40:28 +01:00
rustc_error_codes
rustc_errors Stabilize iter::zip. 2021-12-14 18:50:31 -04:00
rustc_expand Rollup merge of #90521 - jhpratt:stabilize-destructuring_assignment, r=jackh726,pnkfelix 2021-12-15 08:36:19 +01:00
rustc_feature Stabilize destructuring_assignment 2021-12-14 22:38:51 -05:00
rustc_fs_util
rustc_graphviz fix clippy::single_char_pattern perf findings 2021-12-14 12:40:28 +01:00
rustc_hir Rollup merge of #91888 - BoxyUwU:generic_arg_infer_aaaa, r=lcnr 2021-12-15 08:36:23 +01:00
rustc_hir_pretty
rustc_incremental
rustc_index Stabilize iter::zip. 2021-12-14 18:50:31 -04:00
rustc_infer Stabilize iter::zip. 2021-12-14 18:50:31 -04:00
rustc_interface Rollup merge of #91880 - matthiaskrgr:clippy_perf_dec, r=jyn514 2021-12-15 10:56:58 +01:00
rustc_lexer
rustc_lint Rollup merge of #91881 - Patrick-Poitras:stabilize-iter-zip, r=scottmcm 2021-12-15 01:28:08 +01:00
rustc_lint_defs Disable asm lint example tests since they only work on x86_64 2021-12-14 11:48:28 +00:00
rustc_llvm
rustc_macros
rustc_metadata
rustc_middle Rollup merge of #91920 - Aaron1011:pred-stable-cmp, r=oli-obk 2021-12-15 10:57:04 +01:00
rustc_mir_build Stabilize iter::zip. 2021-12-14 18:50:31 -04:00
rustc_mir_dataflow Stabilize iter::zip. 2021-12-14 18:50:31 -04:00
rustc_mir_transform Rollup merge of #91880 - matthiaskrgr:clippy_perf_dec, r=jyn514 2021-12-15 10:56:58 +01:00
rustc_monomorphize
rustc_parse Auto merge of #91962 - matthiaskrgr:rollup-2g082jw, r=matthiaskrgr 2021-12-15 12:41:42 +00:00
rustc_parse_format
rustc_passes Rollup merge of #91881 - Patrick-Poitras:stabilize-iter-zip, r=scottmcm 2021-12-15 01:28:08 +01:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system Stabilize iter::zip. 2021-12-14 18:50:31 -04:00
rustc_resolve Rollup merge of #91888 - BoxyUwU:generic_arg_infer_aaaa, r=lcnr 2021-12-15 08:36:23 +01:00
rustc_save_analysis Rollup merge of #91880 - matthiaskrgr:clippy_perf_dec, r=jyn514 2021-12-15 10:56:58 +01:00
rustc_serialize
rustc_session fix clippy::single_char_pattern perf findings 2021-12-14 12:40:28 +01:00
rustc_span Auto merge of #91660 - llogiq:make-a-hash-of-def-ids, r=nnethercote 2021-12-14 01:39:01 +00:00
rustc_symbol_mangling Stabilize iter::zip. 2021-12-14 18:50:31 -04:00
rustc_target Revert "Set MACOSX_DEPLOYMENT_TARGET env var to default for linking if not set." 2021-12-13 21:31:48 +01:00
rustc_trait_selection Rollup merge of #91880 - matthiaskrgr:clippy_perf_dec, r=jyn514 2021-12-15 10:56:58 +01:00
rustc_traits
rustc_ty_utils
rustc_type_ir Fix HashStable implementation on InferTy 2021-12-13 20:36:17 -08:00
rustc_typeck Rollup merge of #90521 - jhpratt:stabilize-destructuring_assignment, r=jackh726,pnkfelix 2021-12-15 08:36:19 +01:00