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)

Reply via email to