diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-12 15:30:44 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-12 15:30:44 -0800 |
commit | c43a522939a5e3d49ce76c47261592d61b341173 (patch) | |
tree | 0077479eb39cbd00585e9c5dc9efc01cac0dcdd1 | |
parent | 274bbd9fad5cda69f80304861829fa9ca3909f69 (diff) |
atol alias
-rw-r--r-- | lib/Target/CppBackend/CallHandlers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/CppBackend/CallHandlers.h b/lib/Target/CppBackend/CallHandlers.h index 3a45691432..a8c8996fb0 100644 --- a/lib/Target/CppBackend/CallHandlers.h +++ b/lib/Target/CppBackend/CallHandlers.h @@ -94,6 +94,7 @@ DEF_REDIRECT_HANDLER_i(putc, fputc); DEF_REDIRECT_HANDLER_i(__cxa_atexit, atexit); DEF_REDIRECT_HANDLER_i(ntohl, htonl); DEF_REDIRECT_HANDLER_i(ntohs, htons); +DEF_REDIRECT_HANDLER_i(atol, atoi); // Setups @@ -118,6 +119,7 @@ void setupCallHandlers() { SETUP_CALL_HANDLER(__cxa_atexit); SETUP_CALL_HANDLER(ntohl); SETUP_CALL_HANDLER(ntohs); + SETUP_CALL_HANDLER(atol); } std::string handleCall(const CallInst *CI) { |