[LLVMbugs] [Bug 19934] New: ARMv7: Assertion in llvm::DIEEntry::EmitValue when compiled with -g

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 3 10:25:46 PDT 2014


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

            Bug ID: 19934
           Summary: ARMv7: Assertion in llvm::DIEEntry::EmitValue when
                    compiled with -g
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: sgundapa at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12598
  --> http://llvm.org/bugs/attachment.cgi?id=12598&action=edit
A bugpoint reduced test case.

I am seeing an assertion in  llvm::DIEEntry::EmitValue from the past few days.
The assertion is seen with "-O2 -g". Clearly the issue is related to debugging
info. I have attached a bug point reduced test case.

My command line goes like 
clang -target arm-none-linux-gnueabi -mfloat-abi=softfp -mfpu=neon
-mcpu=cortex-a9 -O2 -g -c /tmp/test.c

I used git bisect to triage the issue and figured out the following commit
caused it. 
0d9056d7660a6fecfdd704395e7f629e4f65c11c is the first bad commit
commit 0d9056d7660a6fecfdd704395e7f629e4f65c11c
Author: David Blaikie <dblaikie at gmail.com>
Date:   Sun Jun 1 03:38:13 2014 +0000

    DebugInfo: Assert that DbgVariables have associated DIEs

-- 
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/20140603/21ba1ec8/attachment.html>


More information about the llvm-bugs mailing list