aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings.js b/src/settings.js
index 245699b1..a2267393 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -355,9 +355,9 @@ var LINKABLE = 0; // If set to 1, this file can be linked with others, either as
// generated code very significantly, by removing everything not actually used.
var DLOPEN_SUPPORT = 0; // Whether to support dlopen(NULL, ...) which enables dynamic access to the
- // module's functions and globals. Implies LINKABLE=1, because we do not want
- // dead code elimination. XXX remove LINKABLE=1 here, people should keep
- // the things they want alive using the normal mechanisms (see faq).
+ // module's functions and globals. Note that you must use EMSCRIPTEN_KEEPALIVE
+ // to ensure that functions and globals can be accessed through dlsym,
+ // otherwise LLVM may optimize them out.
var RUNTIME_TYPE_INFO = 0; // Whether to expose type info to the script at run time. This
// increases the size of the generated script, but allows you