summaryrefslogtreecommitdiffstats
path: root/dwflpp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dwflpp.cxx')
-rw-r--r--dwflpp.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwflpp.cxx b/dwflpp.cxx
index 3356ad78..b1d9a32b 100644
--- a/dwflpp.cxx
+++ b/dwflpp.cxx
@@ -2182,7 +2182,8 @@ dwflpp::express_as_string (string prelude,
fprintf(memstream, "{\n");
fprintf(memstream, "%s", prelude.c_str());
- bool deref = c_emit_location (memstream, head, 1);
+ unsigned int stack_depth;
+ bool deref = c_emit_location (memstream, head, 1, &stack_depth);
fprintf(memstream, "%s", postlude.c_str());
fprintf(memstream, " goto out;\n");