Skip to main content

Module symbol_export

Module symbol_export 

Source

Re-exportsΒ§

use object::pe; πŸ”’
use rustc_abi::CanonAbi; πŸ”’
use rustc_abi::X86Call; πŸ”’
use rustc_ast::expand::allocator::AllocatorKind; πŸ”’
use rustc_ast::expand::allocator::NO_ALLOC_SHIM_IS_UNSTABLE; πŸ”’
use rustc_ast::expand::allocator::global_fn_name; πŸ”’
use rustc_crate_store::CrateDepKind; πŸ”’
use rustc_data_structures::fx::FxHashSet; πŸ”’
use rustc_data_structures::unord::UnordMap; πŸ”’
use rustc_hir as hir; πŸ”’
use rustc_hir::def::DefKind; πŸ”’
use rustc_hir::def_id::CrateNum; πŸ”’
use rustc_hir::def_id::DefId; πŸ”’
use rustc_hir::def_id::DefIdMap; πŸ”’
use rustc_hir::def_id::LOCAL_CRATE; πŸ”’
use rustc_hir::def_id::LocalDefId; πŸ”’
use rustc_middle::middle::codegen_fn_attrs::CodegenFnAttrFlags; πŸ”’
use rustc_middle::middle::exported_symbols::ExportedSymbol; πŸ”’
use rustc_middle::middle::exported_symbols::SymbolExportInfo; πŸ”’
use rustc_middle::middle::exported_symbols::SymbolExportKind; πŸ”’
use rustc_middle::middle::exported_symbols::SymbolExportLevel; πŸ”’
use rustc_middle::query::LocalCrate; πŸ”’
use rustc_middle::ty; πŸ”’
use rustc_middle::ty::GenericArgKind; πŸ”’
use rustc_middle::ty::GenericArgs; πŸ”’
use rustc_middle::ty::Instance; πŸ”’
use rustc_middle::ty::ShimKind; πŸ”’
use rustc_middle::ty::SymbolName; πŸ”’
use rustc_middle::ty::Ty; πŸ”’
use rustc_middle::ty::TyCtxt; πŸ”’
use rustc_middle::util::Providers; πŸ”’
use rustc_span::Span; πŸ”’
use rustc_span::bug; πŸ”’
use rustc_structures::CrateType; πŸ”’
use rustc_symbol_mangling::is_offload_kernel; πŸ”’
use rustc_symbol_mangling::mangle_internal_symbol; πŸ”’
use rustc_target::spec::Arch; πŸ”’
use rustc_target::spec::Os; πŸ”’
use rustc_target::spec::TlsModel; πŸ”’
use tracing::debug; πŸ”’
use crate::SymbolExport; πŸ”’
use crate::back::symbol_export; πŸ”’
use crate::base::allocator_shim_contents; πŸ”’
use std::collections::hash_map::Entry::*; πŸ”’

FunctionsΒ§

allocator_shim_symbols πŸ”’
calling_convention_for_symbol πŸ”’
coff_machine_for_arch πŸ”’
COFF IMAGE_FILE_MACHINE_* for an arch with decorated symbols, or None.
crate_export_threshold πŸ”’
crates_export_threshold
escape_symbol_name
exported_generic_symbols_provider_local πŸ”’
exported_non_generic_symbols_helper
Exposed separately without the β€œshould codegen” check so Miri can access it.
exported_non_generic_symbols_provider_local πŸ”’
exporting_symbol_name_for_instance_in_crate πŸ”’
extend_exported_symbols πŸ”’
On amdhsa, gpu-kernel functions have an associated metadata object with a .kd suffix. Add it to the symbols list for all kernel functions, so that it is exported in the linked object.
is_reachable_non_generic_provider_extern πŸ”’
is_reachable_non_generic_provider_local πŸ”’
is_unreachable_local_definition_provider πŸ”’
linking_symbol_name_for_instance_in_crate πŸ”’
This is the symbol name of the given instance as seen by the linker.
maybe_emutls_symbol_name πŸ”’
provide πŸ”’
reachable_non_generics_helper
Exposed separately without the β€œshould codegen” check so Miri can access it.
reachable_non_generics_provider πŸ”’
strip_numeric_suffix πŸ”’
symbol_export_level πŸ”’
symbol_name_for_instance_in_crate πŸ”’
This is the symbol name of the given instance instantiated in a specific crate.
threshold πŸ”’
undecorate_coff_symbol πŸ”’
Undecorated counterpart of linking_symbol_name_for_instance_in_crate.
upstream_async_drop_glue_for_provider πŸ”’
upstream_drop_glue_for_provider πŸ”’
upstream_monomorphizations_for_provider πŸ”’
upstream_monomorphizations_provider πŸ”’
wasm_import_module_map πŸ”’