sourcegraph / lsif-clang

Language Server Indexing Format (LSIF) generator for C, C++ and Objective C
https://lsif.dev/
35 stars 8 forks source link

Add backtraces for debugging. #80

Closed varungandhi-src closed 2 years ago

varungandhi-src commented 2 years ago

I've directly copied the header from backward-cpp for now, as it is also MIT licensed, and this seemed simpler than having to futz more with CMake and/or submodules.

This fixes both issues:

I'm not 100% sure if this will work with OOM, but there doesn't seem to be any harm in trying.

Fixes #73.

Test plan

Manually tested. See instructions in