for xcoff :
- implement the getSymbolFlag and getSymbolType() for option --syms.
- llvm-objdump --sym , if the symbol is label, print the containing section for the symbol too.
- when using llvm-objdump --sym --symbol--description, print the symbol index and qualname for symbol.
for example:
--symbol-description
00000000000000c0 l .text (csect: (idx: 2) .foov[PR]) (idx: 3) .foov
and without --symbol-description
00000000000000c0 l .text (csect: .foov) .foov
Please add a brief comment explaining what this test is intended to test.
Also, this test won't succeed if the appropriate target is not configured for the person running the test. You need a REQUIRES statement.
I don't know much about llc, but I suspect it's likely that, based purely on the name, the -verify-machineinstrs option isn't needed?