git
, python
, llvm
and clang++
. The following snippet will download and install all the dependencies on an Ubuntu system:minidump_stackwalk
can match modules loaded at runtime with the corresponding .sym
file.libbase.a
must be the last library argument specified otherwise your code will not compile.clang++
, specify the -g
flag to ensure the output executable contains symbolic information for debugging. Additionally when building with clang++
you must pass the -Wl,--build-id
argument in order to ensure the linker creates a build identifier in the output executable. The following script from myUbuntuCrasher demonstrates how to link the Crashpad libraries and output an executable with symbolic information using clang++
:dump_syms
and symupload
in order to generate and upload .sym
files to BugSplat. Instructions on how to build these tools can be found here.dump_syms
and symupload
the following script will generate symbols and upload them to BugSplat: