summaryrefslogtreecommitdiff
path: root/libunwindstack/include/unwindstack/RegsGetLocal.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2017-08-01 18:09:44 -0700
committerChristopher Ferris <cferris@google.com>2017-08-02 10:45:46 -0700
commit3386cff33e8e617d289b84af7e64a35185f2b436 (patch)
tree53939c04ec5da83f27ded5dbe5007f8f4e262ad8 /libunwindstack/include/unwindstack/RegsGetLocal.h
parentdb327508547cfeb7a36781fc3151e88a086f4178 (diff)
downloadunwinding-3386cff33e8e617d289b84af7e64a35185f2b436.tar.gz
Allow mips to build.
Test: Build mips. Change-Id: Ice2fe1d11b7c628b325ea2ad1fd1252ad8e10668
Diffstat (limited to 'libunwindstack/include/unwindstack/RegsGetLocal.h')
-rw-r--r--libunwindstack/include/unwindstack/RegsGetLocal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libunwindstack/include/unwindstack/RegsGetLocal.h b/libunwindstack/include/unwindstack/RegsGetLocal.h
index ffec213..d1461d8 100644
--- a/libunwindstack/include/unwindstack/RegsGetLocal.h
+++ b/libunwindstack/include/unwindstack/RegsGetLocal.h
@@ -97,6 +97,11 @@ inline void RegsGetLocal(Regs* regs) {
regs->SetFromRaw();
}
+#elif defined(__mips__)
+
+// Stub to allow mips to build.
+void RegsGetLocal(Regs*) {}
+
#endif
} // namespace unwindstack