[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetMachine.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Nov 1 12:10:33 PST 2004
Changes in directory llvm/lib/Target/X86:
X86TargetMachine.cpp updated: 1.69 -> 1.70
---
Log message:
Add placeholder variable to make Win32 work, applied for Morten Ofstad
---
Diffs of the changes: (+6 -0)
Index: llvm/lib/Target/X86/X86TargetMachine.cpp
diff -u llvm/lib/Target/X86/X86TargetMachine.cpp:1.69 llvm/lib/Target/X86/X86TargetMachine.cpp:1.70
--- llvm/lib/Target/X86/X86TargetMachine.cpp:1.69 Mon Oct 18 10:54:17 2004
+++ llvm/lib/Target/X86/X86TargetMachine.cpp Mon Nov 1 14:10:20 2004
@@ -27,6 +27,12 @@
X86VectorEnum llvm::X86Vector = NoSSE;
+/// X86TargetMachineModule - Note that this is used on hosts that cannot link
+/// in a library unless there are references into the library. In particular,
+/// it seems that it is not possible to get things to work on Win32 without
+/// this. Though it is unused, do not remove it.
+extern "C" int X86TargetMachineModule = 0;
+
namespace {
cl::opt<bool> NoSSAPeephole("disable-ssa-peephole", cl::init(true),
cl::desc("Disable the ssa-based peephole optimizer "
More information about the llvm-commits
mailing list