bombela/backward-cpp

backward trace with compressed debug sections

davidebenato opened this issue · 1 comments

Hello,

I am using backward-cpp successfully for my project.
I compile with gcc on Linux.
My binary is very large, and in order to mitigate the size I found I could compress the debug sections by running:

objcopy --compress-debug-sections my_binary

Unfortunately as a consequence of this, backtrace-cpp doesn't display the backtrace anymore.
I compile the library using the conan package, configured as follows:

    default_options = {
        "shared": False,
        "fPIC": True,
        "stack_walking": "unwind",
        "stack_details": "dw",
    }

Could you please advise if what I am trying to do is supported?

somehow it started working as expected