mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
Adjust comments regarding non-relocated abbrev offset in debug_info.dwo
I'm not sure the comment in the implementation really adds a lot of value (it's clear that we emit zero when no symbol is provided, but it doesn't explain why we would do that). Happy to iterate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205386 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2040,7 +2040,7 @@ void DwarfUnit::emitHeader(const MCSymbol *ASectionSym) const {
|
||||
if (ASectionSym)
|
||||
Asm->EmitSectionOffset(ASectionSym, ASectionSym);
|
||||
else
|
||||
// Use a constant value in the dwo file, to avoid relocations
|
||||
// Use a constant value when no symbol is provided.
|
||||
Asm->EmitInt32(0);
|
||||
Asm->OutStreamer.AddComment("Address Size (in bytes)");
|
||||
Asm->EmitInt8(Asm->getDataLayout().getPointerSize());
|
||||
|
Reference in New Issue
Block a user