Skip to content

Commit e236212

Browse files
committed
Whitespace
1 parent 950b74c commit e236212

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

extract-bc

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def handleExecutable(inputFile, llvmLinker, outputFile=None):
112112
def handleArchive(inputFile, llvmArchiver, outputFile=None):
113113
inputFile = os.path.abspath(inputFile)
114114
originalDir = os.getcwd() # This will be the destination
115-
115+
116116
# Make temporary directory to extract objects to
117117
tempDir = ''
118118
bitCodeFiles = [ ]
@@ -150,7 +150,7 @@ def handleArchive(inputFile, llvmArchiver, outputFile=None):
150150
bitCodeFiles.append(bcFile)
151151
else:
152152
logging.warning('Ignoring file "{0}" in archive'.format(f))
153-
153+
154154
logging.info('Found the following bitcode file names to build bitcode archive:\n{0}'.format(
155155
pprint.pformat(bitCodeFiles)))
156156

@@ -219,14 +219,14 @@ def main(args):
219219

220220
parser = argparse.ArgumentParser(description=__doc__)
221221
parser.add_argument("wllvm_binary", help="A binary produced by wllvm/wllvm++")
222-
parser.add_argument("--linker","-l",
222+
parser.add_argument("--linker","-l",
223223
help='The LLVM bitcode linker to use. Default "%(default)s"',
224224
default=llvmLinker)
225-
parser.add_argument("--archiver","-a",
225+
parser.add_argument("--archiver","-a",
226226
help='The LLVM bitcode archiver to use. Default "%(default)s"',
227227
default=llvmArchiver)
228-
parser.add_argument("--output","-o",
229-
help='The output file. Defaults to a file in the same directory ' +
228+
parser.add_argument("--output","-o",
229+
help='The output file. Defaults to a file in the same directory ' +
230230
'as the input with the same name as the input but with an ' +
231231
'added file extension (.'+ moduleExtension + ' for bitcode '+
232232
'modules and .' + bitCodeArchiveExtension +' for bitcode archives)',
@@ -250,7 +250,7 @@ def main(args):
250250
logging.error('Output directory "{0}" does not exist.'.format(
251251
os.path.dirname(outputFile)))
252252
return 1
253-
253+
254254
ft = FileType.getFileType(inputFile)
255255
logging.debug('Detected file type is {0}'.format(FileType.revMap[ft]))
256256

@@ -267,4 +267,3 @@ def main(args):
267267

268268
if __name__ == '__main__':
269269
sys.exit(main(sys.argv))
270-

0 commit comments

Comments
 (0)