This is an archive of the discontinued LLVM Phabricator instance.

[llvm-readobj/elf] - Merge mips-got-overlapped.test to mips-got.test and refine testing.
ClosedPublic

Authored by grimar on Aug 17 2020, 8:07 AM.

Details

Summary

The mips-got-overlapped.test was introduced in D16968 and its intention is
to check that when there is an empty section at the same address as .got,
then we are able to locate .got and dump it.

The issue is that this test does not test llvm-readelf and uses a precompiled
object. This path starts using YAML instead and merges
mips-got-overlapped.test to mips-got.test.

Diff Detail

Event Timeline

grimar created this revision.Aug 17 2020, 8:07 AM
grimar requested review of this revision.Aug 17 2020, 8:07 AM
MaskRay accepted this revision.Aug 17 2020, 8:54 AM
MaskRay added inline comments.
llvm/test/tools/llvm-readobj/ELF/mips-got.test
588

The checks above use two dash --check-prefix

This revision is now accepted and ready to land.Aug 17 2020, 8:54 AM