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 | 51004dff923259c90591621e7151408ad94e0eb8 (patch) | |
tree | e459db95fd8e0f721e3e9a7b947215bc58cee518 /lib/Target/TargetLibraryInfo.cpp | |
parent | c338fe082860989d89b51520042a5f447339eb8c (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetLibraryInfo.cpp')
-rw-r--r-- | lib/Target/TargetLibraryInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/TargetLibraryInfo.cpp b/lib/Target/TargetLibraryInfo.cpp index e0a4eccc97..7e9cf12bb4 100644 --- a/lib/Target/TargetLibraryInfo.cpp +++ b/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 |