<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/113444>113444</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [LLD] lld does not parse options for orphan-handling in a case insensitive manner.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            lld
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          quic-rb10
      </td>
    </tr>
</table>

<pre>
    Currently LLD does not parse options for orphan handling in a case insensitive manner.

The command:
`ld.lld 1.o -orphan-handling=Error -T script.t`
returns an error: `ld.lld: error: unknown --orphan-handling mode: Error`

However, GCC supports case insensitive parsing for `-orphan-handling` options and the above command works normally.

We should support case insensitive parsing in lld; this would help improve compatibility with GNU ld.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMUsGO2yAQ_Rp8GdnC4Hjjgw-7cbM9RD1t1TOY2UAXgws4Uf6-wsmmaldVexnEaOa9eU9PxGiODrEnmyeyGQqxJO1D_2MxYxlkTQvp1aXfLSGgS_YCh8MAymME5xPMIkQEPyfjXYRXH8CHWQsHWjhljTuCcSBgFBHBuIgummROCJNwDkNF6EDo47W-aITRT5NwivBbj7TUqspaBXXlobxil-_YhA-fQvAByheIYzBzqhJp6XU1YFqCiyAcYB4i_BHucPlz7y7uzfmzg_JPfJi8wjyxstyRr_WzP-MJA2E7eN7tIC7z7EOKH6VmizJYNoe09IOIlt79E05B0ghC-tPdDDj78JbdDpOw9vKbZ98QovaLVe_8f6c3DlbhT5C0iXBetzTaGcw0hxvfLJKRxpp0gbNJGp6_fAWrqkL1XHW8EwX29QPr2i3rWl7oXnbylY5dxxXfoJQtKolbOm4E4-y162hhekZZU1PG65p19UPFtpKylsu2U1tVS0kaipMwtrL2NFU-HAsT44J9XfOmaQorJNq4RpOxfD9jOaOhz-OlXI6RNNSamOIvgGSSXdN8OAxkM2TZ_w5s-X-BLZZge53SHHNG2Z6w_dEkvchq9BNh-3zE7Snn4L_jmAjbr5IiYfubqlPPfgYAAP__iyUm2w">