summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2012-03-02 01:26:46 +0000
committerDan Gohman <gohman@apple.com>2012-03-02 01:26:46 +0000
commit362eb69f24513ea181b72f7ef7d90f2ed47c08a1 (patch)
tree46cbc02182d03fbe69ecae9698873af03ada292a /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent8dfdd89433540a0d7447e76cb977462ddb4c4f3d (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud