diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2018-12-15 16:17:48 -0800 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2018-12-15 16:17:48 -0800 |
commit | 380558922b661499f4eb43b0463b5a73e5fe87b7 (patch) | |
tree | a4784816965ae37e72bde3983c68738d7b0d41a4 /upb/upb.c | |
parent | 2681a17513be312d1da924a1644f040eb8c1372a (diff) |
test_encoder passes! Other tests still need to be fixed.
Diffstat (limited to 'upb/upb.c')
-rw-r--r-- | upb/upb.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -31,6 +31,7 @@ static void nullz(upb_status *status) { upb_errorspace upb_upberr = {"upb error"}; void upb_upberr_setoom(upb_status *status) { + __builtin_trap(); status->error_space_ = &upb_upberr; upb_status_seterrmsg(status, "Out of memory"); } |