diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-07-25 16:46:31 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-07-25 16:46:31 +0000 |
commit | 89702e94b50c27a18b2b946f9c73901754d0d649 (patch) | |
tree | 9ef96f47233f36f4bf46ce9acfc2358715dac49b /llvm/lib/Target/TargetLibraryInfo.cpp | |
parent | 1a60141f99ce4a36c2ba678a75fa193999b9978b (diff) | |
download | bcm5719-llvm-89702e94b50c27a18b2b946f9c73901754d0d649.tar.gz bcm5719-llvm-89702e94b50c27a18b2b946f9c73901754d0d649.zip |
make all Emit*() functions consult the TargetLibraryInfo information before creating a call to a library function.
Update all clients to pass the TLI information around.
Previous draft reviewed by Eli.
llvm-svn: 160733
Diffstat (limited to 'llvm/lib/Target/TargetLibraryInfo.cpp')
-rw-r--r-- | llvm/lib/Target/TargetLibraryInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetLibraryInfo.cpp b/llvm/lib/Target/TargetLibraryInfo.cpp index e0a4eccc97e..7e9cf12bb46 100644 --- a/llvm/lib/Target/TargetLibraryInfo.cpp +++ b/llvm/lib/Target/TargetLibraryInfo.cpp @@ -133,7 +133,8 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] = "__cxa_atexit", "__cxa_guard_abort", "__cxa_guard_acquire", - "__cxa_guard_release" + "__cxa_guard_release", + "__memcpy_chk" }; /// initialize - Initialize the set of available library functions based on the |