Check .rela instead of ELF64 for the compensation vaue resetting
[oota-llvm.git] / test / MC / AsmParser / lit.local.cfg
index 1f53769b7b9c6816363934179238f124cfcc8f72..6c49f08b7496de4427c088baafd0bb242b8a42ac 100644 (file)
@@ -1,13 +1,6 @@
 config.suffixes = ['.s']
 
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-targets = set(root.targets_to_build.split())
+targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True