This is an archive of the discontinued LLVM Phabricator instance.

[RuntimeDyld] Ignore ST_FILE symbols when constructing GlobalSymbolTable
ClosedPublic

Authored by loladiro on Oct 20 2015, 5:30 AM.

Details

Summary

ELF's STT_File symbols may overlap with regular globals in other files, so we should ignore them here in order to avoid having bogus entries in the symbol table that confuse us when resolving relocations.

Diff Detail

Repository
rL LLVM

Event Timeline

loladiro updated this revision to Diff 37860.Oct 20 2015, 5:30 AM
loladiro retitled this revision from to [RuntimeDyld] Ignore ST_FILE symbols when constructing GlobalSymbolTable.
loladiro updated this object.
loladiro added a reviewer: lhames.
loladiro set the repository for this revision to rL LLVM.
loladiro added a subscriber: llvm-commits.
lhames accepted this revision.Oct 20 2015, 10:24 AM
lhames edited edge metadata.

LGTM. Thanks very much for catching this!

This revision is now accepted and ready to land.Oct 20 2015, 10:24 AM
This revision was automatically updated to reflect the committed changes.