[LLDB][Breakpad] Create a function for each compilation unit.
authorZequan Wu <zequanwu@google.com>
Thu, 4 Nov 2021 02:19:55 +0000 (19:19 -0700)
committerZequan Wu <zequanwu@google.com>
Wed, 10 Nov 2021 18:51:16 +0000 (10:51 -0800)
commitfbf665a0086c8d88d62d60320bef4466c590132e
tree33656acc24a15f1db7ccac5104a36b83257412e1
parent360d901bf0478293d6e57f58bdb63b386f97f531
[LLDB][Breakpad] Create a function for each compilation unit.

Since every FUNC record (in breakpad) is a compilation unit, creating the
function for the CU allows `ResolveSymbolContext` to resolve
`eSymbolContextFunction`.

Differential Revision: https://reviews.llvm.org/D113163
lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
lldb/test/Shell/Minidump/Inputs/linux-x86_64.syms
lldb/test/Shell/Minidump/breakpad-symbols.test
lldb/test/Shell/SymbolFile/Breakpad/line-table.test
lldb/test/Shell/SymbolFile/Breakpad/symtab.test