[llvm-commits] Fix darwin llvm bootstrap failure
Devang Patel
dpatel at apple.com
Wed Nov 29 18:50:30 PST 2006
This patch fixes darwin llvm-gcc bootstrap failure. Applied.
-
Devang
Index: llvm-linker-hack.cpp
===================================================================
--- llvm-linker-hack.cpp (revision 120687)
+++ llvm-linker-hack.cpp (working copy)
@@ -28,7 +28,7 @@ Software Foundation, 59 Temple Place - S
#include "llvm/Bytecode/Writer.h"
#include "llvm/CodeGen/ScheduleDAG.h"
#include "llvm/CodeGen/Passes.h"
-#include <iostream>
+#include "llvm/Support/Streams.h"
/// dummy_function - This is used when linking the LLVM libraries
into a dynamic
/// library, allowing the llvm backend to be shared across the various
@@ -40,7 +40,7 @@ Software Foundation, 59 Temple Place - S
void dummy_function() {
new llvm::ExistingModuleProvider(0);
llvm::createVerifierPass();
- llvm::WriteBytecodeToFile(0, std::cout);
+ llvm::WriteBytecodeToFile(0, llvm::llvm_cout);
llvm::createInstructionCombiningPass();
llvm::createScalarReplAggregatesPass();
More information about the llvm-commits
mailing list