aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc
blob: 31d7a54601da058eaf5e4deebc430b1e37561466 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc.orig	2020-07-07 21:58:16 UTC
+++ services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc
@@ -525,7 +525,7 @@ void TracingSamplerProfiler::TracingProfileBuilder::Sa
 
 // static
 void TracingSamplerProfiler::MangleModuleIDIfNeeded(std::string* module_id) {
-#if defined(OS_ANDROID) || defined(OS_LINUX)
+#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_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: