|
@@ -44,6 +44,7 @@ impl Frame {
|
|
|
Ok(Some(Self { fde_result, row }))
|
|
|
}
|
|
|
|
|
|
+ #[cfg(feature = "dwarf-expr")]
|
|
|
fn evaluate_expression(
|
|
|
&self,
|
|
|
ctx: &Context,
|
|
@@ -83,6 +84,15 @@ impl Frame {
|
|
|
)
|
|
|
}
|
|
|
|
|
|
+ #[cfg(not(feature = "dwarf-expr"))]
|
|
|
+ fn evaluate_expression(
|
|
|
+ &self,
|
|
|
+ ctx: &Context,
|
|
|
+ expr: Expression<StaticSlice>,
|
|
|
+ ) -> Result<usize, gimli::Error> {
|
|
|
+ Err(gimli::Error::UnsupportedEvaluation)
|
|
|
+ }
|
|
|
+
|
|
|
pub fn unwind(&self, ctx: &Context) -> Result<Context, gimli::Error> {
|
|
|
let row = &self.row;
|
|
|
let mut new_ctx = ctx.clone();
|