[PATCH] D151170: [StandardInstrumentations] Add option to dump IR to a file on crash

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 04:21:48 PDT 2023


hans added inline comments.


================
Comment at: llvm/lib/Passes/StandardInstrumentations.cpp:101
+static cl::opt<std::string> PrintOnCrashPath(
+    "print-on-crash-path",
+    cl::desc("Print the last form of the IR before crash to a file"),
----------------
How about `-print-on-crash-file` and `PrintOnCrashFile` instead?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151170



More information about the llvm-commits mailing list