This is an archive of the discontinued LLVM Phabricator instance.

Trying to fix Mangler memory leak in TargetLoweringObjectFile.
ClosedPublic

Authored by ioeric on Sep 16 2016, 4:56 AM.

Details

Summary

TargetLoweringObjectFile can be re-used and thus TargetLoweringObjectFile::Initialize()
can be called multiple times causing Mang pointer memory leak.

Diff Detail

Repository
rL LLVM

Event Timeline

ioeric updated this revision to Diff 71616.Sep 16 2016, 4:56 AM
ioeric retitled this revision from to Trying to fix Mangler memory leak in TargetLoweringObjectFile..
ioeric updated this object.
ioeric added a reviewer: echristo.
ioeric added a subscriber: llvm-commits.

Since this is blocking our internal integration, I will commit it now. Please re-open this if there is any problem.

This revision was automatically updated to reflect the committed changes.