[PATCH] D81672: [Driver] When forcing a crash print the bug report message

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 11:15:53 PDT 2020


MaskRay added inline comments.


================
Comment at: clang/tools/driver/driver.cpp:515
+
+      llvm::dbgs() << llvm::getBugReportMsg();
     }
----------------
Why ` llvm::dbgs() << llvm::getBugReportMsg();` when -gen-reproducer is specified? The user requests to generate a reproduce file, but this does not suggest that clang has a bug. Dumping an URL is not very appropriate.


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

https://reviews.llvm.org/D81672





More information about the llvm-commits mailing list