Displaying 3 results from an estimated 3 matches for "mdnodetodiemap".
2013 Mar 09
1
[LLVMdev] Question about abstract subprograms in debug info
...addDie(SPDie);
}
…
}
The compile unit DIE where AbsSPDIE belongs to is different from the compile unit DIE SPCU->getCUDie().
So it is not legal to use a FORM_ref4 here.
Why do we create these subprogram DIEs here? They are added to SPCU, but not inserted via insertDIE, so they are not in the MDNodeToDieMap of the CU.
Another question is how to fix this if we need to create these subprograms.
Should we use FORM_ref_addr here? FORM_ref_addr is not supported yet, I am wondering whether that will break any debugger.
Another fix seems to be copying the attributes of the origin instead of using abstract_o...
2018 Mar 14
3
lld/lto/win32 crash on DIE code
I have a fairly recent LLD/LTO llvm crashing on
DIE *ContextDIE = getOrCreateContextDIE(Context)
being null for a (local) variable. (Context is a DICompileUnit in this
case, but it's not present in MDNodeToDieMap so it returns null.
callstack is:
llc.exe!llvm::DwarfUnit::getOrCreateTypeDIE(const llvm::MDNode * TyNode)
Line 718 C++
llvm::DwarfUnit::addType(llvm::DIE & Entity, const llvm::DIType * Ty,
llvm::dwarf::Attribute Attribute) Line 768 C++
llvm::DwarfCompileUnit::applyVariableAttributes(const...
2018 Mar 16
0
lld/lto/win32 crash on DIE code
...равлено: 14 марта 2018 г. 15:42
Кому: llvm-dev
Тема: [llvm-dev] lld/lto/win32 crash on DIE code
I have a fairly recent LLD/LTO llvm crashing on
DIE *ContextDIE = getOrCreateContextDIE(Context)
being null for a (local) variable. (Context is a DICompileUnit in this
case, but it's not present in MDNodeToDieMap so it returns null.
callstack is:
llc.exe!llvm::DwarfUnit::getOrCreateTypeDIE(const llvm::MDNode * TyNode)
Line 718 C++
llvm::DwarfUnit::addType(llvm::DIE & Entity, const llvm::DIType * Ty,
llvm::dwarf::Attribute Attribute) Line 768 C++
llvm::DwarfCompileUnit::applyVariableAttribut...