diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-15 06:15:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-15 06:15:35 +0000 |
commit | c28cc093e3b5b8601cb5024a5365a6f31f49839a (patch) | |
tree | 00f05f95c95cfd6ee3616fd54f07b2c5eaf8ace7 /lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | e002da34efeed0f1622c767b3ca1eeaa791124ed (diff) |
fix a memory leak yjasskin pointed out: MCSymbol is bump pointer
allocated and thus not freed. This is cool except that it contains
and std::string so the string data didn't get freed. In any case
there is no reason to redundantly store the string data in the
MCSymbol anyway, just make the MCSymbol ref the string data in the
MCContext StringMap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions