Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(329)

Unified Diff: client/linux/handler/exception_handler_unittest.cc

Issue 6824002: MIPS64: Initial MIPS64 related change. (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/src/
Patch Set: Replace ANDROID by __ANDROID__ Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/linux/dump_writer_common/ucontext_reader.cc ('k') | client/linux/minidump_writer/linux_dumper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/linux/handler/exception_handler_unittest.cc
===================================================================
--- client/linux/handler/exception_handler_unittest.cc (revision 1435)
+++ client/linux/handler/exception_handler_unittest.cc (working copy)
@@ -80,7 +80,11 @@
// Provided by Android's <unistd.h>
long begin = reinterpret_cast<long>(memory);
long end = begin + static_cast<long>(memory_size);
+#if _MIPS_SIM == _ABIO32
cacheflush(begin, end, 0);
+#else
+ syscall(__NR_cacheflush, begin, end, ICACHE);
+#endif
# elif defined(__linux__)
// See http://www.linux-mips.org/wiki/Cacheflush_Syscall.
cacheflush(const_cast<char*>(memory), memory_size, ICACHE);
« no previous file with comments | « client/linux/dump_writer_common/ucontext_reader.cc ('k') | client/linux/minidump_writer/linux_dumper.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted