[llvm-commits] [llvm] r91778 - in /llvm/trunk/lib/Target/X86/Disassembler: X86Disassembler.cpp X86DisassemblerDecoder.c
Daniel Dunbar
daniel at zuster.org
Sat Dec 19 09:11:53 PST 2009
Author: ddunbar
Date: Sat Dec 19 11:11:53 2009
New Revision: 91778
URL: http://llvm.org/viewvc/llvm-project?rev=91778&view=rev
Log:
#if 0 out X86 disassembler for now, it is breaking the build in multiple places.
Modified:
llvm/trunk/lib/Target/X86/Disassembler/X86Disassembler.cpp
llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
Modified: llvm/trunk/lib/Target/X86/Disassembler/X86Disassembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/Disassembler/X86Disassembler.cpp?rev=91778&r1=91777&r2=91778&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/Disassembler/X86Disassembler.cpp (original)
+++ llvm/trunk/lib/Target/X86/Disassembler/X86Disassembler.cpp Sat Dec 19 11:11:53 2009
@@ -14,6 +14,8 @@
//
//===----------------------------------------------------------------------===//
+#if 0
+
#include "X86Disassembler.h"
#include "X86DisassemblerDecoder.h"
#include "X86InstrInfo.h"
@@ -459,3 +461,8 @@
TargetRegistry::RegisterMCDisassembler(TheX86_64Target,
createX86_64Disassembler);
}
+
+#endif
+
+extern "C" void LLVMInitializeX86Disassembler() {
+}
Modified: llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c?rev=91778&r1=91777&r2=91778&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c (original)
+++ llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c Sat Dec 19 11:11:53 2009
@@ -13,6 +13,8 @@
*
*===----------------------------------------------------------------------===*/
+#if 0
+
#include <assert.h> /* for assert() */
#include <stdarg.h> /* for va_*() */
#include <stdio.h> /* for vsnprintf() */
@@ -1359,3 +1361,7 @@
return 0;
}
+
+#endif
+
+int X86DissemblerDecoder_dummy = 0;
More information about the llvm-commits
mailing list