This is an archive of the discontinued LLVM Phabricator instance.

llvm-symbolizer: Untag addresses in object files by default.
ClosedPublic

Authored by pcc on Aug 5 2019, 12:39 PM.

Details

Summary

Any addresses that we pass to llvm-symbolizer are going to be untagged,
while any HWASAN instrumented globals are going to be tagged in the
symbol table. Therefore we need to untag the addresses before using them.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Aug 5 2019, 12:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 5 2019, 12:39 PM
hctim accepted this revision.Aug 5 2019, 1:01 PM
This revision is now accepted and ready to land.Aug 5 2019, 1:01 PM
vitalybuka accepted this revision.Aug 5 2019, 1:37 PM
This revision was automatically updated to reflect the committed changes.

Hi @pcc,

Please could you add this new switch to the documentation. I don't really understand what it does just by reading, so I can't do it myself!

Hi @pcc,

Please could you add this new switch to the documentation. I don't really understand what it does just by reading, so I can't do it myself!

Ping?