Skip to content

Commit 098d670

Browse files
YogaflreCommit Bot
authored and
Commit Bot
committed
Expand the range of trace line numbers
00~999. Solve the problems that more than 100 lines cannot be translated. Closes #47947 #47947 GitOrigin-RevId: 540aeff Change-Id: I94625ad4b1cc59d9ecf186f1dd16fcb2e9fb7b29 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/224560 Reviewed-by: Tess Strickland <[email protected]> Commit-Queue: Tess Strickland <[email protected]>
1 parent bc0d63a commit 098d670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/native_stack_traces/lib/src/convert.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const _symbolOffsetREString = r'(?<symbol>' +
7070
r')\+(?<offset>(?:0x)?[\da-f]+)';
7171
final _symbolOffsetRE = RegExp(_symbolOffsetREString);
7272
final _traceLineRE = RegExp(
73-
r' #(\d{2}) abs (?<absolute>[\da-f]+)(?: virt (?<virtual>[\da-f]+))? '
73+
r' #(\d+) abs (?<absolute>[\da-f]+)(?: virt (?<virtual>[\da-f]+))? '
7474
r'(?<rest>.*)$');
7575

7676
/// Parses strings of the format <static symbol>+<integer offset>, where

0 commit comments

Comments
 (0)