diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2019-06-07 13:24:34 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2019-06-07 13:24:34 +0000 |
| commit | d546b5052bb71ad90230fa572101730d4c0246a3 (patch) | |
| tree | a729217488254eec81f25a3de28ed392c2be886a /llvm/lib/ToolDrivers/llvm-lib/LLVMBuild.txt | |
| parent | 6880bceda2df17f68e319c86a78642125086e0b8 (diff) | |
| download | bcm5719-llvm-d546b5052bb71ad90230fa572101730d4c0246a3.tar.gz bcm5719-llvm-d546b5052bb71ad90230fa572101730d4c0246a3.zip | |
llvm-lib: Disallow mixing object files with different machine types
lib.exe doesn't allow creating .lib files with object files that have
differing machine types. Update llvm-lib to match.
The motivation is to make it possible to infer the machine type of a
.lib file in lld, so that it can warn when e.g. a 32-bit .lib file is
passed to a 64-bit link (PR38965).
Fixes PR38782.
Differential Revision: https://reviews.llvm.org/D62913
llvm-svn: 362798
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LLVMBuild.txt')
| -rw-r--r-- | llvm/lib/ToolDrivers/llvm-lib/LLVMBuild.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ToolDrivers/llvm-lib/LLVMBuild.txt b/llvm/lib/ToolDrivers/llvm-lib/LLVMBuild.txt index ba981317ac7..9d117e21572 100644 --- a/llvm/lib/ToolDrivers/llvm-lib/LLVMBuild.txt +++ b/llvm/lib/ToolDrivers/llvm-lib/LLVMBuild.txt @@ -18,4 +18,4 @@ type = Library name = LibDriver parent = Libraries -required_libraries = BinaryFormat Object Option Support +required_libraries = BinaryFormat BitReader Object Option Support |

