Merge pull request #1681 from marcosscriven/incoming

Fix debug format to allow specific LLVM opts rather than just an integer level
This commit is contained in:
Alon Zakai 2013-10-14 10:43:54 -07:00
Родитель 1ddb637687 41b4a5600d
Коммит 3c8c068617
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -99,4 +99,4 @@ a license to everyone to use it as detailed in LICENSE.)
* Tobias Vrinssen <tobias@vrinssen.de>
* Patrick R. Martin <patrick.martin.r@gmail.com>
* Richard Quirk <richard.quirk@gmail.com>
* Marcos Scriven <marcos@scriven.org>

2
emcc
Просмотреть файл

@ -1231,7 +1231,7 @@ try:
file_suffix = filename_type_suffix(input_file)
if file_suffix.endswith(SOURCE_SUFFIXES):
temp_file = temp_files[i]
logging.debug('optimizing %s with -O%d' % (input_file, llvm_opts))
logging.debug('optimizing %s with -O%s' % (input_file, llvm_opts))
shared.Building.llvm_opt(temp_file, llvm_opts)
# If we were just asked to generate bitcode, stop there