[llvm-bugs] [Bug 40523] New: [DebugInfo at O2]: LLVM ERROR: Broken function found, while removing Debug Intrinsics

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 30 03:34:02 PST 2019


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

            Bug ID: 40523
           Summary: [DebugInfo at O2]: LLVM ERROR: Broken function found,
                    while removing Debug Intrinsics
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: international.phantom at gmail.com
                CC: aprantl at apple.com, chackz0x12 at gmail.com,
                    greg.bedwell at sony.com, htmldeveloper at gmail.com,
                    jeremy.morse.llvm at gmail.com, llvm-bugs at lists.llvm.org,
                    mikael.holmen at ericsson.com, paul.robinson at am.sony.com,
                    vsk at apple.com

Created attachment 21404
  --> https://bugs.llvm.org/attachment.cgi?id=21404&action=edit
Test case that reproduces the crash.

Given the attached test case and using the following
command line:

opt -S -o - bbi-23595.ll -simplifycfg

you get

llvm.dbg.label intrinsic requires a !dbg attachment
   call void @llvm.dbg.label(metadata !1)
label %entry
i16 ()* @_Z7test_itv
in function _Z7test_itv

LLVM ERROR: Broken function found, compilation aborted!

-- 
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/20190130/0514fb67/attachment.html>


More information about the llvm-bugs mailing list