[ 
https://issues.apache.org/jira/browse/IMPALA-7524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Ho updated IMPALA-7524:
-------------------------------
    Labels: codegen  (was: )

> 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
>            Priority: Major
>              Labels: codegen
>
> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to