Skip to content

Commit 9acfbca

Browse files
committed
send PC to backlog
1 parent 5a4813f commit 9acfbca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

accel/tcg/tcg-runtime-sym.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#include "exec/cpu_ldst.h"
2121
#include "qemu/qemu-print.h"
2222
#include "tcg.h"
23+
#include "exec/exec-all.h"
24+
2325

2426
/* Include the symbolic backend, using void* as expression type. */
2527

@@ -651,6 +653,8 @@ void HELPER(sym_notify_return)(uint64_t return_address)
651653
void HELPER(sym_notify_block)(uint64_t block_id)
652654
{
653655
_sym_notify_basic_block(block_id);
656+
TranslationBlock *block = (TranslationBlock *) block_id;
657+
_sym_trace_execution(block->pc);
654658
}
655659

656660
void HELPER(sym_collect_garbage)(void)

0 commit comments

Comments
 (0)