[Lldb-commits] [PATCH] D48646: Add a test for reading lld-generated build-ids

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 27 07:08:04 PDT 2018


labath created this revision.
labath added reviewers: aprantl, zturner.

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


https://reviews.llvm.org/D48646

Files:
  lit/Modules/build-id-case.yaml
  lit/Modules/compressed-sections.yaml
  lit/Modules/elf-duplicate-section.yaml
  lit/Modules/elf-section-types.yaml
  lit/Modules/lc_version_min.yaml
  lit/Modules/short-build-id.yaml
  tools/lldb-test/lldb-test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48646.153078.patch
Type: text/x-patch
Size: 7288 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180627/e55857ba/attachment.bin>


More information about the lldb-commits mailing list