[llvm-commits] [llvm-gcc-4.2] r66266 - /llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp
Evan Cheng
evan.cheng at apple.com
Thu Mar 5 23:53:39 PST 2009
Author: evancheng
Date: Fri Mar 6 01:53:39 2009
New Revision: 66266
URL: http://llvm.org/viewvc/llvm-project?rev=66266&view=rev
Log:
Attempt to unbreak Apple style build.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp
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=66266&r1=66265&r2=66266&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp Fri Mar 6 01:53:39 2009
@@ -32,6 +32,7 @@
#include "llvm/CodeGen/SchedulerRegistry.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/MemoryBuffer.h"
+#include "llvm/Support/PrettyStackTrace.h"
#include "llvm/Support/Streams.h"
/// dummy_function - This is used when linking the LLVM libraries into a dynamic
@@ -90,6 +91,7 @@
llvm::createFunctionAttrsPass();
llvm::createPrintModulePass(0);
+ llvm::PrettyStackTraceProgram::PrettyStackTraceProgram(0, 0);
llvm::DIFactory::DIFactory(*MP->getModule());
std::string Err;
llvm::TargetMachineRegistry::getClosestStaticTargetForModule(*MP->getModule(),
More information about the llvm-commits
mailing list