Detail: The test previously expected a specific order of those symbols,
which is not guaranteed (could change simply due to hashing changes, etc).
So have it explicitly sort the symbols before checking the content.
PR/53026
 Differential  D116813  
[lld][macho] Fix test to sort symbol table before dumping ClosedPublic Authored by oontvoo on Jan 7 2022, 8:13 AM. 
Details 
 Summary Detail: The test previously expected a specific order of those symbols, PR/53026 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jan 7 2022, 2:07 PM This revision was landed with ongoing or failed builds.Apr 11 2022, 9:01 AM Closed by commit rG14779644133d: [lld][macho]Fix test to sort symbol table before dumping (authored by oontvoo).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 398154 lld/test/MachO/symtab.s
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||