[llvm-bugs] [Bug 32110] New: IRVerifier check triggered when building swift stdlib

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 1 11:29:14 PST 2017


            Bug ID: 32110
           Summary: IRVerifier check triggered when building swift stdlib
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: compnerd at compnerd.org
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

The LLVM IRVerifier check is triggered for the modules DI as it is possible for
builtin types to be built from a module, resulting in a DIFile having a
filename of "".

clang::CodeGen::CGDebugInfo::getOrCreateModuleRef invokes
DIB.createFile(Mod.getModuleName(), Mod.getPath()), which gives ("",
".../module-cache/..."), which constructs an invalid DIFile.

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/20170301/548e8d74/attachment.html>

More information about the llvm-bugs mailing list