[PATCH] D145459: [hwasan] Add non-exception variant of operator delete[] for hwasan

Leonard Chan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 19:19:11 PST 2023


leonardchan added a comment.

Hmm, so test in `compiler-rt/test/hwasan/TestCases/new-test.cpp` does exercise this function via `operator delete[](alloc, size, align);`, but since we provide weak definitions for these symbols, even if the hwasan implementation isn't provided, then it'll default to the one provided by stdlib_new_delete.cpp.o in libc++. Not sure how easy it would be to tell the testing infrastructure not to use some specific symbols from libc++.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145459/new/

https://reviews.llvm.org/D145459



More information about the llvm-commits mailing list