aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2021-10-16 21:16:46 +0000
committerDimitry Andric <dim@FreeBSD.org>2021-10-16 21:16:46 +0000
commit79239b5b47540d64ffd1e1226f0d12d49df339c1 (patch)
tree11a81744255afa48f3de1cf05daf4a187bc3633e
parent7dd419cabc6bb9e019c56d15f8e6a88ee2f46859 (diff)
downloadsrc-79239b5b47540d64ffd1e1226f0d12d49df339c1.tar.gz
src-79239b5b47540d64ffd1e1226f0d12d49df339c1.zip
llvm-readobj: Add missed source file
In some configurations (e.g. powerpc64) the llvm-readobj tool also needs contrib/llvm-project/llvm/BinaryFormat/MsgPackWriter.cpp, so add it to libllvm. Reported by: Shawn Webb <shawn.webb@hardenedbsd.org> Fixes: 1b85b68da0b2
-rw-r--r--lib/clang/libllvm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile
index cb9ab974abc5..bd0aee918ef3 100644
--- a/lib/clang/libllvm/Makefile
+++ b/lib/clang/libllvm/Makefile
@@ -155,6 +155,7 @@ SRCS_MIN+= BinaryFormat/MachO.cpp
SRCS_MIN+= BinaryFormat/MsgPackDocument.cpp
SRCS_MIN+= BinaryFormat/MsgPackDocumentYAML.cpp
SRCS_MIN+= BinaryFormat/MsgPackReader.cpp
+SRCS_MIN+= BinaryFormat/MsgPackWriter.cpp
SRCS_MIN+= BinaryFormat/Wasm.cpp
SRCS_MIN+= BinaryFormat/XCOFF.cpp
SRCS_MIN+= Bitcode/Reader/BitReader.cpp