mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-10 19:50:45 +00:00
Removed extra space in comments.
llvm-svn: 8770
This commit is contained in:
parent
0552cd931e
commit
c4577d4f33
@ -118,12 +118,12 @@ GenerateAssembly(const std::string &OutputFilename,
|
|||||||
// Run LLC to convert the bytecode file into assembly code.
|
// Run LLC to convert the bytecode file into assembly code.
|
||||||
const char *cmd[8];
|
const char *cmd[8];
|
||||||
|
|
||||||
cmd[0] = llc.c_str();
|
cmd[0] = llc.c_str();
|
||||||
cmd[1] = "-f";
|
cmd[1] = "-f";
|
||||||
cmd[2] = "-o";
|
cmd[2] = "-o";
|
||||||
cmd[3] = OutputFilename.c_str();
|
cmd[3] = OutputFilename.c_str();
|
||||||
cmd[4] = InputFilename.c_str();
|
cmd[4] = InputFilename.c_str();
|
||||||
cmd[5] = NULL;
|
cmd[5] = NULL;
|
||||||
|
|
||||||
return ExecWait(cmd, envp);
|
return ExecWait(cmd, envp);
|
||||||
}
|
}
|
||||||
@ -186,12 +186,12 @@ GenerateNative(const std::string &OutputFilename,
|
|||||||
cmd.push_back(OutputFilename.c_str());
|
cmd.push_back(OutputFilename.c_str());
|
||||||
cmd.push_back(InputFilename.c_str());
|
cmd.push_back(InputFilename.c_str());
|
||||||
|
|
||||||
// Adding the library paths creates a problem for native generation. If we
|
// Adding the library paths creates a problem for native generation. If we
|
||||||
// include the search paths from llvmgcc, then we'll be telling normal gcc
|
// include the search paths from llvmgcc, then we'll be telling normal gcc
|
||||||
// to look inside of llvmgcc's library directories for libraries. This is
|
// to look inside of llvmgcc's library directories for libraries. This is
|
||||||
// bad because those libraries hold only bytecode files (not native object
|
// bad because those libraries hold only bytecode files (not native object
|
||||||
// files). In the end, we attempt to link the bytecode libgcc into a native
|
// files). In the end, we attempt to link the bytecode libgcc into a native
|
||||||
// program.
|
// program.
|
||||||
#if 0
|
#if 0
|
||||||
// Add in the library path options.
|
// Add in the library path options.
|
||||||
for (unsigned index=0; index < LibPaths.size(); index++) {
|
for (unsigned index=0; index < LibPaths.size(); index++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user