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: unassignedb...@nondot.org
          Reporter: david.stenb...@ericsson.com
                CC: jdevliegh...@apple.com, keith.wal...@arm.com,
                    llvm-bugs@lists.llvm.org,
                    paul_robin...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to