[llvm-commits] [llvm-gcc-4.2] r79887 - in /llvm-gcc-4.2/trunk/gcc: llvm-internal.h llvm-linker-hack.cpp
Chris Lattner
sabre at nondot.org
Sun Aug 23 21:02:23 PDT 2009
Author: lattner
Date: Sun Aug 23 23:02:22 2009
New Revision: 79887
URL: http://llvm.org/viewvc/llvm-project?rev=79887&view=rev
Log:
raw_os_ostream is in its own header now, adjust for api change.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-internal.h
llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-internal.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-internal.h?rev=79887&r1=79886&r2=79887&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-internal.h (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-internal.h Sun Aug 23 23:02:22 2009
@@ -41,7 +41,7 @@
#include "llvm/Support/IRBuilder.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/TargetFolder.h"
-#include "llvm/Support/raw_ostream.h"
+#include "llvm/Support/raw_os_ostream.h"
extern "C" {
#include "llvm.h"
Modified: llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp?rev=79887&r1=79886&r2=79887&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp Sun Aug 23 23:02:22 2009
@@ -33,7 +33,7 @@
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/PrettyStackTrace.h"
-#include "llvm/Support/raw_ostream.h"
+#include "llvm/Support/raw_os_ostream.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegistry.h"
@@ -47,7 +47,7 @@
void dummy_function() {
llvm::ModuleProvider *MP = new llvm::ExistingModuleProvider(0);
llvm::LLVMContext Ctxt;
-
+ llvm::raw_os_ostream XXStr(*(std::ostream*)0);
llvm::createVerifierPass();
llvm::createBitcodeWriterPass(llvm::outs());
llvm::WriteBitcodeToFile(0, llvm::outs());
More information about the llvm-commits
mailing list