LLVM Discussion Forums

Cannot pass SIGSEGV / EXC_BAD_ACCESS on OSX

This is a very old and longstanding bug https://bugs.llvm.org/show_bug.cgi?id=40669

I recently encountered it running Delve (the Go Debugger) on OSX.

Per these stack overflow comments https://stackoverflow.com/questions/26829119/how-to-make-lldb-ignore-exc-bad-access-exception/32724035#comment94068788_26853954 the fix appears trivial.

Does the fix proposed fix there make sense? To simply allow the LLDB to catch the signal?

I tried to make the change myself but ran into other issues building lldb.

Thanks.