From 2f3ad48c9b35ccac377e710a4eee6b35f60b119f Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 20 Aug 2019 19:42:41 -0400 Subject: [PATCH] LLD patch: workaround for buggy MACH-O code This reapplies 5ce1a965e02b45a9b3bcb0328f40e08c5585e1e3 to the embedded LLD. --- deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp b/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp index 316b5bbc6f..f42ca3b2f7 100644 --- a/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp +++ b/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp @@ -621,7 +621,6 @@ void ArchHandler_x86_64::applyFixupFinal( // Fall into llvm_unreachable(). break; } - llvm_unreachable("invalid x86_64 Reference Kind"); } void ArchHandler_x86_64::applyFixupRelocatable(const Reference &ref,