Merge "Update sys_ptrace_test.cpp for riscv64."
This commit is contained in:
commit
73840b56b2
1 changed files with 3 additions and 0 deletions
|
@ -257,6 +257,9 @@ static void watchpoint_imprecise_child(Uint128_t& data) {
|
|||
asm volatile("stm %0, { r0, r1, r2, r3 }" : : "r"(&data));
|
||||
#elif defined(__aarch64__)
|
||||
asm volatile("stp x0, x1, %0" : : "m"(data));
|
||||
#elif defined(__riscv)
|
||||
UNUSED(data);
|
||||
GTEST_LOG_(INFO) << "missing riscv64 instruction to store > 64 bits in one instruction";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue