rust/compiler/rustc_codegen_llvm/src/debuginfo
bors 2f92f050e8 Auto merge of #136471 - safinaskar:parallel, r=SparrowLii
tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`

tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`

This is continuation of https://github.com/rust-lang/rust/pull/132282 .

I'm pretty sure I did everything right. In particular, I searched all occurrences of `Lrc` in submodules and made sure that they don't need replacement.

There are other possibilities, through.

We can define `enum Lrc<T> { Rc(Rc<T>), Arc(Arc<T>) }`. Or we can make `Lrc` a union and on every clone we can read from special thread-local variable. Or we can add a generic parameter to `Lrc` and, yes, this parameter will be everywhere across all codebase.

So, if you think we should take some alternative approach, then don't merge this PR. But if it is decided to stick with `Arc`, then, please, merge.

cc "Parallel Rustc Front-end" ( https://github.com/rust-lang/rust/issues/113349 )

r? SparrowLii

`@rustbot` label WG-compiler-parallel
2025-02-06 10:50:05 +00:00
..
metadata Use ExistentialTraitRef throughout codegen 2025-01-30 15:34:00 +00:00
create_scope_map.rs Use LLVMDIBuilderCreateLexicalBlock 2025-02-01 14:14:40 +11:00
doc.md fix most compiler/ doctests 2022-05-02 17:40:30 -07:00
dwarf_const.rs Use constants for DWARF opcodes, instead of FFI calls 2025-01-05 22:16:25 +11:00
gdb.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
metadata.rs Use LLVMDIBuilderCreateLexicalBlockFile 2025-02-01 14:14:40 +11:00
mod.rs Auto merge of #136471 - safinaskar:parallel, r=SparrowLii 2025-02-06 10:50:05 +00:00
namespace.rs Use LLVMDIBuilderCreateNameSpace 2025-02-01 14:14:39 +11:00
utils.rs Introduce DIBuilderBox, an owning pointer to DIBuilder 2025-02-01 13:34:14 +11:00