[all-commits] [llvm/llvm-project] 32d247: [BOLT][NFC] Report errors from createBinaryContext...
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Thu Feb 17 00:51:05 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 32d2473a5dba417eb8d34146575289e4e53c91fa
https://github.com/llvm/llvm-project/commit/32d2473a5dba417eb8d34146575289e4e53c91fa
Author: Amir Ayupov <aaupov at fb.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M bolt/include/bolt/Core/BinaryContext.h
M bolt/include/bolt/Rewrite/MachORewriteInstance.h
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Core/BinaryContext.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/MachORewriteInstance.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/tools/driver/llvm-bolt.cpp
M bolt/tools/heatmap/heatmap.cpp
M bolt/unittests/Core/MCPlusBuilder.cpp
Log Message:
-----------
[BOLT][NFC] Report errors from createBinaryContext and RewriteInstance ctor
Refactor createBinaryContext and RewriteInstance/MachORewriteInstance
constructors to report an error in a library and fuzzer-friendly way instead of
returning a nullptr or exiting.
Reviewed By: rafauler
Differential Revision: https://reviews.llvm.org/D119658
More information about the All-commits
mailing list