Skip to content
Commit 13348769 authored by Chris Lattner's avatar Chris Lattner
Browse files

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.

llvm-svn: 98536
parent 0db1d650
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment