From 6e998ee36ed19ae59b54a458a942c65d9f11dadd Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Wed, 14 Jun 2017 18:06:20 +0100 Subject: [PATCH] hurd-EIEIO-undef =================================================================== Gbp-Pq: Name hurd-EIEIO-undef.diff --- utils/TableGen/CodeEmitterGen.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp index f34c0ded0..17a38b777 100644 --- a/utils/TableGen/CodeEmitterGen.cpp +++ b/utils/TableGen/CodeEmitterGen.cpp @@ -239,6 +239,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" -- 2.30.2