This is an archive of the discontinued LLVM Phabricator instance.

[Symbolizer] Don't use PE symbol tables to override PDB symbols
ClosedPublic

Authored by rnk on Nov 11 2015, 4:04 PM.

Details

Summary

PE files are stripped by default, and only contain the names of exported
symbols.

The actual reason that we bother to do this override by default is
actually due to a quirk of the way -gline-tables-only is implemented, so
I phrased the check as "if we are symbolizing from dwarf, do the symtab
override".

This fixes lots of Windows ASan tests that I broke in r250582.

Diff Detail

Repository
rL LLVM

Event Timeline

rnk updated this revision to Diff 39987.Nov 11 2015, 4:04 PM
rnk retitled this revision from to [Symbolizer] Don't use PE symbol tables to override PDB symbols.
rnk updated this object.
rnk added a reviewer: samsonov.
rnk added a subscriber: llvm-commits.
samsonov accepted this revision.Nov 12 2015, 5:32 PM
samsonov edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 12 2015, 5:32 PM
This revision was automatically updated to reflect the committed changes.