projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
004b9c7
)
Fix llvm-lit.in corresponding to r283710.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Mon, 10 Oct 2016 23:02:42 +0000
(23:02 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Mon, 10 Oct 2016 23:02:42 +0000
(23:02 +0000)
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
llvm/utils/llvm-lit/llvm-lit.in
patch
|
blob
|
history
diff --git
a/llvm/utils/llvm-lit/llvm-lit.in
b/llvm/utils/llvm-lit/llvm-lit.in
index
fc96202
..
57924fa
100755
(executable)
--- a/
llvm/utils/llvm-lit/llvm-lit.in
+++ b/
llvm/utils/llvm-lit/llvm-lit.in
@@
-40,5
+40,5
@@
if os.path.exists(compilerrt_obj_root):
os.path.join(compilerrt_obj_root, 'test')
if __name__=='__main__':
- import lit
-
lit.
main(builtin_parameters)
+ from lit.main import main
+ main(builtin_parameters)