Fix errors in minidump_exception_mac and dwarf_cu_to_module_unittest

Change-Id: I468f19048f6b48b230913e911d0da7a20d96cae8
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3222826
Reviewed-by: Mark Mentovai <mark@chromium.org>
Reviewed-by: Nelson Billing <nbilling@google.com>
This commit is contained in:
Justin Cohen 2021-10-14 14:45:08 -04:00 committed by Mark Mentovai
parent d93f6b9393
commit db97ea1fd0
2 changed files with 2 additions and 2 deletions

View file

@ -1570,7 +1570,7 @@ TEST_F(Specifications, InterCU) {
vector<Module::Function*> functions;
m.GetFunctions(&functions, functions.end());
EXPECT_EQ(1U, functions.size());
EXPECT_STREQ("class_A::member_func_B", functions[0]->name.c_str());
EXPECT_STREQ("class_A::member_func_B", functions[0]->name.str().c_str());
}
TEST_F(Specifications, UnhandledInterCU) {

View file

@ -67,7 +67,7 @@ typedef enum {
/* EXC_MACH_SYSCALL */
MD_EXCEPTION_MAC_RPC_ALERT = 9,
/* EXC_RPC_ALERT */
MD_EXCEPTION_MAC_SIMULATED = 0x43507378
MD_EXCEPTION_MAC_SIMULATED = 0x43507378,
/* Fake exception code used by Crashpad's SimulateCrash ('CPsx'). */
MD_NS_EXCEPTION_SIMULATED = 0x43506E78
/* Fake exception code used by Crashpad's uncaught exceptions ('CPnx'). */