[all-commits] [llvm/llvm-project] e9827f: [ms] Add new option to llvm-lib: /llvmlibempty
Eric Astor via All-commits
all-commits at lists.llvm.org
Thu Apr 30 12:31:38 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e9827f0b82751687f35d21d29f86adfab63a8dd5
https://github.com/llvm/llvm-project/commit/e9827f0b82751687f35d21d29f86adfab63a8dd5
Author: Eric Astor <epastor at google.com>
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
M llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
M llvm/lib/ToolDrivers/llvm-lib/Options.td
M llvm/test/tools/llvm-lib/no-inputs.test
Log Message:
-----------
[ms] Add new option to llvm-lib: /llvmlibempty
Summary:
Add a new option (/llvmlibempty). If passed and llvm-lib does not give an error, it will create a valid output archive even if empty.
By default, llvm-lib mimicks lib.exe: if given no input files, it doesn't create its output file at all. This is incompatible with some build systems, so we add a command-line option to toggle this compatibility behavior.
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D78894
More information about the All-commits
mailing list