Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7524

Keep frame pointers for generated code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 2.13.0, Impala 3.1.0
    • None
    • Backend
    • ghx-label-7

    Description

      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.

      Thanks tlipcon for the suggestion.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lv Lars Volker
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: