You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2023/08/03 17:50:00 UTC

[jira] [Created] (IMPALA-12334) Enable debug symbols in LLVM library debug build

Michael Smith created IMPALA-12334:
--------------------------------------

             Summary: Enable debug symbols in LLVM library debug build
                 Key: IMPALA-12334
                 URL: https://issues.apache.org/jira/browse/IMPALA-12334
             Project: IMPALA
          Issue Type: Task
          Components: Backend
            Reporter: Michael Smith


Impala uses two builds of LLVM, one that's Release-optimized and another with assertions enabled. The library with assertions enabled is only used for Impala debug builds.

It would be useful to have debug symbols enabled when developing with LLVM to understand errors and assertion failures in LLVM source code. LLVM supports a RelWithDebInfo build (https://llvm.org/docs/CMake.html#frequently-used-cmake-variables) that shouldn't affect performance much (if at all) and would make debugging simpler. Let's enable it in the assertion-enabled builds (which already accept a performance hit from assertions).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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