Address review feedback.
But thats only if emulation is supported? And amdgpu emulation is not supported. Otherwise, how will lld determine its an amdgpu arch with objectFiles being empty?
I can change it to
if (objectFiles.empty()) return 0;
But I wont be able to add a test without adding emulation support for amdgpu.