[llvm-bugs] [Bug 31029] New: inlinable function call in a function with debug info must have a !dbg location

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 15 15:14:59 PST 2016


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

            Bug ID: 31029
           Summary: inlinable function call in a function with debug info
                    must have a !dbg location
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvm-bugs at lists.llvm.org, rnk at google.com
    Classification: Unclassified

a.ii:

class __declspec(dllexport) A {
  A(int * = new int) {}
};

$ clang -cc1 -triple i386-pc-windows-msvc19.0.0 -emit-obj
-debug-info-kind=line-tables-only -fms-extensions a.ii



inlinable function call in a function with debug info must have a !dbg location
  %call2 = call x86_thiscallcc %class.A* @"\01??0A@@AAE at PAH@Z"(%class.A*
%this1, i32* %0)
fatal error: error in backend: Broken function found, compilation aborted!




I'm currently bisecting.

-- 
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/20161115/8459a50c/attachment.html>


More information about the llvm-bugs mailing list