bombela / backward-cpp

A beautiful stack trace pretty printer for C++
MIT License
3.66k stars 466 forks source link

Slow stacktraces when built with clang #328

Open no-more-secrets opened 5 months ago

no-more-secrets commented 5 months ago

For a long time now, when I build with gcc my stacktraces generate instantaneously, but when I build with clang they are very slow, sometimes 1-2 seconds per frame. I've observed this with many versions of gcc and many versions of clang over the last few years, so it seems to be a robust issue. Any idea what could cause this? Have you tried using this library with clang? Would really like to find a solution to this.

no-more-secrets commented 5 months ago

Should also mention that I use the lld linker when I build with clang, if that matters.