Lars Volker created IMPALA-7524:
-----------------------------------
Summary: Keep frame pointers for generated code
Key: IMPALA-7524
URL: https://issues.apache.org/jira/browse/IMPALA-7524
Project: IMPALA
Issue Type: Improvement
Components: Backend
Affects Versions: Impala 2.13.0, Impala 3.1.0
Reporter: Lars Volker
Generated code does not preserve the frame pointer and thus stack unwinding
does not work when we crash in generated functions. We should preserve the
frame pointers to make debugging easier. Kudu's experience and our own in
IMPALA-4132 suggest that the performance hit will be tolerable (but we still
should do a proper perf evaluation).
Here's Kudu's way of preserving the frame pointers:
[module_builder.cc:294|https://github.com/apache/kudu/blob/eb15beabd2d4d86649a35dcd027e1749cc695866/src/kudu/codegen/module_builder.cc#L294].
Thanks [~tlipcon] for the suggestion.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)