[llvm] r191244 - Comments for r191234 as suggested by Eric Christopher.
David Blaikie
dblaikie at gmail.com
Mon Sep 23 16:39:55 PDT 2013
Author: dblaikie
Date: Mon Sep 23 18:39:55 2013
New Revision: 191244
URL: http://llvm.org/viewvc/llvm-project?rev=191244&view=rev
Log:
Comments for r191234 as suggested by Eric Christopher.
Modified:
llvm/trunk/lib/DebugInfo/DWARFContext.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARFContext.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFContext.cpp?rev=191244&r1=191243&r2=191244&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFContext.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARFContext.cpp Mon Sep 23 18:39:55 2013
@@ -626,6 +626,8 @@ DWARFContextInMemory::DWARFContextInMemo
RangeDWOSection = data;
}
} else if (name == "debug_types") {
+ // Find debug_types data by section rather than name as there are
+ // multiple, comdat grouped, debug_types sections.
TypesSections[*i].Data = data;
}
@@ -649,6 +651,8 @@ DWARFContextInMemory::DWARFContextInMemo
if (!Map) {
if (RelSecName != "debug_types")
continue;
+ // Find debug_types relocs by section rather than name as there are
+ // multiple, comdat grouped, debug_types sections.
Map = &TypesSections[*RelocatedSection].Relocs;
}
More information about the llvm-commits
mailing list