[llvm-commits] [126993] Unbreak Apple style build.
echeng at apple.com
echeng at apple.com
Mon May 7 15:23:43 PDT 2007
Revision: 126993
Author: echeng
Date: 2007-05-07 15:23:43 -0700 (Mon, 07 May 2007)
Log Message:
-----------
Unbreak Apple style build.
Modified Paths:
--------------
apple-local/branches/llvm/gcc/llvm-linker-hack.cpp
Modified: apple-local/branches/llvm/gcc/llvm-linker-hack.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-linker-hack.cpp 2007-05-07 21:53:40 UTC (rev 126992)
+++ apple-local/branches/llvm/gcc/llvm-linker-hack.cpp 2007-05-07 22:23:43 UTC (rev 126993)
@@ -28,6 +28,7 @@
#include "llvm/Bitcode/ReaderWriter.h"
#include "llvm/CodeGen/ScheduleDAG.h"
#include "llvm/CodeGen/Passes.h"
+#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Streams.h"
/// dummy_function - This is used when linking the LLVM libraries into a dynamic
@@ -40,8 +41,10 @@
void dummy_function() {
new llvm::ExistingModuleProvider(0);
llvm::createVerifierPass();
+ llvm::CreateBitcodeWriterPass(*llvm::cout);
llvm::WriteBitcodeToFile(0, *llvm::cout);
llvm::ParseBitcodeFile(NULL);
+ llvm::MemoryBuffer::getNewMemBuffer(0);
llvm::createInstructionCombiningPass();
llvm::createScalarReplAggregatesPass();
More information about the llvm-commits
mailing list