Issue 53026
Summary Make tests that check symbol-table less brittle due to ordering
Labels lld, code-cleanup, lld:MachO
Assignees
Reporter oontvoo
    The following tests (and potentially some others) dump the symbol table with llvm-objdump then check the output while inadvertently expecting a particular order. While it is true that:
- the ordering should be deterministic (for now, anyways)
- we could expect some partial ordering (eg., all the local 'l' are grouped together before the global 'g')

, there is no guarantee anywhere in the spec or in llvm-objdump that the exact orders, as expected by these tests, should hold forever. 


lld/test/MachO/dead-strip.s
lld/test/MachO/icf-scale.s
lld/test/MachO/start-end.s
lld/test/MachO/stabs.s
lld/test/MachO/symtab.s
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to