Revert "[HWASan] Use hwasan_memalign for aligned new."
authorNico Weber <thakis@chromium.org>
Sat, 12 Feb 2022 18:56:50 +0000 (13:56 -0500)
committerNico Weber <thakis@chromium.org>
Sat, 12 Feb 2022 18:57:28 +0000 (13:57 -0500)
commita908c535f983bd31ab9346675ff89d34334603aa
tree002aabb6102bb84d3a192ae6e3d820cba4e0837d
parentde4e855204aab9ecf0507f57341cad9c349b3c49
Revert "[HWASan] Use hwasan_memalign for aligned new."

This reverts commit 4fb7c120fed504519d167c93ed9d920aeae46fb0.
Breaks tests on Linux were system gcc doesn't support C++17
(but gcc used to build LLVM does), see https://reviews.llvm.org/D119161
compiler-rt/lib/hwasan/hwasan_new_delete.cpp
compiler-rt/test/hwasan/TestCases/new-test.cpp