llvm-mc tests tend to (a) split into multiple files or (b) combine too
much stuff in one file if people don't like splitting.
yaml2doc supports --docnum=<num> to allow multiple documents in a file.
Combing tests prudently can improve readability. This patch adds a similar
--doc-id=<id> to llvm-mc.
Usage: llvm-mc --doc-id=aa %s
#-- aa test aa #-- bb test bb
This mentions --- but the code uses --. I'd actually prefer --- probably, but it's minor, so happy to go with a different approach.