Breakpad: Basic support for STACK WIN unwinding

Authored by labath on Sep 5 2019, 12:05 AM.


Breakpad: Basic support for STACK WIN unwinding

This patch makes it possible to unwind via breakpad STACK WIN records.
It is "basic" because two important features are missing:

  • support for the .raSearch keyword
  • support for multiple STACK WIN records within a single function

Right now, we just reject the .raSearch records, and always pick the
first record for the whole function
SymbolFileBreakpad, and so I think it can serve as a good example of
what is needed of the symbol file and unwinding machinery to make this

However, it is already useful for unwinding in some situations, and it
sets up the general framework for the parsing of these kinds of records,
which reduces the size of the followup patches implementing the two
other components.

Reviewers: amccarth, rnk, markmentovai

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D67067

llvm-svn: 371017