mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 07:20:33 +00:00

* try to build lldb-gdbserver under kfreebsd (kfreebsd-lldb-gdbserver.diff) * Second try to fix build under HURD (hurd-EIEIO-undef.diff)
15 lines
653 B
Diff
15 lines
653 B
Diff
Index: llvm-toolchain-snapshot-3.6~svn215188/utils/TableGen/CodeEmitterGen.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot-3.6~svn215188.orig/utils/TableGen/CodeEmitterGen.cpp
|
|
+++ llvm-toolchain-snapshot-3.6~svn215188/utils/TableGen/CodeEmitterGen.cpp
|
|
@@ -241,6 +241,9 @@ void CodeEmitterGen::run(raw_ostream &o)
|
|
const std::vector<const CodeGenInstruction*> &NumberedInstructions =
|
|
Target.getInstructionsByEnumValue();
|
|
|
|
+ o << "// Undef for HURD\n";
|
|
+ o << "#ifdef EIEIO\n#undef EIEIO\n#endif\n";
|
|
+
|
|
// Emit function declaration
|
|
o << "uint64_t " << Target.getName();
|
|
if (MCEmitter)
|