Displaying 1 result from an estimated 1 matches for "417ecad".
2013 Feb 27
2
[LLVMdev] [PATCH] [Embtk] [compiler-rt] ASAN: Add mips support
...f6
Poisoned by user: f7
ASan internal: fe
==267== ABORTING
Signed-off-by: Abdoulaye Walsimou Gaye <awg at embtoolkit.org>
---
lib/asan/asan_linux.cc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/asan/asan_linux.cc b/lib/asan/asan_linux.cc
index 845493d..417ecad 100644
--- a/lib/asan/asan_linux.cc
+++ b/lib/asan/asan_linux.cc
@@ -88,6 +88,11 @@ void GetPcSpBp(void *context, uptr *pc, uptr *sp, uptr *bp) {
stk_ptr = (uptr *) *sp;
*bp = stk_ptr[15];
# endif
+#elif defined(__mips__)
+ ucontext_t *ucontext = (ucontext_t*)context;
+ *pc = ucontext->...