DescriptionAdd optional parameter to WTFReportBacktrace for stackframe count
This patch gives epic yakshavers an optional parameter to control
how many stackframes to show when using WTFReportBacktrace. This
just exposes a previously static framesToShow value.
Users may find this useful in debugging deep traces.
This patch does not modify the BACKTRACE macro because macros
cannot have optional parameters.
This patch does not use templates this function is in a c block which
does not support templates ("templates must have C++ linkage").
TEST=manual
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157400
Patch Set 1 #Patch Set 2 : Windows wants const ints #Patch Set 3 : Explicitly allocate the stackframe array on the stack #Patch Set 4 : Add comment explaining why alloca is being used #
Messages
Total messages: 10 (0 generated)
|