[llvm-bugs] [Bug 41599] New: DISPFlag : Backward compatibility not respected on DIBuilder::createMethod

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 25 07:18:12 PDT 2019


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: unassignedbugs at nondot.org
          Reporter: vivien.millet at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190425/d99e3f43/attachment.html>


More information about the llvm-bugs mailing list