We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eee5ed5 commit 4e2c1c0Copy full SHA for 4e2c1c0
sentry_sdk/integrations/gnu_backtrace.py
@@ -13,12 +13,14 @@
13
14
# function is everything between index at @
15
# and then we match on the @ plus the hex val
16
-FUNCTION_RE = r"[^@]+?)\s+@\s+0x[0-9a-fA-F]+"
+FUNCTION_RE = r"[^@]+?"
17
+HEX_ADDRESS = r"\s+@\s+0x[0-9a-fA-F]+"
18
19
FRAME_RE = r"""
-^(?P<index>\d+)\.\s+(?P<function>{FUNCTION_RE}(?:\s+in\s+(?P<package>.+))?$
20
+^(?P<index>\d+)\.\s+(?P<function>{FUNCTION_RE}){HEX_ADDRESS}(?:\s+in\s+(?P<package>.+))?$
21
""".format(
22
FUNCTION_RE=FUNCTION_RE,
23
+ HEX_ADDRESS=HEX_ADDRESS,
24
)
25
26
FRAME_RE = re.compile(FRAME_RE, re.MULTILINE | re.VERBOSE)
0 commit comments