On Wed, Jun 1, 2016 at 9:39 AM, Nicholas Nethercote
<[email protected]> wrote:
>
> Yes. Don't get hung up on the lack of annotations. It isn't much of a
> problem; you can click through easily enough. I have filed bug 1277104
> to fix the handful of instances that are showing up in practice, but
> it'll only be a minor improvement.
Related: this is a common pattern:
if (!cond) {
MOZ_CRASH();
}
If you instead write this:
MOZ_RELEASE_ASSERT(cond);
not only is it shorter and more readable, but the crash report will
automatically be annotated with "cond".
Nick
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform