https://bugs.llvm.org/show_bug.cgi?id=41599
Bug ID: 41599
Summary: DISPFlag : Backward compatibility not respected on
DIBuilder::createMethod
Product: new-bugs
Version: 8.0
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: vivien.mil...@gmail.com
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org
DISPFlag::SPFlagDefinition has to be given to createMethod in older code (<8)
so that a compile unit is given to the DISubprogram. If not, compile unit is
nullptr and crashes in LexicalScopes::initialize(MachineFunction const&)
"->getUnit()->" ...
The code worked in version 7 well.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs