[llvm-bugs] [Bug 50213] New: Bug in DIBuilder::createClassType

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 4 01:22:00 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50213

            Bug ID: 50213
           Summary: Bug in DIBuilder::createClassType
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Bitcode Writer
          Assignee: unassignedbugs at nondot.org
          Reporter: nikita.kornev at intel.com
                CC: llvm-bugs at lists.llvm.org

There is bug in llvm-project/llvm/lib/IR/DIBuilder.cpp in DICompositeType
*DIBuilder::createClassType function. Both methods "createClassType" and
"createStructType" use the same tag - "dwarf::DW_TAG_structure_type". So both
for the class and for the structure we get "DW_TAG_structure_type" in IR.
For reproduce - just call attachment with "clang -cc1 -S -emit-llvm
bug_reproduce.cpp -debug-info-kind=standalone"

-- 
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/20210504/a3f3f13f/attachment-0001.html>


More information about the llvm-bugs mailing list