aboutsummaryrefslogtreecommitdiff
path: root/devel/electron28/files/patch-base_profiler_module__cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron28/files/patch-base_profiler_module__cache.cc')
-rw-r--r--devel/electron28/files/patch-base_profiler_module__cache.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron28/files/patch-base_profiler_module__cache.cc b/devel/electron28/files/patch-base_profiler_module__cache.cc
new file mode 100644
index 000000000000..ec5f354defe7
--- /dev/null
+++ b/devel/electron28/files/patch-base_profiler_module__cache.cc
@@ -0,0 +1,11 @@
+--- base/profiler/module_cache.cc.orig 2023-11-29 21:39:40 UTC
++++ base/profiler/module_cache.cc
+@@ -37,7 +37,7 @@ std::string TransformModuleIDToSymbolServerFormat(Stri
+ // 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: