backtrace-labs / crashpad

A fork of Crashpad with file attachment support and other improvements.
Apache License 2.0
99 stars 33 forks source link

Allow to use crash handler code from the crashpad library #62

Closed konraddysput closed 5 months ago

konraddysput commented 5 months ago

Why

Crashpad allows using direct methods like HandlerMain to generate a minidump and send it via Java Crash Handler. Right now, we're including crashpad handler code in the crashpad_handler.so we're unable to call methods like HandlerMain.

This change allows defining a variable that cmake can set to tell where to include handler code.

ref: BT-2852