Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export getTempRet0 like other EH library functions #7268

Merged
merged 2 commits into from Oct 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion emcc.py
Expand Up @@ -1155,7 +1155,8 @@ def check(input_file):
# llvm wasm backend will generate calls to these when using setjmp
# and/or C++ exceptions, so we pretty much alwasy need them. They are
# also tiny, and should be elimitated by meta-DCE when not used.
shared.Settings.EXPORTED_FUNCTIONS += ['_setTempRet0', '_setThrew']
shared.Settings.EXPORTED_FUNCTIONS += \
['_setTempRet0', '_getTempRet0', '_setThrew']

assert not (not shared.Settings.DYNAMIC_EXECUTION and shared.Settings.RELOCATABLE), 'cannot have both DYNAMIC_EXECUTION=0 and RELOCATABLE enabled at the same time, since RELOCATABLE needs to eval()'

Expand Down