[lld-macho] Try and fix map-file.s' flakiness
authorJez Ng <jezng@fb.com>
Wed, 12 Jan 2022 07:00:56 +0000 (23:00 -0800)
committerJez Ng <jezng@fb.com>
Wed, 12 Jan 2022 07:02:45 +0000 (23:02 -0800)
commit62790f366fbeee4a10ff878f5ae5a7d6ffd86922
tree55f158eb3e599e01c4840a5c1a8d91b5a45e1fd2
parentd2c547342c6d6a8a4b3f9111830e60b1f00f88a1
[lld-macho] Try and fix map-file.s' flakiness

After {D117069}, map-file.s seems flaky. It seems that the "Total Write
map file" section always exists, but the "Write map file" sub-section
may or may not be emitted. So we check for the former.
lld/test/MachO/map-file.s