Get rid of mangle map stuff
commitc4edd099ea7a1a372ac58798b81e35357b03ee19
authorDrew Paroski <andrewparoski@fb.com>
Mon, 6 Oct 2014 23:16:45 +0000 (6 16:16 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Tue, 7 Oct 2014 12:00:19 +0000 (7 05:00 -0700)
tree81b7c4f06093741a448a82129f362b75d74e0835
parentad34039c90f6e6c070bdfce54b5aee047c0d49b9
Get rid of mangle map stuff

Summary: This diff eliminates the need for using 'objdump' and making a map of
mangled C++ symbol names during the build. ext_hhvm was changed to instead
generate extern declarations for all the native functions defined in the
.idl files, and to use function pointer casts instead of using
"asm(<mangled-name>)" declarations.

Measurements on my dev machine show that this diff decreases hhvm build
times by 5% - 9%.

Reviewed By: @ptarjan

Differential Revision: D1556958
hphp/runtime/base/builtin-functions.h
hphp/runtime/ext/ext_datetime.h
hphp/runtime/ext/stream/ext_stream.h
hphp/runtime/ext_hhvm/CMakeLists.txt
hphp/system/idl/asio.idl.json
hphp/tools/bootstrap/gen-ext-hhvm.cpp
hphp/tools/bootstrap/gen-ext-hhvm.sh
hphp/tools/bootstrap/gen-infotabs.cpp
hphp/tools/bootstrap/idl.cpp
hphp/tools/bootstrap/idl.h