diff options
author | Amir Ayupov <aaupov@fb.com> | 2022-02-16 20:39:59 -0800 |
---|---|---|
committer | Amir Ayupov <aaupov@fb.com> | 2022-02-17 00:50:52 -0800 |
commit | 32d2473a5dba417eb8d34146575289e4e53c91fa (patch) | |
tree | 880e28bcf166cf62a0f0fd372b10725e807c4f43 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 0ae2464fcd4d2c2f285b83d16ff6e2426dd722d2 (diff) | |
download | llvm-32d2473a5dba417eb8d34146575289e4e53c91fa.zip llvm-32d2473a5dba417eb8d34146575289e4e53c91fa.tar.gz llvm-32d2473a5dba417eb8d34146575289e4e53c91fa.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions