mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 19:32:35 +00:00
[Driver][Core] Handle -mllvm option.
llvm-svn: 183347
This commit is contained in:
parent
6fd15ca02e
commit
911d60a1e4
@ -98,6 +98,12 @@ bool CoreDriver::parse(int argc, const char *argv[],
|
||||
<< (*it)->getAsString(*parsedArgs) << "\n";
|
||||
}
|
||||
|
||||
// Copy mllvm
|
||||
for (llvm::opt::arg_iterator it = parsedArgs->filtered_begin(OPT_mllvm),
|
||||
ie = parsedArgs->filtered_end();
|
||||
it != ie; ++it) {
|
||||
info.appendLLVMOption((*it)->getValue());
|
||||
}
|
||||
|
||||
// Handle -e xxx
|
||||
if (llvm::opt::Arg *entry = parsedArgs->getLastArg(OPT_entry))
|
||||
@ -155,4 +161,3 @@ bool CoreDriver::parse(int argc, const char *argv[],
|
||||
}
|
||||
|
||||
} // namespace lld
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user