DescriptionFix DrMemory warning in VS 2015 CRT
In VS 2015 builds every call to realloc triggers a warning like this:
Error #1: INVALID HEAP ARGUMENT: allocated with Windows API layer, queried with C library layer
0 replace_malloc_usable_size
1 _recalloc_base
2 <lambda_4e60a939b0d047cfe11ddc22648dfba9>::operator()
3 __crt_seh_guarded_call<>::operator()<>
4 __acrt_lock_and_call<>
5 _register_onexit_function
6 _crt_atexit
7 _onexit
8 atexit
9 testing::`dynamic initializer for 'FLAGS_gmock_verbose''
This mismatch is harmless (because the CRT always uses the Windows heap)
and out of our control. Therefore it should be suppressed.
With this suppression I now get a clean run on this previously failing
test:
tools\valgrind\chrome_tests.bat -t content_browsertests --tool \
drmemory_light --build-dir=out\Release \
--gtest_filter=ManifestBrowserTest.DummyManifest
BUG=440500, 594808
Committed: https://crrev.com/4ecae6cf0186d351706937b23d00ccaa5db9f1be
Cr-Commit-Position: refs/heads/master@{#381840}
Patch Set 1 #Patch Set 2 : Move suppression #Messages
Total messages: 14 (6 generated)
|