This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Ensure PointerDeallocate actually deallocate pointers
ClosedPublic

Authored by jeanPerier on Mar 25 2022, 10:59 AM.

Details

Summary

PointerDeallocate was silently doing nothing because it relied on
Destroy that doe not do anything for Pointers. Add an option to Destroy
in order to destroy pointers.

Add a unit test for PointerDeallocate.

Diff Detail

Event Timeline

jeanPerier created this revision.Mar 25 2022, 10:59 AM
Herald added a project: Restricted Project. · View Herald Transcript
jeanPerier requested review of this revision.Mar 25 2022, 10:59 AM
klausler accepted this revision.Mar 25 2022, 11:01 AM
This revision is now accepted and ready to land.Mar 25 2022, 11:01 AM