This is an archive of the discontinued LLVM Phabricator instance.

[hwasan] Fix unsymbolized stack history printing.
ClosedPublic

Authored by eugenis on Feb 14 2019, 5:41 PM.

Details

Summary

When symbols are unavailable, the current code prints

sp: ... pc: ... (null) (null)

instead of module name + offset.

Change the output to include module name and offset, and also to match
the regular sanitizer stack trace format so that it is recognized by
symbolize.py out of the box.

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis created this revision.Feb 14 2019, 5:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 14 2019, 5:41 PM
pcc accepted this revision.Feb 14 2019, 6:55 PM

LGTM

This revision is now accepted and ready to land.Feb 14 2019, 6:55 PM
This revision was automatically updated to reflect the committed changes.