mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-14 01:11:04 +00:00

* hurd-EIEIO-undef.diff: Drop patch, already fixed a different way upstream. * hurd-pathmax.diff: Drop now-useless parts.
15 lines
757 B
Diff
15 lines
757 B
Diff
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/utils/TableGen/CodeEmitterGen.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/llvm/utils/TableGen/CodeEmitterGen.cpp
|
|
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/utils/TableGen/CodeEmitterGen.cpp
|
|
@@ -396,6 +396,9 @@ void CodeEmitterGen::run(raw_ostream &o)
|
|
ArrayRef<const CodeGenInstruction*> NumberedInstructions =
|
|
Target.getInstructionsByEnumValue();
|
|
|
|
+ o << "// Undef for HURD\n";
|
|
+ o << "#ifdef EIEIO\n#undef EIEIO\n#endif\n";
|
|
+
|
|
const CodeGenHwModes &HWM = Target.getHwModes();
|
|
// The set of HwModes used by instruction encodings.
|
|
std::set<unsigned> HwModes;
|