aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-02-28 12:54:11 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-02-28 12:54:11 -0500
commit182cd0e4c0bef4c919d479135428da0251e8cc50 (patch)
tree6ed6bf09bb42922b1375b2969b46bc4cd2dae7d6
parent5768fcb0850335fa8b5f3dca23f1bbfca5d6efb2 (diff)
downloadzig-182cd0e4c0bef4c919d479135428da0251e8cc50.tar.gz
zig-182cd0e4c0bef4c919d479135428da0251e8cc50.zip
LLD patch: workaround for buggy MACH-O code
This reapplies 00902ff9b0931a85ab87649efc8b4e4027ab8358 to the embedded LLD.
-rw-r--r--deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp b/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp
index fba3d530e4..c94ddb7ebf 100644
--- a/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp
+++ b/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp
@@ -622,7 +622,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,