(e.g., -filelist) are currently broken.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67183
91177308-0d34-0410-b5e6-
96231b3b80d8
InputInfo &Result) const {
llvm::PrettyStackTraceString CrashInfo("Building compilation jobs for action");
if (const InputAction *IA = dyn_cast<InputAction>(A)) {
+ // FIXME: This is broken, linker inputs won't work here.
+ assert(isa<PositionalArg>(IA->getInputArg()) && "FIXME: Linker inputs");
+
IA->getInputArg().claim();
const char *Name = IA->getInputArg().getValue(C.getArgs());
Result = InputInfo(Name, A->getType(), Name);