[LLVMbugs] [Bug 19221] New: Debug-info verifier failure

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 21 10:38:39 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19221

            Bug ID: 19221
           Summary: Debug-info verifier failure
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Core LLVM classes
          Assignee: unassignedbugs at nondot.org
          Reporter: paul_robinson at playstation.sony.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The following program dies in the debug-info verifier (which
has to be turned on explicitly, it's disabled by default).
With the verifier disabled, it produced reasonable-looking DWARF.

========8<========
static union {
  int c;
};
int test_it() {
  c = 1;
  return (c == 1);
}
========8<========
clang -c -g test.cpp -mllvm -disable-debug-info-verifier=false
DIGlobalVariable does not Verify!
metadata !10
fatal error: error in backend: Broken module found, compilation aborted!
(etc.)

-- 
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/20140321/64021c93/attachment.html>


More information about the llvm-bugs mailing list