This is an archive of the discontinued LLVM Phabricator instance.

Add a test for the feature introduced in r295240.
ClosedPublic

Authored by ed on Feb 20 2017, 10:49 AM.

Details

Summary

r295240 tweaked LLD to generate a symbol table when passing in
--export-dynamic, even when creating static executables. Add a test to
make sure this never regresses.

Event Timeline

ed created this revision.Feb 20 2017, 10:49 AM
ruiu accepted this revision.Feb 20 2017, 6:11 PM

LGTM

test/ELF/static-with-export-dynamic.s
11–26

Please remove (<number>) from these lines to make it robust for possible unrelated section layout changes.

This revision is now accepted and ready to land.Feb 20 2017, 6:11 PM
ed updated this revision to Diff 89160.Feb 20 2017, 10:14 PM

Remove numbers from llvm-readobj output to make test future proof.

This revision was automatically updated to reflect the committed changes.