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.