LibDriver: Reject inputs that are not COFF objects or bitcode files.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 14 Dec 2016 22:19:22 +0000 (22:19 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 14 Dec 2016 22:19:22 +0000 (22:19 +0000)
commitb677fe00fb3d5e9d384ad12030494aa9bf9b3fb7
tree3b5f0867167c2cda60287486e03e66a60b4fccb7
parent40dd8c510955de5bad344e3b31a325eb8481e292
LibDriver: Reject inputs that are not COFF objects or bitcode files.

Fixes PR31372.

Differential Revision: https://reviews.llvm.org/D27776

llvm-svn: 289726
llvm/lib/LibDriver/LibDriver.cpp
llvm/test/LibDriver/Inputs/cl-gl.obj [new file with mode: 0755]
llvm/test/LibDriver/invalid.test [new file with mode: 0644]
llvm/test/LibDriver/thin.test