mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-27 14:24:40 +00:00
DebugInfo: Move type units into the debug_types section with appropriate comdat grouping and type unit headers
This commit does not complete the type units feature - there are issues around fission support (skeletal type units, pubtypes/pubnames) and hashing of some types including those containing references to types in other type units. Originally committed as r197073 and reverted in r197079. Recommitted as r197197 to reproduce the failure and reverted as r197199 Turns out there was unstable ordering in the type unit dumping code. Fixed by using MapVector in DWARFContext to store the debug_types comdat sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197210 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -262,6 +262,8 @@ public:
|
||||
const MCSection *getDwarfInfoDWOSection() const {
|
||||
return DwarfInfoDWOSection;
|
||||
}
|
||||
const MCSection *getDwarfTypesSection(uint64_t Hash) const;
|
||||
const MCSection *getDwarfTypesDWOSection(uint64_t Hash) const;
|
||||
const MCSection *getDwarfAbbrevDWOSection() const {
|
||||
return DwarfAbbrevDWOSection;
|
||||
}
|
||||
|
Reference in New Issue
Block a user