projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118a065
)
Comments for r191234 as suggested by Eric Christopher.
author
David Blaikie
<dblaikie@gmail.com>
Mon, 23 Sep 2013 23:39:55 +0000
(23:39 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Mon, 23 Sep 2013 23:39:55 +0000
(23:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191244
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/DebugInfo/DWARFContext.cpp
patch
|
blob
|
history
diff --git
a/lib/DebugInfo/DWARFContext.cpp
b/lib/DebugInfo/DWARFContext.cpp
index c54a1da6224adb83f6a6856462e98c13e25013aa..95a1b628f22e2732bed3e9c818406547a85ca946 100644
(file)
--- a/
lib/DebugInfo/DWARFContext.cpp
+++ b/
lib/DebugInfo/DWARFContext.cpp
@@
-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;
}