On Wed, May 6, 2020 at 6:44 AM Gabriele Svelto <gsve...@mozilla.com> wrote:
> On 05/05/20 23:38, Nicholas Nethercote wrote: > > As for why that check is there... do opt builds produce any stack traces > in > > tests? Normal assertions aren't enabled on opt builds, but > > diagnostic/release assertions are. I can't remember off the top of my > head > > if they produce stacks traces in opt builds, and likewise with crashes. > > Stack traces are printed out only on debug builds: > > > https://searchfox.org/mozilla-central/rev/7908ce29657cfd623993046bd8e38664e1c0b28e/mfbt/Assertions.h#451-454 > > So optimized debug builds will print assertions, but regular optimized > builds we have on automation will not. > I see. What about crashes during regular optimized builds? I'd hope those print stacks. Markus _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform