This is the second of a series of patches relating to simplifying llvm-symbolizer tests. See D57441 for the first. In this one, I have split out 5 distinct test cases from the llvm-symbolizer.test test into separate tests, and simplified them slightly by using --obj/positional arguments for the input file and addresses instead of stdin.
See PR40070 comment 1 onwards for the motivation.