link-tests: dump metadata to string and grep results
This approach is more inline with what LLVM/LLD does for testing
of their output, and seems to be more generic and easier to extend
than implementing a lot of repetitive and nontrivial comparison
logic when working directly on structures.
937464f398Jakub Konka committed on 6/21/2022, 8:19:57 PMparent5fbdfb3