HomePhabricator

Add a test for reading lld-generated build-ids

Description

Add a test for reading lld-generated build-ids

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).

Reviewers: aprantl, zturner

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D48646

Details

Committed
labathJun 29 2018, 5:15 AM
Differential Revision
D48646: Add a test for reading lld-generated build-ids
Parents
rL335966: Add missing namespace specifier
Branches
Unknown
Tags
Unknown