This is an archive of the discontinued LLVM Phabricator instance.

Add a test for reading lld-generated build-ids
ClosedPublic

Authored by labath on Jun 27 2018, 7:08 AM.

Details

Summary

This test makes sure we are able to read the shorter build-ids which are
generated by lld.

To make this work, I've extended lldb-test to print the UUID of the
loaded object file. I've renamed the lldb-test subcommand from
"module-sections" to "object-file" to reflect the fact it prints more
than just the sections.

I've also added the module Architecture to the output, so we could avoid
printing the entire symbol file information just to get the ArchSpec
details in the lc_version_min test (which was also the only test in it's
folder not using the module-sections command).

Diff Detail

Repository
rL LLVM

Event Timeline

labath created this revision.Jun 27 2018, 7:08 AM
This revision was not accepted when it landed; it landed in state Needs Review.Jun 29 2018, 5:20 AM
This revision was automatically updated to reflect the committed changes.