diff options
Diffstat (limited to 'www/chromium/files/patch-base_allocator_partition__allocator_starscan_pcscan__internal.cc')
-rw-r--r-- | www/chromium/files/patch-base_allocator_partition__allocator_starscan_pcscan__internal.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_starscan_pcscan__internal.cc b/www/chromium/files/patch-base_allocator_partition__allocator_starscan_pcscan__internal.cc new file mode 100644 index 000000000000..4e62c2a629f9 --- /dev/null +++ b/www/chromium/files/patch-base_allocator_partition__allocator_starscan_pcscan__internal.cc @@ -0,0 +1,11 @@ +--- base/allocator/partition_allocator/starscan/pcscan_internal.cc.orig 2021-07-28 07:02:32 UTC ++++ base/allocator/partition_allocator/starscan/pcscan_internal.cc +@@ -72,7 +72,7 @@ namespace internal { + + namespace { + +-#if DCHECK_IS_ON() && defined(OS_LINUX) ++#if DCHECK_IS_ON() && (defined(OS_LINUX) || defined(OS_BSD)) + // Currently, check reentracy only on Linux. On Android TLS is emulated by the + // runtime lib, which can allocate and therefore cause reentrancy. + struct ReentrantScannerGuard final { |