forked from OSchip/llvm-project
[lldb/test] Fix arch arm for 32-bit armv7l/armv8l
This patch forces architecture "arm" if underlying os reports core armv7l or armv8l. On linux systems 32 bit sysroot running on 64bit AArch64 hardware reports armv7l or armv8l which is essently arm 32bit mode. This fixes 5 testcases on 32bit arm.
This commit is contained in:
parent
92b5b980d2
commit
2b6ad82f8d
|
@ -1241,6 +1241,8 @@ class Base(unittest2.TestCase):
|
|||
arch = module.getArchitecture()
|
||||
if arch == 'amd64':
|
||||
arch = 'x86_64'
|
||||
if arch in ['armv7l', 'armv8l'] :
|
||||
arch = 'arm'
|
||||
return arch
|
||||
|
||||
def getLldbArchitecture(self):
|
||||
|
|
Loading…
Reference in New Issue