From: Xabier Rodriguez Calvar Date: Wed, 14 Feb 2018 12:30:41 +0000 (+0100) Subject: debug-viewer: Fixed C++ destructors detection X-Git-Tag: 1.19.3~491^2~580 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47415e50e17cdd5aac34b2c2f76b616b192aa043;p=platform%2Fupstream%2Fgstreamer.git debug-viewer: Fixed C++ destructors detection https://bugzilla.gnome.org/show_bug.cgi?id=793447 --- diff --git a/debug-viewer/GstDebugViewer/Data.py b/debug-viewer/GstDebugViewer/Data.py index 752bcd6..a97cee3 100644 --- a/debug-viewer/GstDebugViewer/Data.py +++ b/debug-viewer/GstDebugViewer/Data.py @@ -155,7 +155,7 @@ def default_log_line_regex_(): PID = r"(\d+)\s*" FILENAME = r"([^:]*):" LINE = r"(\d+):" - FUNCTION = "([A-Za-z0-9_]*|operator\(\)):" + FUNCTION = "(~?[A-Za-z0-9_]*|operator\(\)):" # FIXME: When non-g(st)object stuff is logged with *_OBJECT (like # buffers!), the address is printed *without* <> brackets! OBJECT = "(?:<([^>]+)>)?"