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:
parent
d93f6b9393
commit
db97ea1fd0
2 changed files with 2 additions and 2 deletions
|
@ -1570,7 +1570,7 @@ TEST_F(Specifications, InterCU) {
|
||||||
vector<Module::Function*> functions;
|
vector<Module::Function*> functions;
|
||||||
m.GetFunctions(&functions, functions.end());
|
m.GetFunctions(&functions, functions.end());
|
||||||
EXPECT_EQ(1U, functions.size());
|
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) {
|
TEST_F(Specifications, UnhandledInterCU) {
|
||||||
|
|
|
@ -67,7 +67,7 @@ typedef enum {
|
||||||
/* EXC_MACH_SYSCALL */
|
/* EXC_MACH_SYSCALL */
|
||||||
MD_EXCEPTION_MAC_RPC_ALERT = 9,
|
MD_EXCEPTION_MAC_RPC_ALERT = 9,
|
||||||
/* EXC_RPC_ALERT */
|
/* EXC_RPC_ALERT */
|
||||||
MD_EXCEPTION_MAC_SIMULATED = 0x43507378
|
MD_EXCEPTION_MAC_SIMULATED = 0x43507378,
|
||||||
/* Fake exception code used by Crashpad's SimulateCrash ('CPsx'). */
|
/* Fake exception code used by Crashpad's SimulateCrash ('CPsx'). */
|
||||||
MD_NS_EXCEPTION_SIMULATED = 0x43506E78
|
MD_NS_EXCEPTION_SIMULATED = 0x43506E78
|
||||||
/* Fake exception code used by Crashpad's uncaught exceptions ('CPnx'). */
|
/* Fake exception code used by Crashpad's uncaught exceptions ('CPnx'). */
|
||||||
|
|
Loading…
Reference in a new issue