ports/www/chromium/patches/patch-base_profiler_module_cache_cc

13 lines
715 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: base/profiler/module_cache.cc
--- base/profiler/module_cache.cc.orig
+++ base/profiler/module_cache.cc
2023-09-14 00:49:35 +00:00
@@ -52,7 +52,7 @@ std::string TransformModuleIDToSymbolServerFormat(Stri
2023-08-16 22:26:55 +00:00
// Android and Linux Chrome builds use the "breakpad" format to index their
// build id, so we transform the build id for these platforms. All other
// platforms keep their symbols indexed by the original build ID.
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || 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: