This is an archive of the discontinued LLVM Phabricator instance.

[libomptarget] Always call malloc, free via SafeMalloc, SafeFree wrapper
ClosedPublic

Authored by JonChesterfield on Oct 27 2019, 6:01 PM.

Details

Summary

[libomptarget] Always call malloc, free via SafeMalloc, SafeFree wrapper

NFC for release, adds some verbosity to debug printing. Motivation is to provide
one place where local modifications can be made to the behaviour of all heap
allocation or deallocation while debugging.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2019, 6:01 PM
ABataev accepted this revision.Oct 27 2019, 6:34 PM

Thanks for doing this, LG.

This revision is now accepted and ready to land.Oct 27 2019, 6:34 PM
This revision was automatically updated to reflect the committed changes.