forked from OSchip/llvm-project
Reserve a moderate amount of space for the back-end arguments.
llvm-svn: 149973
This commit is contained in:
parent
b377fc3bfa
commit
d5a2f4406e
|
@ -247,6 +247,7 @@ bool EmitAssemblyHelper::AddEmitPasses(BackendAction Action,
|
|||
}
|
||||
|
||||
std::vector<const char *> BackendArgs;
|
||||
BackendArgs.reserve(16);
|
||||
BackendArgs.push_back("clang"); // Fake program name.
|
||||
if (!CodeGenOpts.DebugPass.empty()) {
|
||||
BackendArgs.push_back("-debug-pass");
|
||||
|
|
Loading…
Reference in New Issue