Go to file
Teresa Johnson 9006d52651 [ThinLTO] Handle conflicting local names gracefully
Summary:
r285871 introduced an assert that was overly aggressive in the case
of a same-named local in different same-named files (in different
directories), where the source name and therefore the GUID ended up
the same because the files were compiled in their own directory without
any leading path. Change the handling in the promotion logic to get
the summary for the version in that module.

This also exposed an issue where we are not always importing the
right copy, which is a performance not correctness issue (because
the renaming is based on the module hash which must be different,
see the bug report for details). I will fix that as a follow-on.

Fixes PR31561.

Reviewers: mehdi_amini

Subscribers: llvm-commits

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

llvm-svn: 291304
2017-01-06 23:38:41 +00:00
clang [ThinLTO] Optionally ignore empty index file 2017-01-06 23:37:33 +00:00
clang-tools-extra Reapply "Fix for shared_ptrification in Clang" 2017-01-06 19:49:09 +00:00
compiler-rt Ensure that only one compiler-rt component is created for lsan 2017-01-06 22:45:49 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx Fix breakage caused when _LIBCPP_HAS_THREAD_API_PTHREAD is manually defined 2017-01-06 23:15:16 +00:00
libcxxabi tweak definition to avoid GCC warning 2017-01-04 05:45:24 +00:00
libunwind EHABI: mark some functions as exported 2016-11-17 23:53:35 +00:00
lld Handle versioned undefined symbols. 2017-01-06 22:30:35 +00:00
lldb Install lldb Python module on Windows. 2017-01-06 22:05:35 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm [ThinLTO] Handle conflicting local names gracefully 2017-01-06 23:38:41 +00:00
openmp [CMake] Make openmp build under runtimes/ 2017-01-04 18:11:37 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Fix some typos in comments 2017-01-06 17:30:34 +00:00