mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Temp fix to deal gdb issue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32035 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2198,7 +2198,8 @@ private:
|
|||||||
unsigned ContentSize = Die->getSize() +
|
unsigned ContentSize = Die->getSize() +
|
||||||
sizeof(int16_t) + // DWARF version number
|
sizeof(int16_t) + // DWARF version number
|
||||||
sizeof(int32_t) + // Offset Into Abbrev. Section
|
sizeof(int32_t) + // Offset Into Abbrev. Section
|
||||||
sizeof(int8_t); // Pointer Size (in bytes)
|
sizeof(int8_t) + // Pointer Size (in bytes)
|
||||||
|
sizeof(int32_t); // FIXME - extra pad for gdb bug.
|
||||||
|
|
||||||
EmitInt32(ContentSize); EOL("Length of Compilation Unit Info");
|
EmitInt32(ContentSize); EOL("Length of Compilation Unit Info");
|
||||||
EmitInt16(DWARF_VERSION); EOL("DWARF version number");
|
EmitInt16(DWARF_VERSION); EOL("DWARF version number");
|
||||||
@ -2207,6 +2208,10 @@ private:
|
|||||||
EmitInt8(TAI->getAddressSize()); EOL("Address Size (in bytes)");
|
EmitInt8(TAI->getAddressSize()); EOL("Address Size (in bytes)");
|
||||||
|
|
||||||
EmitDIE(Die);
|
EmitDIE(Die);
|
||||||
|
EmitInt8(0); EOL("Extra Pad For GDB"); // FIXME - extra pad for gdb bug.
|
||||||
|
EmitInt8(0); EOL("Extra Pad For GDB"); // FIXME - extra pad for gdb bug.
|
||||||
|
EmitInt8(0); EOL("Extra Pad For GDB"); // FIXME - extra pad for gdb bug.
|
||||||
|
EmitInt8(0); EOL("Extra Pad For GDB"); // FIXME - extra pad for gdb bug.
|
||||||
EmitLabel("info_end", Unit->getID());
|
EmitLabel("info_end", Unit->getID());
|
||||||
|
|
||||||
O << "\n";
|
O << "\n";
|
||||||
|
Reference in New Issue
Block a user