Corrected aarch64 register no in TestBreakpointConditions.py

Test uses x1 in breakpoint expression while objdump shows that x1 is never used in the code and may have random values.
Using x0 make sure that we are using a registe that will have a positive value and breakpoint expression will evaluate true atleast once.

llvm-svn: 269164
This commit is contained in:
Omair Javaid 2016-05-11 09:29:14 +00:00
parent 1a352d564f
commit e94459fa6c
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class BreakpointConditionsTestCase(TestBase):
if arch in ['x86_64', 'i386']:
self.runCmd("breakpoint modify -c ($eax&&i)")
elif arch in ['aarch64']:
self.runCmd("breakpoint modify -c ($x1&&i)")
self.runCmd("breakpoint modify -c ($x0&&i)")
elif arch in ['arm']:
self.runCmd("breakpoint modify -c ($r0&&i)")
elif re.match("mips",arch):