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: unassignedb...@nondot.org
          Reporter: h...@chromium.org
                CC: llvm-bugs@lists.llvm.org, r...@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@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to