mirror of
https://github.com/open-goal/jak-project
synced 2026-08-13 04:10:18 -04:00
[compiler] print a backtrace as part of di (#658)
* print a backtrace as part of di * missing include
This commit is contained in:
@@ -182,7 +182,8 @@ TEST(Debugger, SimpleBreakpoint) {
|
||||
EXPECT_TRUE(bi.knows_object);
|
||||
EXPECT_TRUE(bi.object_name == "*listener*");
|
||||
EXPECT_TRUE(bi.function_name == "test-function");
|
||||
EXPECT_FALSE(bi.disassembly_failed);
|
||||
auto disasm = compiler.get_debugger().disassemble_at_rip(bi);
|
||||
EXPECT_FALSE(disasm.failed);
|
||||
// if we change this to be before the break instruction this might need to be 0 in the future.
|
||||
EXPECT_EQ(bi.function_offset, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user