[llvm-commits] CVS: llvm/tools/llvm-ld/llvm-ld.cpp
Reid Spencer
reid at x10sys.com
Mon Dec 13 15:44:33 PST 2004
Changes in directory llvm/tools/llvm-ld:
llvm-ld.cpp updated: 1.10 -> 1.11
---
Log message:
For PR351: http://llvm.cs.uiuc.edu/PR351 :
Adjust to interface change for FindExecutable.
---
Diffs of the changes: (+5 -4)
Index: llvm/tools/llvm-ld/llvm-ld.cpp
diff -u llvm/tools/llvm-ld/llvm-ld.cpp:1.10 llvm/tools/llvm-ld/llvm-ld.cpp:1.11
--- llvm/tools/llvm-ld/llvm-ld.cpp:1.10 Mon Dec 13 14:03:02 2004
+++ llvm/tools/llvm-ld/llvm-ld.cpp Mon Dec 13 17:44:23 2004
@@ -481,11 +481,11 @@
sys::RemoveFileOnSignal(sys::Path(OutputFilename));
// Determine the locations of the llc and gcc programs.
- std::string llc = FindExecutable("llc", argv[0]);
- std::string gcc = FindExecutable("gcc", argv[0]);
+ std::string llc = FindExecutable("llc", argv[0]).toString();
if (llc.empty())
return PrintAndReturn("Failed to find llc");
+ std::string gcc = FindExecutable("gcc", argv[0]).toString();
if (gcc.empty())
return PrintAndReturn("Failed to find gcc");
@@ -506,10 +506,11 @@
sys::RemoveFileOnSignal(sys::Path(OutputFilename));
// Determine the locations of the llc and gcc programs.
- std::string llc = FindExecutable("llc", argv[0]);
- std::string gcc = FindExecutable("gcc", argv[0]);
+ std::string llc = FindExecutable("llc", argv[0]).toString();
if (llc.empty())
return PrintAndReturn("Failed to find llc");
+
+ std::string gcc = FindExecutable("gcc", argv[0]).toString();
if (gcc.empty())
return PrintAndReturn("Failed to find gcc");
More information about the llvm-commits
mailing list