commit | 233857537f61a8f4ab93624986676c25b2271bc7 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Mon May 23 17:44:13 2011 +0000 |
committer | Devang Patel <dpatel@apple.com> | Mon May 23 17:44:13 2011 +0000 |
tree | 2d6b0282206abb67831bcfcf7fd0728f488ac332 | |
parent | 35b6994608b2b7c86714cc464dfb2d086b0cafca [diff] [blame] |
Preserve debug info during iSel by keeping DanglingDebugInfoMap live until end of function. Patch by Micah Villmow git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131908 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index f24eb40..884bdfb 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -1019,6 +1019,7 @@ MBI != MBE; ++MBI) CheckLineNumbers(MBI); #endif + SDB->clearDanglingDebugInfo(); } void