[llvm-bugs] [Bug 30697] New: clang --coverage -c causes assertion failures on empty files.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 14 03:48:46 PDT 2016


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

            Bug ID: 30697
           Summary: clang --coverage -c causes assertion failures on empty
                    files.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: eric at efcs.ca
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Reproducer:

clang --coverage -c -xc /dev/null

The assertion which fires is:

>All DICompileUnits must be listed in llvm.dbg.cu
>clang-4.0: /home/eric/full-llvm/llvm/lib/IR/Verifier.cpp:4437: virtual bool (anonymous namespace)::VerifierLegacyPass::doFinalization(llvm::Module &): Assertion `!V->hasBrokenDebugInfo() && "Module contains invalid debug info"' failed.

-- 
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/20161014/4d162162/attachment.html>


More information about the llvm-bugs mailing list