git: 7db4cd6aa5bc - stable/12 - llvm-readobj: Add missed source file

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 25 Dec 2021 11:56:01 UTC
The branch stable/12 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=7db4cd6aa5bc63a9559cc49ac6b958c41d595fc7

commit 7db4cd6aa5bc63a9559cc49ac6b958c41d595fc7
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2021-10-16 21:16:46 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-12-25 11:51:30 +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
    
    (cherry picked from commit 79239b5b47540d64ffd1e1226f0d12d49df339c1)
---
 lib/clang/libllvm/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile
index 2aa910a74488..dd85994dc07f 100644
--- a/lib/clang/libllvm/Makefile
+++ b/lib/clang/libllvm/Makefile
@@ -156,6 +156,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