Now that the llvm-mt manifest merging libraries are complete, we may use them to merge manifests instead of needing to shell out to mt.exe.
Contingent on D36201.
Paths
| Differential D36255
Integrate manifest merging library into LLD. ClosedPublic Authored by ecbeckmann on Aug 2 2017, 5:31 PM.
Details Summary Now that the llvm-mt manifest merging libraries are complete, we may use them to merge manifests instead of needing to shell out to mt.exe. Contingent on D36201.
Diff Detail
Event Timeline
ecbeckmann marked 7 inline comments as done. Comment Actionssome format and style changes, also do not check if libxml2 is installed but rather just check if WindowsManifestMerger is successful or not.
ecbeckmann marked 3 inline comments as done. Comment ActionsSeparate manifest merge functions, style fix.
ecbeckmann added inline comments.
This revision is now accepted and ready to land.Aug 21 2017, 4:52 PM Comment Actions Instead of returning nullptr when libxml is not installed, it returns an error
Closed by commit rL311424: Integrate manifest merging library into LLD. (authored by ecbeckmann). · Explain WhyAug 21 2017, 8:16 PM This revision was automatically updated to reflect the committed changes.
hans added inline comments.
Comment Actions This broke building LLD with an installed LLVM: https://bugs.llvm.org/show_bug.cgi?id=34608
Revision Contents
Diff 111273 lld/COFF/CMakeLists.txt
lld/COFF/DriverUtils.cpp
lld/test/COFF/manifestinput.test
lld/test/lit.cfg
lld/test/lit.site.cfg.in
llvm/include/llvm/WindowsManifest/WindowsManifestMerger.h
llvm/lib/WindowsManifest/WindowsManifestMerger.cpp
llvm/test/tools/llvm-mt/Inputs/assembly_identity.manifest
llvm/test/tools/llvm-mt/Inputs/compatibility.manifest
llvm/test/tools/llvm-mt/Inputs/expected_big.manifest
llvm/test/tools/llvm-mt/Inputs/test_manifest.manifest
llvm/test/tools/llvm-mt/Inputs/trust_and_identity.manifest
llvm/test/tools/llvm-mt/Inputs/trust_info.manifest
llvm/test/tools/llvm-mt/Inputs/windows_settings.manifest
llvm/test/tools/llvm-mt/big_merge.test
llvm/test/tools/llvm-mt/simple_merge.test
llvm/test/tools/llvm-mt/single_file.test
llvm/tools/llvm-mt/Opts.td
llvm/tools/llvm-mt/llvm-mt.cpp
|
Can you mark this function static?