[LLVMbugs] [Bug 20397] New: globalopt removes debug info leaving incomplete metadata

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 22 02:30:44 PDT 2014


            Bug ID: 20397
           Summary: globalopt removes debug info leaving incomplete
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: razvan.ghitulete at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12808
  --> http://llvm.org/bugs/attachment.cgi?id=12808&action=edit
Example source where `mmu` variable metadata gets stripped after applying

When using the globalopt optimization (every optimization level except O0) the
debug metadata is partially removed, and there is no more reference to the
global value inside the associated variable metadata. This interferes with any
subsequent passes that might make use of such debug info.

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/20140722/2369d1f8/attachment.html>

More information about the llvm-bugs mailing list