Re-exportsยง
use std::ops::Range;๐use rustc_abi::Align;๐use rustc_abi::ExternAbi;๐use rustc_abi::HasDataLayout;๐use rustc_abi::Primitive;๐use rustc_abi::Scalar;๐use rustc_abi::Size;๐use rustc_abi::WrappingRange;๐use rustc_attr_ir::Linkage;๐use rustc_attr_ir::lang_items::LangItem;๐use rustc_codegen_ssa::common;๐use rustc_hir::def::DefKind;๐use rustc_hir::def_id::DefId;๐use rustc_hir::def_id::LOCAL_CRATE;๐use rustc_middle::middle::codegen_fn_attrs::CodegenFnAttrFlags;๐use rustc_middle::middle::codegen_fn_attrs::CodegenFnAttrs;๐use rustc_middle::mir::interpret::Allocation;๐use rustc_middle::mir::interpret::ConstAllocation;๐use rustc_middle::mir::interpret::ErrorHandled;๐use rustc_middle::mir::interpret::InitChunk;๐use rustc_middle::mir::interpret::Pointer;๐use rustc_middle::mir::interpret::Scalar as InterpScalar;๐use rustc_middle::mir::interpret::read_target_uint;๐use rustc_middle::mono::MonoItem;๐use rustc_middle::ty::layout::HasTypingEnv;๐use rustc_middle::ty::layout::LayoutOf;๐use rustc_middle::ty;๐use rustc_middle::ty::Instance;๐use rustc_span::Symbol;๐use rustc_span::bug;๐use rustc_span::span_bug;๐use rustc_target::spec::Arch;๐use tracing::debug;๐use tracing::instrument;๐use tracing::instrument;๐use tracing::trace;๐use crate::common::CodegenCx;๐use crate::diagnostics::SymbolAlreadyDefined;๐use crate::llvm;๐use crate::llvm::Type;๐use crate::llvm::Value;๐use crate::llvm::const_ptr_auth;๐use crate::type_of::LayoutLlvmExt;๐use crate::base;๐use crate::debuginfo;๐use rustc_codegen_ssa::traits::*;๐
Enumsยง
- IsInit
OrFini ๐ - Indicates whether a symbol is part of
.init_arrayor.fini_array. - IsStatic ๐
- Indicates whether a value originates from a
static.
Functionsยง
- check_
and_ ๐apply_ linkage - codegen_
static_ ๐initializer - const_
alloc_ ๐to_ llvm - set_
global_ ๐alignment