[lld] [LLD][COFF] allow saving intermediate files with /lldsavetemps (PR #115131)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 6 01:00:03 PST 2024


================
@@ -79,6 +79,9 @@ def lldltocachepolicy : P<"lldltocachepolicy",
     "Pruning policy for the ThinLTO cache">;
 def lldsavetemps : F<"lldsavetemps">,
     HelpText<"Save intermediate LTO compilation results">;
+def lldsavetemps_eq : Joined<["/", "-", "/?", "-?"], "lldsavetemps:">,
----------------
mstorsjo wrote:

Small nitpick - the `_eq` suffix feels a little bit off here, as it's not a case of `=` but actually `:`. Not sure if I have anything better to suggest though.

https://github.com/llvm/llvm-project/pull/115131


More information about the llvm-commits mailing list