This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Fix cref.s test case.
ClosedPublic

Authored by grimar on Apr 2 2018, 3:13 AM.

Details

Summary

It seems to me that the intention of -gc-sections flag was to check
that discarded is not in the output. And if so it should be
specified in the executable command line invocation and
also, the symbol must be global as local symbols are anyways
not printed.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

grimar created this revision.Apr 2 2018, 3:13 AM
This revision is now accepted and ready to land.Apr 6 2018, 8:40 AM
This revision was automatically updated to reflect the committed changes.