aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-third__party_WebKit_Source_wtf_ContainerAnnotations.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-third__party_WebKit_Source_wtf_ContainerAnnotations.h')
-rw-r--r--www/iridium/files/patch-third__party_WebKit_Source_wtf_ContainerAnnotations.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/iridium/files/patch-third__party_WebKit_Source_wtf_ContainerAnnotations.h b/www/iridium/files/patch-third__party_WebKit_Source_wtf_ContainerAnnotations.h
new file mode 100644
index 000000000000..63eecc98cde7
--- /dev/null
+++ b/www/iridium/files/patch-third__party_WebKit_Source_wtf_ContainerAnnotations.h
@@ -0,0 +1,11 @@
+--- third_party/WebKit/Source/wtf/ContainerAnnotations.h.orig 2017-04-19 19:06:50 UTC
++++ third_party/WebKit/Source/wtf/ContainerAnnotations.h
+@@ -10,7 +10,7 @@
+
+ // TODO(ochang): Remove the CPU(X86_64) condition to enable this for X86 once
+ // the crashes there have been fixed: http://crbug.com/461406
+-#if defined(ADDRESS_SANITIZER) && OS(LINUX) && CPU(X86_64)
++#if defined(ADDRESS_SANITIZER) && (OS(LINUX) || OS(BSD)) && CPU(X86_64)
+ #define ANNOTATE_CONTIGUOUS_CONTAINER
+ #define ANNOTATE_NEW_BUFFER(buffer, capacity, newSize) \
+ if (buffer) { \