mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Change @ -> % in config files. @name@ might be needed for config files to
themselves be configured via autoconf so its not a good substitition syntax for llvmc. Furthermore % is more llvmish :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -212,20 +212,20 @@ CompilerDriver::Action* CompilerDriver::GetAction(ConfigData* cd,
|
||||
StringVector::iterator PI = pat->args.begin();
|
||||
StringVector::iterator PE = pat->args.end();
|
||||
while (PI != PE) {
|
||||
if ((*PI)[0] == '@') {
|
||||
if (*PI == "@in@") {
|
||||
if ((*PI)[0] == '%') {
|
||||
if (*PI == "%in%") {
|
||||
action->args.push_back(input);
|
||||
} else if (*PI == "@out@") {
|
||||
} else if (*PI == "%out%") {
|
||||
action->args.push_back(output);
|
||||
} else if (*PI == "@time@") {
|
||||
} else if (*PI == "%time%") {
|
||||
if (timePasses)
|
||||
action->args.push_back("-time-passes");
|
||||
} else if (*PI == "@stats@") {
|
||||
} else if (*PI == "%stats%") {
|
||||
if (showStats)
|
||||
action->args.push_back("-stats");
|
||||
} else if (*PI == "@target@") {
|
||||
} else if (*PI == "%target%") {
|
||||
// FIXME: Ignore for now
|
||||
} else if (*PI == "@opt@") {
|
||||
} else if (*PI == "%opt%") {
|
||||
if (!emitRawCode) {
|
||||
if (pat->isSet(GROKS_DASH_O)) {
|
||||
if (optLevel != OPT_NONE) {
|
||||
|
||||
Reference in New Issue
Block a user