This is an archive of the discontinued LLVM Phabricator instance.

[hwasan] Add definitions for missing operator delete functions
ClosedPublic

Authored by leonardchan on Feb 14 2023, 9:59 AM.

Diff Detail

Event Timeline

leonardchan created this revision.Feb 14 2023, 9:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 14 2023, 9:59 AM
Herald added a subscriber: Enna1. · View Herald Transcript
leonardchan requested review of this revision.Feb 14 2023, 9:59 AM
Herald added a subscriber: Restricted Project. · View Herald TranscriptFeb 14 2023, 9:59 AM
This revision is now accepted and ready to land.Feb 14 2023, 10:21 AM

This indicates a lack of testing coverage for the runtime. We should add runtime tests that use all the allocator signatures explicitly.

This indicates a lack of testing coverage for the runtime. We should add runtime tests that use all the allocator signatures explicitly.

Added tests for the suite of operator new/delete functions. I'll give it a day to see if anyone else has comments before landing.

vitalybuka accepted this revision.Feb 14 2023, 3:46 PM
vitalybuka added a subscriber: kstoimenov.

@kstoimenov Can be this the cause of false leaks?

This revision was landed with ongoing or failed builds.Feb 15 2023, 11:41 AM
This revision was automatically updated to reflect the committed changes.
thakis added a subscriber: thakis.Feb 15 2023, 12:03 PM

As far as I can tell this doesn't build: http://45.33.8.238/linux/99657/step_10.txt

dyung added a subscriber: dyung.Feb 15 2023, 12:22 PM

It also failed with a similar error on our bot https://lab.llvm.org/buildbot/#/builders/247/builds/1627