[all-commits] [llvm/llvm-project] af6e66: [BOLT][NFC] Report errors from RewriteInstance `di...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Wed Feb 23 20:42:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af6e66f44cf0829caceb06929d5cb43e718b9ca0
      https://github.com/llvm/llvm-project/commit/af6e66f44cf0829caceb06929d5cb43e718b9ca0
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-02-23 (Wed, 23 Feb 2022)

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

  Log Message:
  -----------
  [BOLT][NFC] Report errors from RewriteInstance `discoverStorage` and `run`

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

Follow-up to D119658

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D120224




More information about the All-commits mailing list