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 06b22d9 commit a33d622Copy full SHA for a33d622
tools/memap.py
@@ -113,6 +113,7 @@ class _GccParser(_Parser):
113
)
114
RE_STD_SECTION = re.compile(r'^\s+.*0x(\w{8,16})\s+0x(\w+)\s(.+)$')
115
RE_FILL_SECTION = re.compile(r'^\s*\*fill\*\s+0x(\w{8,16})\s+0x(\w+).*$')
116
+ RE_TRANS_FILE = re.compile(r'^(.+\/|.+\.ltrans.o(bj)?)$')
117
OBJECT_EXTENSIONS = (".o", ".obj")
118
119
ALL_SECTIONS = (
@@ -148,6 +149,9 @@ def parse_object_name(self, line):
148
149
150
return value - an object file name
151
"""
152
+ if re.match(self.RE_TRANS_FILE, line):
153
+ return '[misc]'
154
+
155
test_re_mbed_os_name = re.match(self.RE_OBJECT_FILE, line)
156
157
if test_re_mbed_os_name:
0 commit comments