mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 04:49:17 -04:00
11 lines
617 B
C++
11 lines
617 B
C++
--- 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:
|