[scudo][test] Disable -Wfree-nonheap-object
authorLeonard Chan <leonardchan@google.com>
Fri, 26 Feb 2021 19:13:42 +0000 (11:13 -0800)
committerLeonard Chan <leonardchan@google.com>
Fri, 26 Feb 2021 19:14:50 +0000 (11:14 -0800)
commitbed888242662c2327b32b91a03635e079ad5667e
treed645442b97a9db7361b0616c031aec90349a1333
parenta47d435bc4307ca71612dd03f09f12f7ff6b461f
[scudo][test] Disable -Wfree-nonheap-object

As of 4f395db86b5cc11bb56853323d3cb1d4b6db5a0b which contains updates to
-Wfree-nonheap-object, a line in this test will trigger the warning. This
particular line is ok though since it's meant to test a free on a bad pointer.

Differential Revision: https://reviews.llvm.org/D97516
compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp