[Lldb-commits] [PATCH] D91012: [llvm] [Support] Fix segv if argv0 is null in getMainExecutable()

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 9 01:04:23 PST 2020


labath accepted this revision.
labath added a comment.

Ok, I understand what's happening now. The problem is calling PrintStackTrace without a previous PrintStackTraceOnErrorSignal. That seems reasonable. It would be nice to have a llvm test for this, but that would be quite tricky, as all gtests implicitly call PrintStackTraceOnErrorSignal, and all utilities call InitLLVM (which call PrintStackTraceOnErrorSignal)...


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91012/new/

https://reviews.llvm.org/D91012



More information about the lldb-commits mailing list