[llvm-dlltool] Ignore the --temp-prefix option
authorMartin Storsjö <martin@martin.st>
Wed, 7 Jun 2023 10:41:15 +0000 (13:41 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 8 Jun 2023 20:21:56 +0000 (23:21 +0300)
commit6540157fe389b3dc46e9a1306370acd79d40c183
tree0ba24cb75550d8a864b99a8d6a1080b9b2aff6da
parent8deeaef0291f3d63900eb3c61dc46625fb24aafb
[llvm-dlltool] Ignore the --temp-prefix option

llvm-dlltool tolerates unknown options as long as they are plain
flags, but if given the parameter value as a separate argument,
e.g. "--temp-prefix foo", it fails to ignore it.

Differential Revision: https://reviews.llvm.org/D152361
llvm/lib/ToolDrivers/llvm-dlltool/Options.td
llvm/test/tools/llvm-dlltool/ignored-opts.def [new file with mode: 0644]