1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Fix llvm-lit.in corresponding to r283710.

Traceback (most recent call last):
    File "bin/llvm-lit", line 44, in <module>
      lit.main(builtin_parameters)
  AttributeError: 'module' object has no attribute 'main'

Suggested by Artem Belevich.

llvm-svn: 283816
This commit is contained in:
NAKAMURA Takumi 2016-10-10 23:02:42 +00:00
parent 861bb221e9
commit f7d2c2c56c

View File

@ -40,5 +40,5 @@ if os.path.exists(compilerrt_obj_root):
os.path.join(compilerrt_obj_root, 'test') os.path.join(compilerrt_obj_root, 'test')
if __name__=='__main__': if __name__=='__main__':
import lit from lit.main import main
lit.main(builtin_parameters) main(builtin_parameters)