mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-07 03:30:06 +01:00
ignoring .loc
This commit is contained in:
@@ -408,8 +408,12 @@ class OSACA(object):
|
||||
# TODO potential replacement for instr_forms entries in OSACA
|
||||
# InstructionForm.from_assembly(line)
|
||||
|
||||
# Ignore labels
|
||||
if re.match(r'^[a-zA-Z0-9\_\.]+:$', line):
|
||||
continue
|
||||
# Ignore .loc
|
||||
if re.match(r'^\.loc\s+', line):
|
||||
continue
|
||||
self.check_instr(line)
|
||||
|
||||
def check_instr(self, instr):
|
||||
@@ -422,7 +426,6 @@ class OSACA(object):
|
||||
instr : str
|
||||
Instruction as string
|
||||
"""
|
||||
# Ignore labels
|
||||
# Check for strange clang padding bytes
|
||||
while instr.startswith('data32'):
|
||||
instr = instr[7:]
|
||||
|
||||
Reference in New Issue
Block a user