Fix ASAN buildbots by fixing a double free crash.
authorGreg Clayton <gclayton@apple.com>
Thu, 8 Dec 2016 16:57:04 +0000 (16:57 +0000)
committerGreg Clayton <gclayton@apple.com>
Thu, 8 Dec 2016 16:57:04 +0000 (16:57 +0000)
commitb90328356a50f219af9d355943f7e1149bab22f2
tree29af9b56ae39a82a50895ee11dd69aa68728c527
parent4737f941323c33305cc02ead13efc7e23ceadef1
Fix ASAN buildbots by fixing a double free crash.

The dwarfgen::Generator::StringPool was in a unique_ptr but it was owned by the Allocator member variable so it was being free twice.

llvm-svn: 289070
llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h