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

Unified Diff: src/client/linux/microdump_writer/microdump_writer.cc

Issue 1418453011: [mips64] Support for mips n64 (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 5 years, 1 month 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: src/client/linux/microdump_writer/microdump_writer.cc
diff --git a/src/client/linux/microdump_writer/microdump_writer.cc b/src/client/linux/microdump_writer/microdump_writer.cc
index aa9f94136761b98a20dd664198431138eb9dd556..e8e56248575cb6d4a5fbac94244e7d742aa00aba 100644
--- a/src/client/linux/microdump_writer/microdump_writer.cc
+++ b/src/client/linux/microdump_writer/microdump_writer.cc
@@ -178,8 +178,10 @@ class MicrodumpWriter {
const char kArch[] = "x86_64";
#elif defined(__i386__)
const char kArch[] = "x86";
-#elif defined(__mips__)
+#elif defined(__mips__) && _MIPS_SIM == _ABIO32
vapier 2015/12/15 17:29:27 would be cleaner imo to write: #if defined(__mips
mveljko 2015/12/17 13:36:24 Done.
const char kArch[] = "mips";
+#elif defined(__mips__) && _MIPS_SIM == _ABI64
+ const char kArch[] = "mips64";
#else
#error "This code has not been ported to your platform yet"
#endif

Powered by Google App Engine
This is Rietveld 408576698