From f526d777e0b378392c0666f4c414072cf64c1007 Mon Sep 17 00:00:00 2001 From: Kai Ninomiya Date: Mon, 6 Apr 2020 22:27:02 +0000 Subject: [PATCH] Fix is_asan build (at least on Mac) The changes in this CL are copied from Chromium. Bug: dawn:355 Change-Id: I3772b5849b096dd11541b94331309293f1a64fb5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/18903 Reviewed-by: Austin Eng Commit-Queue: Austin Eng --- DEPS | 10 ++++++++++ tools/memory/asan/blacklist.txt | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 tools/memory/asan/blacklist.txt diff --git a/DEPS b/DEPS index 2089e3e6f3..1c00d7dd67 100644 --- a/DEPS +++ b/DEPS @@ -28,6 +28,16 @@ deps = { 'url': '{chromium_git}/chromium/src/third_party/binutils@01aa7745b0bab64ae22600f09fd6483c60f22ebf', 'condition': 'dawn_standalone', }, + 'tools/clang/dsymutil': { + 'packages': [ + { + 'package': 'chromium/llvm-build-tools/dsymutil', + 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC', + } + ], + 'condition': 'checkout_mac or checkout_ios', + 'dep_type': 'cipd', + }, # Testing, GTest and GMock 'testing': { diff --git a/tools/memory/asan/blacklist.txt b/tools/memory/asan/blacklist.txt new file mode 100644 index 0000000000..35fa055dec --- /dev/null +++ b/tools/memory/asan/blacklist.txt @@ -0,0 +1,4 @@ +# The rules in this file are only applied at compile time. If you can modify the +# source in question, consider function attributes to disable instrumentation. +# +# Please think twice before you add or remove these rules.