[lld] 87bea59 - [lld][Mach-O] Fix build with Mach-O due to missing library
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 13 07:17:53 PST 2023
Author: Joseph Huber
Date: 2023-01-13T09:17:40-06:00
New Revision: 87bea593626a103ea4d63ab4a027ec956ccc2b56
URL: https://github.com/llvm/llvm-project/commit/87bea593626a103ea4d63ab4a027ec956ccc2b56
DIFF: https://github.com/llvm/llvm-project/commit/87bea593626a103ea4d63ab4a027ec956ccc2b56.diff
LOG: [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.
Added:
Modified:
lld/MachO/CMakeLists.txt
Removed:
################################################################################
diff --git a/lld/MachO/CMakeLists.txt b/lld/MachO/CMakeLists.txt
index 9264d47e7babc..ea26889267f75 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
More information about the llvm-commits
mailing list