Add BreakpadSymbolizer to handle BreakpadParser and symbolize frames.
The current trace_to_text tool uses an llvm symbolizer to symbolize
a trace from the binary. In order to add support for multiple platforms,
we need a breakpad symbolizer to symbolize traces using breakpad files.
The BreakpadSymbolizer class accomplishes this by using a BreakpadParser
object to parse a breakpad symbol file and return the symbolized frames.
Bug: b/191080142
Change-Id: Ie0eed25ae21bbb537e97362b1a668ab7395e275c
diff --git a/BUILD b/BUILD
index 139ee59..9693b14 100644
--- a/BUILD
+++ b/BUILD
@@ -770,6 +770,8 @@
srcs = [
"src/profiling/symbolizer/breakpad_parser.cc",
"src/profiling/symbolizer/breakpad_parser.h",
+ "src/profiling/symbolizer/breakpad_symbolizer.cc",
+ "src/profiling/symbolizer/breakpad_symbolizer.h",
"src/profiling/symbolizer/filesystem.h",
"src/profiling/symbolizer/filesystem_posix.cc",
"src/profiling/symbolizer/filesystem_windows.cc",