Go to file
Peter Collingbourne 8fabc1b47d CodeGen: Do not give local-linkage functions externally available linkage, even temporarily.
When an internal-linkage thunk is code gen'd, CodeGenVTables::emitThunk
will first be called with ForVTable=true (which incorrectly set the
thunk's linkage to available_externally under the Itanium ABI) and later
with ForVTable=false (which reset it to internal). Because we will always
see a call with ForVTable=false, this incorrect linkage never ended up in
the final IR. However, the temporary presence of this linkage caused us
to give such functions a comdat as a result of code introduced in r241102.
To avoid this, check that the thunk is externally visible before giving it
available_externally linkage.

llvm-svn: 241136
2015-07-01 02:10:26 +00:00
clang CodeGen: Do not give local-linkage functions externally available linkage, even temporarily. 2015-07-01 02:10:26 +00:00
clang-tools-extra [clang-tidy] Fix false positives in the macro parentheses checker 2015-06-29 12:18:11 +00:00
compiler-rt [asan] Suppress read_binary_name_regtest.c test failure on unsupported hosts. 2015-06-30 21:28:55 +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 Properly initialize Module pointer 2015-06-27 12:35:54 +00:00
libcxx Mark N4508, LWG#2407, and LWG#2470 as complete. I don't see that 2470 requires any changes to the library. 2015-06-30 20:06:00 +00:00
libcxxabi fallback_malloc: silence conversion warning (NFC) 2015-06-03 17:25:35 +00:00
libunwind Fix unw_getcontext() return value on AArch64. 2015-06-25 15:12:46 +00:00
lld COFF: Simplify SymbolTable::findLazy. NFC. 2015-06-30 23:46:52 +00:00
lldb Rename ClangUserExpression members to avoid confusion with language. 2015-07-01 00:54:02 +00:00
llgo [llgo] cmd/llgoi: use line editor 2015-05-23 15:16:09 +00:00
llvm [SanitizerCoverage] Don't add instrumentation to unreachable blocks. 2015-06-30 23:11:45 +00:00
openmp Remove _KMP_BUILD_TIME macro from kmp_version.c 2015-06-29 19:22:12 +00:00
polly Update isl to isl-0.15-30-g3518765 2015-06-30 08:22:14 +00:00