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

            Bug ID: 40523
           Summary: [DebugInfo@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: unassignedb...@nondot.org
          Reporter: international.phan...@gmail.com
                CC: apra...@apple.com, chackz0...@gmail.com,
                    greg.bedw...@sony.com, htmldevelo...@gmail.com,
                    jeremy.morse.l...@gmail.com, llvm-bugs@lists.llvm.org,
                    mikael.hol...@ericsson.com, paul.robin...@am.sony.com,
                    v...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to