Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions core/libs/prx/libc/src/exception/StandardExceptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ const char* PlainWhat(const ExceptionObject* object) {
if (std::strcmp(name, "St9exception") == 0) return "std::exception";
if (std::strcmp(name, "St8bad_cast") == 0) return "std::bad_cast";
if (std::strcmp(name, "St10bad_typeid") == 0) return "std::bad_typeid";
if (std::strcmp(name, "St9bad_alloc") == 0) return "std::bad_alloc";
if (std::strcmp(name, "St20bad_array_new_length") == 0) return "std::bad_array_new_length";
if (std::strcmp(name, "St17bad_function_call") == 0) return "std::bad_function_call";
if (std::strcmp(name, "St9bad_alloc") == 0) return "bad allocation";
if (std::strcmp(name, "St20bad_array_new_length") == 0) return "bad allocation";
if (std::strcmp(name, "St17bad_function_call") == 0) return "bad function call";
if (std::strcmp(name, "St12bad_weak_ptr") == 0) return "bad_weak_ptr";
if (std::strcmp(name, "St18bad_variant_access") == 0) return "bad_variant_access";
if (std::strcmp(name, "St19bad_optional_access") == 0) return "bad_optional_access";
Expand Down
2 changes: 1 addition & 1 deletion core/libs/tests/GuestMessageDestructorAbi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ static int TestVtable(const char* mode) {
if (!deleting && actual->message) FixtureFail(59);
} else {
const char* result = ProbeWhat(what, actual, unused);
if (!result || std::strcmp(result, plain ? "std::bad_alloc" : "actual virtual message") ||
if (!result || std::strcmp(result, plain ? "bad allocation" : "actual virtual message") ||
objectFrees || messageFrees) FixtureFail(60);
}
if (other->vtable != originalOther.vtable || other->message != originalOther.message ||
Expand Down
2 changes: 1 addition & 1 deletion core/libs/tests/GuestSceV2Exceptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static void CheckThrowers() {
{"_Xoverflow_error", AsThrower(_ZNSt8__sce_v216_Xoverflow_errorEPKc_nid_postfix), nullptr, exception, &logicError, 2,
"NSt8__sce_v214overflow_errorE|"},
{"_Xbad_alloc", AsThrower(_ZNSt8__sce_v211_Xbad_allocEv_nid_postfix), nullptr, &_ZTISt9bad_alloc_nid_postfix, errorException, 2,
"St9bad_alloc|std::bad_alloc"},
"St9bad_alloc|bad allocation"},
{"_Xbad_function_call", AsThrower(_ZNSt8__sce_v219_Xbad_function_callEv_nid_postfix), nullptr, exception, errorException, 2,
"NSt8__sce_v217bad_function_callE|bad function call"},
{"_Throw(bad_optional_access)", AsThrower(_ZNSt8__sce_v26_ThrowERKNS_19bad_optional_accessE_nid_postfix), nullptr, exception, errorException, 2,
Expand Down
Loading