Skip to content

Commit

Permalink
fixing parsing bug - should not reset params during parsing call sites (
Browse files Browse the repository at this point in the history
#3)

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Co-authored-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch and vsoch committed Oct 14, 2021
1 parent 9b19c43 commit a1eabf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/file/dwarf.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func ParseDwarf(dwf *dwarf.Data) map[string]map[string]DwarfEntry {

// Reset params and set new function entry
callSite = entry
params = []FormalParamEntry{}
callSiteParams = []dwarf.Entry{}

// DW_TAG_GNU_call_site_parameter
case 0x410a, dwarf.TagCallSiteParameter, 0x45:
Expand Down

0 comments on commit a1eabf0

Please sign in to comment.