Go to file
Teresa Johnson 83aaf358fd [ThinLTO] Import static functions from the same module as caller
Summary:
We can sometimes end up with multiple copies of a local function that
have the same GUID in the index. This happens when there are local
functions with the same name that are in different source files with the
same name (but in different directories), and they were compiled in
their own directory so had the same path at compile time.

In this case make sure we import the copy in the caller's module. While
it isn't a correctness problem (the renamed reference which is based on the
module IR hash will be unique since the module must have had an
externally visible function that was imported), importing the wrong copy
will result in lost performance opportunity since it won't be referenced
and inlined.

Reviewers: mehdi_amini

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D28440

llvm-svn: 291841
2017-01-12 22:04:45 +00:00
clang Clear the release notes for 5.0.0 2017-01-12 21:55:16 +00:00
clang-tools-extra Clear the release notes for 5.0.0 2017-01-12 21:58:40 +00:00
compiler-rt ASAN activate/deactive controls thread_local_quarantine_size_kb option. 2017-01-12 18:51:25 +00:00
debuginfo-tests
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx Add new macro _LIBCPP_BUILTIN_MEMCMP_ISCONSTEXPR to use in std::char_traits. 2017-01-12 16:25:07 +00:00
libcxxabi Bump version to 5.0.0svn 2017-01-12 21:36:22 +00:00
libunwind Bump version to 5.0.0svn 2017-01-12 21:37:55 +00:00
lld Remove dead code. 2017-01-12 22:03:25 +00:00
lldb [CMake] Fix finding LLDBWrapPython.cpp in Framework build 2017-01-12 18:45:59 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm [ThinLTO] Import static functions from the same module as caller 2017-01-12 22:04:45 +00:00
openmp kmp_affinity: Fix check if specific bit is set 2017-01-12 11:39:04 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Update to recent clang-format changes 2017-01-12 21:05:19 +00:00