summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorQin Zhao <zhaoqin@google.com>2015-11-25 13:23:43 -0500
committerQin Zhao <zhaoqin@google.com>2015-11-25 13:23:43 -0500
commite77fc688dde137da9e91dce9bf7326541b5e19c1 (patch)
treefbe1f7b88dcaeb047425fff6b79de6a49e3545ff /tools
parentc998e22d3bb0c9ce035aea2e9fe9e39a3f14fe3c (diff)
downloadpdfium-e77fc688dde137da9e91dce9bf7326541b5e19c1.tar.xz
Merge to XFA: Suppress invalid-heap-arg error in pdfium_unittests
Visual Studio sometimes uses new instead of new[] for array allocation, which causes Dr. Memory report invalid-heap-arg errors. Suppress such errors since it is not developers' problems. TBR=tsepez@chromium.org BUG=pdfium:287 Review URL: https://codereview.chromium.org/1473913002 . (cherry picked from commit 1fb4bc47e216c9caebdf7bc8479d45285ee7693b) Review URL: https://codereview.chromium.org/1475023003 .
Diffstat (limited to 'tools')
-rw-r--r--tools/drmemory/suppressions.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/drmemory/suppressions.txt b/tools/drmemory/suppressions.txt
index ee85dfea49..2ad8236cae 100644
--- a/tools/drmemory/suppressions.txt
+++ b/tools/drmemory/suppressions.txt
@@ -20,3 +20,9 @@ name=embeddertests:DrM-i#471
*!v8::internal::Deoptimizer::ComputeOutputFrames
*!v8::internal::`anonymous namespace'::Invoke
*!v8::internal::Execution::Call
+
+# PDFium-i#287: new/delete[] mismatch
+INVALID HEAP ARGUMENT
+name=i#287:new-delete-array-mismatch
+drmemorylib.dll!replace_operator_delete_array
+*!NumberlikeArray<>::~NumberlikeArray<>