diff options
| author | The Miri Cronjob Bot <miri@cron.bot> | 2024-07-04 05:01:57 +0000 |
|---|---|---|
| committer | The Miri Cronjob Bot <miri@cron.bot> | 2024-07-04 05:01:57 +0000 |
| commit | d24bfd48b25a3aced787a774c9d679956f164cc6 (patch) | |
| tree | d3be0ce1b9ff8dada8e736c6921bb9b5c134dffd /compiler/rustc_codegen_llvm/src/context.rs | |
| parent | 5c2946a4beb927d5c34519d5310b6507efb91724 (diff) | |
| parent | 66b4f0021bfb11a8c20d084c99a40f4a78ce1d38 (diff) | |
| download | rust-d24bfd48b25a3aced787a774c9d679956f164cc6.tar.gz rust-d24bfd48b25a3aced787a774c9d679956f164cc6.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/context.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/context.rs b/compiler/rustc_codegen_llvm/src/context.rs index 1a8e8efdae5..77beb9a6bb3 100644 --- a/compiler/rustc_codegen_llvm/src/context.rs +++ b/compiler/rustc_codegen_llvm/src/context.rs @@ -28,7 +28,7 @@ use rustc_session::config::{BranchProtection, CFGuard, CFProtection}; use rustc_session::config::{CrateType, DebugInfo, PAuthKey, PacRet}; use rustc_session::Session; use rustc_span::source_map::Spanned; -use rustc_span::Span; +use rustc_span::{Span, DUMMY_SP}; use rustc_target::abi::{call::FnAbi, HasDataLayout, TargetDataLayout, VariantIdx}; use rustc_target::spec::{HasTargetSpec, RelocModel, Target, TlsModel}; use smallvec::SmallVec; @@ -580,6 +580,7 @@ impl<'ll, 'tcx> MiscMethods<'tcx> for CodegenCx<'ll, 'tcx> { ty::ParamEnv::reveal_all(), def_id, ty::List::empty(), + DUMMY_SP, )), _ => { let name = name.unwrap_or("rust_eh_personality"); |
