blob: 49e9bebdb59dea273dd7d6a70890a4b502e244cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- base/profiler/module_cache.cc.orig 2022-08-31 12:19:35 UTC
+++ base/profiler/module_cache.cc
@@ -34,7 +34,7 @@ struct ModuleAddressCompare {
std::string TransformModuleIDToBreakpadFormat(StringPiece module_id) {
std::string mangled_id(module_id);
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Linux ELF module IDs are 160bit integers, which we need to mangle
// down to 128bit integers to match the id that Breakpad outputs.
// Example on version '66.0.3359.170' x64:
|