llvm-project/lld/lib
Lang Hames 70c80b336b [lld][MachO] Replace some std::string with char* buffers to eliminate mem leaks.
The MachO debug support code (committed in r276935) occasionally needs to
allocate string copies, and was doing so by creating std::strings on a
BumpPtrAllocator. The strings were untracked, so the destructors weren't being
run and we were leaking the memory when the allocator was thrown away. Since
it's easier than tracking the strings, this patch switches the copies to char
buffers allocated directly in the bump-ptr allocator.

llvm-svn: 277208
2016-07-29 20:04:18 +00:00
..
Config Simplify string operations. NFC. 2016-03-03 00:51:23 +00:00
Core Add qualification to fix MSVC build. 2016-07-26 02:10:56 +00:00
Driver [MachO] Add a couple of missing braces. 2016-07-20 23:55:34 +00:00
ReaderWriter [lld][MachO] Replace some std::string with char* buffers to eliminate mem leaks. 2016-07-29 20:04:18 +00:00
CMakeLists.txt Remove YAML/Native round-trip passes. 2015-02-20 22:10:28 +00:00