DCHECK for proper usage in StackTraceGetter.
Code that uses GoogleTest assertions without using GoogleTest itself will result in calls to CurrentStackTrace without a preceding call to UponLeavingGTest. Make this easier to diagnose with a DCHECK. BUG=1039559 Change-Id: Id80aa918f2197625ec4b1025a99d778aed46c1d3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090413 Auto-Submit: Greg Thompson <grt@chromium.org> Commit-Queue: Victor Costan <pwnall@chromium.org> Reviewed-by:Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#747635}
Showing
Please register or sign in to comment