<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJylVMFunDAU_Bq4PIFYk2V3Dxy2jXKLeqnUs8FvwYnxQ7bZDX_fZ7NJ1B7SQyWwZTyeNzPY7kit7c8R4ULG0E3bAQL64CETR2kVzBTQBi2NWcHThEBhROczcQK1TDPwCPw6dWQgyM4g3HQYwZjrVFD38g6x0I_YvyY0LWFeAtxGzWhtpbqiizW4AL7N2IeoQcIsXdD9YqQDcgpdCb-2FQG0h-AWZDYZsvqcVY9ZdS428giNBH6kxSjoEBQGdJO22jNftHUhB5ZumfgO0q43uUY37yQ3hD6t3LRsnpMWaT7ZmQWHMjEYkwob6hmQiYPhF6RDGBwtMyoINGDMjLVwZUzowVC3wQd-P8rfW6aNCzAatQTDIp20ATHJ3SbsFjxLZFFx-FfiMiQAvkn2kGT7pNbffbGubo0Qj9v_jrP3zEbiJkq9xtT_UJZaY1QmnuIq7p5lP_7gXqFUhQ9Oz6X_Aqb7S-E5KfwS5QMHXqBV_0J1_mvEOjGm9Llqa3WqTzKXSxjJtUQ2XInyxZl2DGH2cRuJJ34G3r5LV_Y08SCGeu-K2dELBxc9eL8gB_a0ryvR5GNbo3w41ceq7g-7_a5p1EFWF3k51E3fHDmX3MgOjW-z_bdMiKRUxLy560lh0RuUdpk_v0ZIfb67ENn-Mf9_mboVlRDVrmoq8VCLU9kcxb46nPqqOhyO1e6UPVQ4SW3KyFOSG3LXJspuGTxPGj5A_nNSeq8Hi5hcscKgg8H2Wb7eN9S2Cbdjv10QxXZBGPQeOqcD4_kOYTh9HKw8iW6T4t_FDYZq>53026</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Make tests that check symbol-table less brittle due to ordering
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            lld,
            code-cleanup,
            lld:MachO
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          oontvoo
      </td>
    </tr>
</table>

<pre>
    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
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFU01vnTAQ_DVwWYGI3ycHDmmj3KJeKvVs8D5wYrzIH--Ff9-1eWnUHlIJbBmPZ2fGS09q7X5OCBcyhm7ajhDQBw-FOEurYKGANmhpzAqeZgQKEzpfiBZUnBfgFfh17slAkL1BuOkwgTHXuaL-9QNiYZhweMtoimGJAW6TZrS2Ul3RpRpcAN8XHELSIGGRLughGumAnEJXw6_tRADtIbiIzCZDsXssmqeieaw28gRNBH6iaBT0CAoDullb7Zkv2bqQA0u3QnwHadebXJObD5IbwpBPblo2z1mLNJ_szIJjnRmMyYUNDQwoxMnwC9IhjI7iggoCjZgyYy1cGTN6NNRv8JHfP-XvI9OmA5iMWoIxSidtQMxytw27Bc8SWVRa_pO4DBmA75I9ZNk-q_V3X6yrXxPE43bfafee2UQ8JKnXlPpfyvJojCrEczrF04scph88K5Sq8sHppfZfwPRwqTwnhV-ifODAK7Tqf6jef41YZ8bUvlTdTrW7VpZBB4Pdi3y7296i2ppza-Nqa2OD3kPvdGA8dzrD6c_1l9GZbgph8an7xDM_I3d97OuBZl6ku7hP1eLolfNO1r2PyDk_H3aNOJZT10qJstnv8SzaYyuwVQ97PF0aJXpUQpxLI3s0visO3wohskGRromngRRWg0Fp4_L5NUF2j3fzojg8lboTjRDNQ3NsxH4n2vp4Fofm1A5Nczqdm4e22Dc4S23qJLYmN5auy7r7OHreNPzX-M9N6b0eLWLWxPwyholcR2TDlajMFrvs7zcqqXEu">