forked from OSchip/llvm-project
parent
abb4d9ed34
commit
e8a7b1b741
|
@ -199,7 +199,8 @@ void DIEInteger::EmitValue(AsmPrinter *Asm, unsigned Form) const {
|
|||
case dwarf::DW_FORM_data8: Size = 8; break;
|
||||
case dwarf::DW_FORM_udata: Asm->EmitULEB128(Integer); return;
|
||||
case dwarf::DW_FORM_sdata: Asm->EmitSLEB128(Integer); return;
|
||||
case dwarf::DW_FORM_addr: Size = Asm->getTargetData().getPointerSize(); break;
|
||||
case dwarf::DW_FORM_addr:
|
||||
Size = Asm->getTargetData().getPointerSize(); break;
|
||||
default: llvm_unreachable("DIE Value form not supported yet");
|
||||
}
|
||||
Asm->OutStreamer.EmitIntValue(Integer, Size, 0/*addrspace*/);
|
||||
|
|
|
@ -283,8 +283,8 @@ public:
|
|||
/// for the given DITemplateTypeParameter.
|
||||
DIE *getOrCreateTemplateTypeParameterDIE(DITemplateTypeParameter TP);
|
||||
|
||||
/// getOrCreateTemplateValueParameterDIE - Find existing DIE or create new DIE
|
||||
/// for the given DITemplateValueParameter.
|
||||
/// getOrCreateTemplateValueParameterDIE - Find existing DIE or create
|
||||
/// new DIE for the given DITemplateValueParameter.
|
||||
DIE *getOrCreateTemplateValueParameterDIE(DITemplateValueParameter TVP);
|
||||
|
||||
/// createDIEEntry - Creates a new DIEEntry to be a proxy for a debug
|
||||
|
|
|
@ -96,7 +96,8 @@ typedef struct DotDebugLocEntry {
|
|||
DotDebugLocEntry(const MCSymbol *B, const MCSymbol *E, const ConstantFP *FPtr)
|
||||
: Begin(B), End(E), Variable(0), Merged(false),
|
||||
Constant(true) { Constants.CFP = FPtr; EntryKind = E_ConstantFP; }
|
||||
DotDebugLocEntry(const MCSymbol *B, const MCSymbol *E, const ConstantInt *IPtr)
|
||||
DotDebugLocEntry(const MCSymbol *B, const MCSymbol *E,
|
||||
const ConstantInt *IPtr)
|
||||
: Begin(B), End(E), Variable(0), Merged(false),
|
||||
Constant(true) { Constants.CIP = IPtr; EntryKind = E_ConstantInt; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue