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

            Bug ID: 31313
           Summary: Line info table is wrong for first instruction after
                    brace
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: bernhard.hec...@intel.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Created attachment 17736
  --> https://llvm.org/bugs/attachment.cgi?id=17736&action=edit
Reproducer

When compiling functions with local variables, 
stack pointer is decremented at function entry to reserve memory.
This additional subtraction on the stack pointer should belong to the prologue
sequence. Unfortunately, it is associated in the line table with the first
C/C++ statement in this function.

Pls focus in the attached C-Sample on the function: callers (void)

-- 
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