aganea added inline comments.
================
Comment at: clang/tools/driver/driver.cpp:518
+ CRC.DumpStackAndCleanupOnFailure = true;
+ CRC.RunSafely([&]() { abort(); });
}
----------------
The only concern I have is that a unrelated call stack will be printed.
Could you possibly add (and use here) a function along the lines of
`emitBugReportMsg() { errs() << BugReportMsg; }`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81672/new/
https://reviews.llvm.org/D81672
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits