Revision: 16342
Author: [email protected]
Date: Mon Aug 26 20:29:54 2013 UTC
Log: MIPS: Add a trap_on_abort flag.
Port r16319 (22e0380)
Original commit message:
By setting this flag assertions behind --debug-code will trigger a
breakpoint instead of a call into Abort. This eases debugging, as the
call site is less cluttered and the backtrace starts where it should.
BUG=
Patch from Balazs Kilvady <[email protected]>.
http://code.google.com/p/v8/source/detail?r=16342
Modified:
/branches/bleeding_edge/src/mips/macro-assembler-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/macro-assembler-mips.cc Mon Aug 19
17:46:43 2013 UTC
+++ /branches/bleeding_edge/src/mips/macro-assembler-mips.cc Mon Aug 26
20:29:54 2013 UTC
@@ -4477,6 +4477,11 @@
RecordComment("Abort message: ");
RecordComment(msg);
}
+
+ if (FLAG_trap_on_abort) {
+ stop(msg);
+ return;
+ }
#endif
li(a0, Operand(p0));
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.