diff --git a/debian/patches/series b/debian/patches/series index f2744617..9af82b42 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -148,3 +148,4 @@ unwind-force-pthread-dl.diff force-sse2-compiler-rt.diff bolt-disable-emit-relocs.patch link-grpc.diff +workaround-bug-63225.diff diff --git a/debian/patches/workaround-bug-63225.diff b/debian/patches/workaround-bug-63225.diff new file mode 100644 index 00000000..94f41f5a --- /dev/null +++ b/debian/patches/workaround-bug-63225.diff @@ -0,0 +1,13 @@ +Index: llvm-toolchain-snapshot_17~++20230610085902+8e44b849da1c/llvm/lib/CodeGen/MachineScheduler.cpp +=================================================================== +--- llvm-toolchain-snapshot_17~++20230610085902+8e44b849da1c.orig/llvm/lib/CodeGen/MachineScheduler.cpp ++++ llvm-toolchain-snapshot_17~++20230610085902+8e44b849da1c/llvm/lib/CodeGen/MachineScheduler.cpp +@@ -2813,7 +2813,7 @@ LLVM_DUMP_METHOD void SchedBoundary::dum + dbgs() << ResName << "(" << UnitIdx << ") = "; + if (SchedModel && SchedModel->enableIntervals()) { + if (ReservedResourceSegments.count(StartIdx + UnitIdx)) +- dbgs() << ReservedResourceSegments.at(StartIdx + UnitIdx); ++ dbgs() << "ReservedResourceSegments.at(StartIdx + UnitIdx)"; + else + dbgs() << "{ }\n"; + } else