aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-11-15 08:57:40 +0100
committerDmitry Vyukov <dvyukov@google.com>2022-11-15 16:03:55 +0100
commit5db18834ff0541c2cf3eb53b7ca336dfa5dfa821 (patch)
treee8dde21690331968f031bfb43e15332db4c27d14 /pkg/report/linux.go
parent97de9cfcb0b25b95878e2eaaf3652a2faa8dd8f4 (diff)
pkg/report: extract top frame in arm reports
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index fc2494adf..6a00a0785 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -1027,7 +1027,10 @@ var linuxStackParams = &stackParams{
},
frameRes: []*regexp.Regexp{
compile("^ *(?:{{PC}} ){0,2}{{FUNC}}"),
- compile(`^ *{{PC}} \([a-zA-Z0-9_]+\) from {{PC}} \({{FUNC}}`), // arm is totally different
+ // Arm is totally different.
+ // Extract both current and next frames. This is needed for the top
+ // frame which is present only in LR register which we don't parse.
+ compile(`^ *{{PC}} \(([a-zA-Z0-9_.]+)\) from {{PC}} \({{FUNC}}`),
},
skipPatterns: []string{
"__sanitizer",