git: 79239b5b4754 - main - llvm-readobj: Add missed source file

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 16 Oct 2021 21:17:24 UTC
The branch main has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=79239b5b47540d64ffd1e1226f0d12d49df339c1

commit 79239b5b47540d64ffd1e1226f0d12d49df339c1
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2021-10-16 21:16:46 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-10-16 21:16:46 +0000

    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
---
 lib/clang/libllvm/Makefile | 1 +
 1 file changed, 1 insertion(+)

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