[PATCH] D134657: [Driver] pass -fcrash-diagnostics-dir to LTO

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 26 10:31:22 PDT 2022


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:635
+  // Setup crash diagnostics dir.
+  if (Args.hasArg(options::OPT_fcrash_diagnostics_dir)) {
+    StringRef Dir = Args.getLastArgValue(options::OPT_fcrash_diagnostics_dir);
----------------
Use getLastArg


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134657



More information about the cfe-commits mailing list