mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Prototype of skeleton type units for fission
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198851 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1987,7 +1987,9 @@ void DwarfTypeUnit::emitHeader(const MCSection *ASection,
|
||||
Asm->OutStreamer.AddComment("Type Signature");
|
||||
Asm->OutStreamer.EmitIntValue(TypeSignature, sizeof(TypeSignature));
|
||||
Asm->OutStreamer.AddComment("Type DIE Offset");
|
||||
Asm->OutStreamer.EmitIntValue(Ty->getOffset(), sizeof(Ty->getOffset()));
|
||||
// In a skeleton type unit there is no type DIE so emit a zero offset.
|
||||
Asm->OutStreamer.EmitIntValue(Ty ? Ty->getOffset() : 0,
|
||||
sizeof(Ty->getOffset()));
|
||||
}
|
||||
|
||||
void DwarfTypeUnit::initSection(const MCSection *Section) {
|
||||
|
Reference in New Issue
Block a user