Changes in directory llvm/tools/lto:
lto.cpp updated: 1.19 -> 1.20 --- Log message: Use FindProgramByName instead of FindExecutable. --- Diffs of the changes: (+1 -1) lto.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/lto/lto.cpp diff -u llvm/tools/lto/lto.cpp:1.19 llvm/tools/lto/lto.cpp:1.20 --- llvm/tools/lto/lto.cpp:1.19 Mon Oct 9 15:20:13 2006 +++ llvm/tools/lto/lto.cpp Mon Oct 9 16:16:05 2006 @@ -386,7 +386,7 @@ // We can't just assemble and link the file with the system assembler // and linker because we don't know where to put the _start symbol. // GCC mysteriously knows how to do it. - const sys::Path gcc = FindExecutable("gcc", "/"); + const sys::Path gcc = sys::Program::FindProgramByName("gcc"); if (gcc.isEmpty()) { tmpAsmFilePath.eraseFromDisk(); TempDir.eraseFromDisk(true); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits