aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAmir Ayupov <aaupov@fb.com>2022-04-08 21:07:27 -0700
committerAmir Ayupov <aaupov@fb.com>2022-04-08 21:08:39 -0700
commit9b02dc631d71ded18bf62ea332b68bd873cc23b6 (patch)
treeac3b5839c865209760c1ab7ab94e99f990b74f6f /clang/lib/Frontend/CompilerInvocation.cpp
parent82dcf3063697eba96b825e91f11a8e74c4c95cb1 (diff)
downloadllvm-9b02dc631d71ded18bf62ea332b68bd873cc23b6.zip
llvm-9b02dc631d71ded18bf62ea332b68bd873cc23b6.tar.gz
llvm-9b02dc631d71ded18bf62ea332b68bd873cc23b6.tar.bz2
[BOLT] Check MCContext errors
Abort on emission errors to prevent a malformed binary being written. Example: ``` <unknown>:0: error: Undefined temporary symbol .Ltmp26310 <unknown>:0: error: Undefined temporary symbol .Ltmp26311 <unknown>:0: error: Undefined temporary symbol .Ltmp26312 <unknown>:0: error: Undefined temporary symbol .Ltmp26313 <unknown>:0: error: Undefined temporary symbol .Ltmp26314 <unknown>:0: error: Undefined temporary symbol .Ltmp26315 BOLT-ERROR: Emission failed. ``` Reviewed By: yota9 Differential Revision: https://reviews.llvm.org/D123263
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions