aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-01-08 14:13:03 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-01-08 14:13:03 -0800
commit166aed3b7bc41ef066c6477c97533ce36a2ff977 (patch)
treebccd9c29e1b8b28479d29e9310ead382c66e6620
parenta4a85b7c87020e0b306c62a5c91c37641cb8ef7e (diff)
stub _ZNSt9exceptionD2Ev for the case where dlmalloc is included but not libcxx, to avoid an asm warning
-rw-r--r--src/library.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index f4dd9ba7..85758286 100644
--- a/src/library.js
+++ b/src/library.js
@@ -5104,6 +5104,8 @@ LibraryManager.library = {
}
},
+// _ZNSt9exceptionD2Ev: function(){}, // XXX a dependency of dlmalloc, but not actually needed if libcxx is not anyhow included
+
// RTTI hacks for exception handling, defining type_infos for common types.
// The values are dummies. We simply use the addresses of these statically
// allocated variables as unique identifiers.