We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b7725 commit bf0dce8Copy full SHA for bf0dce8
wllvm/as.py
@@ -66,12 +66,10 @@ def main():
66
67
# Now compile this llvm assembly file into a bitcode file. The output
68
# filename is the same as the object with a .bc appended
69
- try:
70
- (dirs, filename) = os.path.split(argFilter.outFileName)
71
- except AttributeError as e:
72
- logging.error('Output file argument not found.\nException message: ' + str(e))
+ if not argFilter.outFileName:
+ logging.error('Output file argument not found.')
73
sys.exit(1)
74
-
+
75
fakeAssembler = [llvmAssembler, infile, '-o', argFilter.outFileName]
76
77
asmProc = Popen(fakeAssembler)
0 commit comments