diff options
| author | Dan Gohman <gohman@apple.com> | 2012-03-02 01:26:46 +0000 | 
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2012-03-02 01:26:46 +0000 | 
| commit | 362eb69f24513ea181b72f7ef7d90f2ed47c08a1 (patch) | |
| tree | 46cbc02182d03fbe69ecae9698873af03ada292a /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
| parent | 8dfdd89433540a0d7447e76cb977462ddb4c4f3d (diff) | |
| download | bcm5719-llvm-362eb69f24513ea181b72f7ef7d90f2ed47c08a1.tar.gz bcm5719-llvm-362eb69f24513ea181b72f7ef7d90f2ed47c08a1.zip | |
Fix an iterator invalidation problem. operator[] on a DenseMap
can insert a new element, invalidating iterators. Use find
instead, and handle the case where the key is not found explicitly.
llvm-svn: 151871
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
0 files changed, 0 insertions, 0 deletions

