[llvm-bugs] [Bug 31313] New: Line info table is wrong for first instruction after brace

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 8 00:24:50 PST 2016


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: unassignedclangbugs at nondot.org
          Reporter: bernhard.heckel at intel.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161208/a4363527/attachment.html>


More information about the llvm-bugs mailing list