From: Joseph Huber Date: Fri, 13 Jan 2023 15:16:10 +0000 (-0600) Subject: [lld][Mach-O] Fix build with Mach-O due to missing library X-Git-Tag: upstream/17.0.6~21027 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=87bea593626a103ea4d63ab4a027ec956ccc2b56;p=platform%2Fupstream%2Fllvm.git [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. --- 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