diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-12-14 19:30:46 +0100 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-12-14 19:30:46 +0100 |
| commit | 98a276b5895697a862b48bcaf07b423de0b0deef (patch) | |
| tree | 5ecf0b879e0e8f95ec7d00951b767c59d9ac7205 /src/debuginfo | |
| parent | f7c76ad6624118c96717298fb0a8e6f84b5a9265 (diff) | |
| download | rust-98a276b5895697a862b48bcaf07b423de0b0deef.tar.gz rust-98a276b5895697a862b48bcaf07b423de0b0deef.zip | |
Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14
Diffstat (limited to 'src/debuginfo')
| -rw-r--r-- | src/debuginfo/unwind.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/debuginfo/unwind.rs b/src/debuginfo/unwind.rs index d26392c4913..493359c743f 100644 --- a/src/debuginfo/unwind.rs +++ b/src/debuginfo/unwind.rs @@ -39,7 +39,9 @@ impl UnwindContext { } pub(crate) fn add_function(&mut self, func_id: FuncId, context: &Context, isa: &dyn TargetIsa) { - let unwind_info = if let Some(unwind_info) = context.create_unwind_info(isa).unwrap() { + let unwind_info = if let Some(unwind_info) = + context.compiled_code().unwrap().create_unwind_info(isa).unwrap() + { unwind_info } else { return; |
