summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Burtsev <kirill.burtsev@qt.io>2019-12-09 16:23:58 +0100
committerKirill Burtsev <kirill.burtsev@qt.io>2020-01-21 14:38:46 +0000
commit35b6d2c483898b42d87fcc390ca92aef2f6a6b71 (patch)
treeef8445b2cd5a11df9434d812efc626e32c6d1484
parentc1be521d4b091c8dc65d44e26a8734260a9ad381 (diff)
downloadqtwebengine-chromium-35b6d2c483898b42d87fcc390ca92aef2f6a6b71.tar.gz
third_party perfetto: add missing include for clang, asan and no_pch
Change-Id: If4350e3c8c62bbf7a2f263d80e8025a74d5995d0 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r--chromium/third_party/perfetto/include/perfetto/ext/base/container_annotations.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/third_party/perfetto/include/perfetto/ext/base/container_annotations.h b/chromium/third_party/perfetto/include/perfetto/ext/base/container_annotations.h
index 183e6e0fb9a..5cc743a878c 100644
--- a/chromium/third_party/perfetto/include/perfetto/ext/base/container_annotations.h
+++ b/chromium/third_party/perfetto/include/perfetto/ext/base/container_annotations.h
@@ -23,6 +23,8 @@
#if defined(ADDRESS_SANITIZER) && !PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) && \
!defined(ADDRESS_SANITIZER_WITHOUT_INSTRUMENTATION)
+#include <sanitizer/common_interface_defs.h>
+
#define ANNOTATE_NEW_BUFFER(buffer, capacity, new_size) \
if (buffer) { \
__sanitizer_annotate_contiguous_container(buffer, (buffer) + (capacity), \