#include <memory>
#include "src/profiling/symbolizer/breakpad_parser.h"
#include "perfetto/base/logging.h"
#include "perfetto/ext/base/file_utils.h"
#include "perfetto/ext/base/string_splitter.h"
#include "perfetto/ext/base/string_utils.h"
#include "perfetto/ext/base/string_writer.h"
namespace perfetto {
namespace profiling {
namespace {
bool SymbolComparator(const uint64_t i, const BreakpadParser::Symbol& sym) { … }
std::optional<std::string> GetFileContents(const std::string& file_path) { … }
base::Status ParseIfModuleRecord(base::StringView first_line) { … }
}
BreakpadParser::BreakpadParser(const std::string& file_path)
: … { … }
bool BreakpadParser::ParseFile() { … }
bool BreakpadParser::ParseFromString(const std::string& file_contents) { … }
std::optional<std::string> BreakpadParser::GetSymbol(uint64_t address) const { … }
base::Status BreakpadParser::ParseIfFuncRecord(base::StringView current_line) { … }
}
}