This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fix memory leak when translating arguments
ClosedPublic

Authored by Hahnfeld on Sep 25 2017, 2:09 PM.

Details

Summary

Parsing the argument after -Xopenmp-target allocates memory that needs
to be freed. Associate it with the final DerivedArgList after we know
which one will be used.

Diff Detail

Repository
rL LLVM

Event Timeline

Hahnfeld created this revision.Sep 25 2017, 2:09 PM
This revision is now accepted and ready to land.Sep 27 2017, 7:37 AM
This revision was automatically updated to reflect the committed changes.