[PATCH] D152361: [llvm-dlltool] Ignore the --temp-prefix option

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 8 13:23:13 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6540157fe389: [llvm-dlltool] Ignore the --temp-prefix option (authored by mstorsjo).

Changed prior to commit:
  https://reviews.llvm.org/D152361?vs=529252&id=529706#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152361/new/

https://reviews.llvm.org/D152361

Files:
  llvm/lib/ToolDrivers/llvm-dlltool/Options.td
  llvm/test/tools/llvm-dlltool/ignored-opts.def


Index: llvm/test/tools/llvm-dlltool/ignored-opts.def
===================================================================
--- /dev/null
+++ llvm/test/tools/llvm-dlltool/ignored-opts.def
@@ -0,0 +1,8 @@
+; RUN: llvm-dlltool -m i386 -d %s -l %t.a --temp-prefix foo
+; RUN: llvm-dlltool -m i386 -d %s -l %t.a --temp-prefix=foo
+; RUN: llvm-dlltool -m i386 -d %s -l %t.a -t foo
+; RUN: llvm-dlltool -m i386 -d %s -l %t.a -tfoo
+
+LIBRARY test.dll
+EXPORTS
+TestFunction
Index: llvm/lib/ToolDrivers/llvm-dlltool/Options.td
===================================================================
--- llvm/lib/ToolDrivers/llvm-dlltool/Options.td
+++ llvm/lib/ToolDrivers/llvm-dlltool/Options.td
@@ -24,3 +24,6 @@
 
 def f: JoinedOrSeparate<["-"], "f">, HelpText<"Assembler Flags">;
 def f_alias: JoinedOrSeparate<["--"], "as-flags">, Alias<f>;
+
+def t: JoinedOrSeparate<["-"], "t">, HelpText<"Prefix for temporary files (ignored)">;
+def t_alias: JoinedOrSeparate<["--"], "temp-prefix">, Alias<t>;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152361.529706.patch
Type: text/x-patch
Size: 987 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230608/68be9022/attachment.bin>


More information about the llvm-commits mailing list