• Than McIntosh's avatar
    cmd/compile: remove var sorting from DWARF inline generation · 7b88b22a
    Than McIntosh authored
    When generation DWARF inline info records, the current implementation
    includes a sorting pass that reorders a subprogram's child variable
    DIEs based on class (param/auto) and name. This sorting is no longer
    needed, and can cause problems for a debugger (if we want to use the
    DWARF info for creating a call to an optimized function); this patch
    removes it.
    
    Ordering of DWARF subprogram variable/parameter DIEs is still
    deterministic with this change, since it is keyed off the order in
    which vars appear in the pre-inlining function "Dcl" list.
    
    Updates #27039
    
    Change-Id: I3b91290d11bb3b9b36fb61271d80b801841401ee
    Reviewed-on: https://go-review.googlesource.com/131895Reviewed-by: 's avatarHeschi Kreinick <heschi@google.com>
    7b88b22a
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...