From dfaa0e2d08ce3d285dab603a6f8a77a96ea7fa4a Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Mon, 13 Jan 2014 20:51:35 -0800 Subject: [PATCH] Disabling mangled name extraction. --- src/alloy/runtime/module.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/alloy/runtime/module.cc b/src/alloy/runtime/module.cc index 307dbb05e..ea056e0dd 100644 --- a/src/alloy/runtime/module.cc +++ b/src/alloy/runtime/module.cc @@ -244,10 +244,11 @@ int Module::ReadMap(const char* file_name) { // Don't overwrite names we've set elsewhere. if (!fn_info->name()) { // If it's an mangled C++ name (?name@...) just use the name. - if (name[0] == '?') { + // TODO(benvanik): better demangling, or leave it to clients. + /*if (name[0] == '?') { size_t at = name.find('@'); name = name.substr(1, at - 1); - } + }*/ fn_info->set_name(name.c_str()); } } else {