Index: llvm-toolchain-snapshot_9~svn358740/utils/TableGen/CodeEmitterGen.cpp =================================================================== --- llvm-toolchain-snapshot_9~svn358740.orig/utils/TableGen/CodeEmitterGen.cpp +++ llvm-toolchain-snapshot_9~svn358740/utils/TableGen/CodeEmitterGen.cpp @@ -247,6 +247,9 @@ void CodeEmitterGen::run(raw_ostream &o) ArrayRef 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(); o << "MCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,\n"