[llvm-bugs] [Bug 44653] New: Call site parameter entries do not follow source order

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 24 07:26:56 PST 2020


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

            Bug ID: 44653
           Summary: Call site parameter entries do not follow source order
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: david.stenberg at ericsson.com
                CC: jdevlieghere at apple.com, keith.walker at arm.com,
                    llvm-bugs at lists.llvm.org,
                    paul_robinson at playstation.sony.com

The DWARF5 standard, sec. 3.4.2, specifies the following for call site
parameter entries:

"The call site entry may own DW_TAG_call_site_parameter debugging information
entries representing the parameters passed to the call. Call site
parameter entries occur in the same order as the corresponding parameters in
the
source."

Currently the order of the parameter entries is dependent on which order the
call site values are found in collectCallSiteParameters(), e.g. the parameter
whose instruction that describes the value is closest to the call instruction
gets emitted first.

-- 
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/20200124/868f309c/attachment.html>


More information about the llvm-bugs mailing list