forked from OSchip/llvm-project
Driver: Add assert and FIXME; arguments which act as linker inputs
(e.g., -filelist) are currently broken. llvm-svn: 67183
This commit is contained in:
parent
8eba365d36
commit
dcd05482bd
|
@ -665,6 +665,9 @@ void Driver::BuildJobsForAction(Compilation &C,
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue