unsafe { llvm::LLVMRustGetModuleDataLayout(self.llmod()) }
}
- pub fn exported_symbols<'a>(&'a self) -> &'a NodeSet {
- &self.shared.exported_symbols
- }
-
pub fn needs_unwind_cleanup_cache(&self) -> &RefCell<FxHashMap<Ty<'tcx>, bool>> {
&self.local().needs_unwind_cleanup_cache
}
// visible). It might better to use the `exported_items` set from
// `driver::CrateAnalysis` in the future, but (atm) this set is not
// available in the translation pass.
- !cx.exported_symbols().contains(&node_id)
+ !cx.shared().exported_symbols().contains(&node_id)
}
#[allow(non_snake_case)]