[Lldb-commits] [PATCH] D61733: Breakpad: Generate unwind plans from STACK CFI records

Adrian McCarthy via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 9 13:05:12 PDT 2019


amccarth accepted this revision.
amccarth added a comment.

LGTM once you double-check the return value in the error case at the end of `SymbolFileBreakpad::ParseUnwindRow`.



================
Comment at: source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp:472
+  if (!unwind_rules.empty())
+    LLDB_LOG(log, "Could not parse `{0}` as an unwind rule.", unwind_rules);
+  return true;
----------------
Should the function return `false` when there are leftover unparsable rules?  The other error cases seem to do that.


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

https://reviews.llvm.org/D61733





More information about the lldb-commits mailing list