Reland "[hwasan] Add definitions for missing operator delete functions"
authorLeonard Chan <leonardchan@google.com>
Wed, 15 Feb 2023 22:34:21 +0000 (22:34 +0000)
committerLeonard Chan <leonardchan@google.com>
Wed, 15 Feb 2023 23:47:01 +0000 (23:47 +0000)
commit22b7685401e82a845a37eed349fa1dafa58d762b
tree050d7d83c91f42d4270b92432719fd559d32b1ca
parenta9269773eb94ddd36ec3e624740013ca3a5885ba
Reland "[hwasan] Add definitions for missing operator delete functions"

Looks like builders were failing for the sized variants of operator
delete. These are hidden behind the __cpp_sized_deallocation macro
which can be defined with -fsized-deallocation.
compiler-rt/lib/hwasan/hwasan_new_delete.cpp
compiler-rt/test/hwasan/TestCases/new-test.cpp