diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-20 04:08:35 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-20 04:08:35 +0000 |
commit | 704448f83bf66b44588e6542e1ac6ef194061024 (patch) | |
tree | 4e3a52be3211ea6febab20abeca192ab9cce4a9a /tools/gccld/gccld.cpp | |
parent | 8f586ba4ed5fa7aea0323254b2c5b6572b0a0869 (diff) | |
download | llvm-704448f83bf66b44588e6542e1ac6ef194061024.tar.gz llvm-704448f83bf66b44588e6542e1ac6ef194061024.tar.bz2 llvm-704448f83bf66b44588e6542e1ac6ef194061024.tar.xz |
Eliminate trailing spaces at end-of-line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21372 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccld/gccld.cpp')
-rw-r--r-- | tools/gccld/gccld.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp index 98e7dea325..2cf5efbe7b 100644 --- a/tools/gccld/gccld.cpp +++ b/tools/gccld/gccld.cpp @@ -46,9 +46,9 @@ namespace { OutputFilename("o", cl::desc("Override output filename"), cl::init("a.out"), cl::value_desc("filename")); - cl::opt<bool> + cl::opt<bool> Verbose("v", cl::desc("Print information about actions taken")); - + cl::list<std::string> LibPaths("L", cl::desc("Specify a library search path"), cl::Prefix, cl::value_desc("directory")); @@ -77,29 +77,29 @@ namespace { Relink("r", cl::desc("Alias for -link-as-library"), cl::aliasopt(LinkAsLibrary)); - cl::opt<bool> + cl::opt<bool> Native("native", cl::desc("Generate a native binary instead of a shell script")); - cl::opt<bool> + cl::opt<bool> NativeCBE("native-cbe", cl::desc("Generate a native binary with the C backend and GCC")); - cl::opt<bool> + cl::opt<bool> SaveTemps("save-temps", cl::desc("Do not delete temporary files")); - + cl::opt<std::string> RPath("rpath", cl::desc("Set runtime shared library search path (requires -native or" " -native-cbe)"), cl::Prefix, cl::value_desc("directory")); - + cl::opt<std::string> SOName("soname", cl::desc("Set internal name of shared library (requires -native or" " -native-cbe)"), cl::Prefix, cl::value_desc("name")); - + // Compatibility options that are ignored but supported by LD cl::opt<std::string> CO4("version-script", cl::Hidden, cl::desc("Compatibility option: ignored")); @@ -317,7 +317,7 @@ int main(int argc, char **argv, char **envp ) { // Remove the bytecode language file. sys::Path(RealBytecodeOutput).destroyFile(); } - + } else if (NativeCBE) { sys::Path CFile (OutputFilename); CFile.appendSuffix("cbe.c"); @@ -352,7 +352,7 @@ int main(int argc, char **argv, char **envp ) { } else if (!LinkAsLibrary) { EmitShellScript(argv); - + // Make the bytecode file readable and directly executable in LLEE sys::Path(RealBytecodeOutput).makeExecutable(); sys::Path(RealBytecodeOutput).makeReadable(); @@ -360,7 +360,7 @@ int main(int argc, char **argv, char **envp ) { // Make the output, whether native or script, executable as well... sys::Path(OutputFilename).makeExecutable(); - + } catch (const char*msg) { std::cerr << argv[0] << ": " << msg << "\n"; exitCode = 1; |