[lld] multithread options

Hi,

The gold linker has these options to specify how threads would be used by the linker. I am not sure what these options are for but I think its for debugging the linker, maybe.

Are we planning to support these options ?

<snip from manpage>
        --threads
               Run the linker multi-threaded

        --no-threads
               Do not run the linker multi-threaded

        --thread-count COUNT
               Number of threads to use

        --thread-count-initial COUNT
               Number of threads to use in initial pass

        --thread-count-middle COUNT Number of threads to use in middle pass

        --thread-count-final COUNT
               Number of threads to use in final pass

<snip>

Shankar Easwaran

I doubt if these options are useful. I don’t have any need, so I don’t like to add these options at least at this moment.

Hi,

The gold linker has these options to specify how threads would be used by
the linker. I am not sure what these options are for but I think its for
debugging the linker, maybe.

Are we planning to support these options ?

No. We can accept them, but we shouldn't implement them.

I'd be ok with --no-threads if we actually need it, but now is not that time.

- Michael Spencer