1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Comments for r191234 as suggested by Eric Christopher.

llvm-svn: 191244
This commit is contained in:
David Blaikie 2013-09-23 23:39:55 +00:00
parent 333fd129ac
commit e6ea892307

View File

@ -626,6 +626,8 @@ DWARFContextInMemory::DWARFContextInMemory(object::ObjectFile *Obj) :
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::DWARFContextInMemory(object::ObjectFile *Obj) :
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;
}