Currently, this is done implicitly in Driver::BuildInputs by considering any invalid input type as linker input.
lgtm
Closed by commit rL217522 (authored by @ehsan).