From 87bea593626a103ea4d63ab4a027ec956ccc2b56 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Fri, 13 Jan 2023 09:16:10 -0600 Subject: [PATCH] [lld][Mach-O] Fix build with Mach-O due to missing library Summary: The build was failing due to an undefined symbol. This is because this function is defined in the `BitWriter` component but was not linked. --- lld/MachO/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lld/MachO/CMakeLists.txt b/lld/MachO/CMakeLists.txt index 9264d47..ea26889 100644 --- a/lld/MachO/CMakeLists.txt +++ b/lld/MachO/CMakeLists.txt @@ -38,6 +38,7 @@ add_lld_library(lldMachO ${LLVM_TARGETS_TO_BUILD} BinaryFormat BitReader + BitWriter Core DebugInfoDWARF Demangle -- 2.7.4