Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2303)

Unified Diff: tests/thread_capture/arch/mips/thread_capture_test_injection.c

Issue 1536713003: [MIPS] Make $t8 point to the address of TLS pointers (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client@master
Patch Set: Move EditMipsCode() below EditArmCode(). Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/thread_capture/arch/mips/thread_capture_test_injection.c
diff --git a/tests/thread_capture/arch/mips/thread_capture_test_injection.c b/tests/thread_capture/arch/mips/thread_capture_test_injection.c
index 290539060d2fa0b4723a7310fdb798692a786333..578c64bc6a8e8e4b1edc1b7fdc67c320128ca74b 100644
--- a/tests/thread_capture/arch/mips/thread_capture_test_injection.c
+++ b/tests/thread_capture/arch/mips/thread_capture_test_injection.c
@@ -18,7 +18,7 @@ static int32_t TestSyscall(struct NaClAppThread *natp) {
g_nacl_syscall_thread_capture_fault_addr =
(uintptr_t) &NaClSyscallThreadCaptureFault;
- NaClTlsSetCurrentThread(NULL);
+ natp->user.guard_token++;
return 0;
}
« no previous file with comments | « src/trusted/service_runtime/arch/mips/sel_rt.c ('k') | tests/thread_capture/nacl_thread_capture_test_injection_test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698