disable inlining in sqlite with asm in debug mode
This commit is contained in:
Родитель
a373820140
Коммит
1401084573
|
@ -7147,6 +7147,9 @@ def process(filename):
|
|||
Settings.DISABLE_EXCEPTION_CATCHING = 1
|
||||
Settings.FAST_MEMORY = 4*1024*1024
|
||||
Settings.EXPORTED_FUNCTIONS += ['_sqlite3_open', '_sqlite3_close', '_sqlite3_exec', '_sqlite3_free', '_callback'];
|
||||
if Settings.ASM_JS == 1 and '-g' in self.emcc_args:
|
||||
print "disabling inlining" # without registerize (which -g disables), we generate huge amounts of code
|
||||
Settings.INLINING_LIMIT = 50
|
||||
|
||||
self.do_run(r'''
|
||||
#define SQLITE_DISABLE_LFS
|
||||
|
|
Загрузка…
Ссылка в новой задаче