[PATCH] D120224: [BOLT][NFC] Report errors from RewriteInstance `discoverStorage` and `run`

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 20 17:43:06 PST 2022


Amir created this revision.
Herald added a reviewer: rafauler.
Herald added a subscriber: ayermolo.
Herald added a reviewer: maksfb.
Amir requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

Further improve error handling in BOLT by reporting `RewriteInstance` errors in
a library and fuzzer-friendly way instead of exiting.

Follow-up to D119658 <https://reviews.llvm.org/D119658>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120224

Files:
  bolt/include/bolt/Rewrite/RewriteInstance.h
  bolt/lib/Rewrite/RewriteInstance.cpp
  bolt/tools/driver/llvm-bolt.cpp
  bolt/tools/heatmap/heatmap.cpp
  bolt/tools/llvm-bolt-fuzzer/llvm-bolt-fuzzer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120224.410197.patch
Type: text/x-patch
Size: 7568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220221/fb9b1cb6/attachment.bin>


More information about the llvm-commits mailing list