mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Fix for r177390: map values are pointers, use DeleteContainerSeconds() instead of .clear()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177409 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
58890d52eb
commit
51283a1513
@ -12,6 +12,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "LLVMSymbolize.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/Object/MachO.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
@ -187,7 +188,7 @@ std::string LLVMSymbolizer::symbolizeData(const std::string &ModuleName,
|
||||
}
|
||||
|
||||
void LLVMSymbolizer::flush() {
|
||||
Modules.clear();
|
||||
DeleteContainerSeconds(Modules);
|
||||
}
|
||||
|
||||
// Returns true if the object endianness is known.
|
||||
|
Loading…
x
Reference in New Issue
Block a user