Go to file
Manman Ren 37dec10dbc [PR26550] Use a different TBAA root for C++ vs C.
This commit changes the root from "Simple C/C++ TBAA" to "Simple C++ TBAA" for
C++.

The problem is that the type name in the TBAA nodes is generated differently
for C vs C++. If we link an IR file for C with an IR file for C++, since they
have the same root and the type names are different, accesses to the two type
nodes will be considered no-alias, even though the two type nodes are from
the same type in a header file.

The fix is to use different roots for C and C++. Types from C will be treated
conservatively in respect to types from C++.

Follow-up commits will change the C root to "Simple C TBAA" plus some mangling
change for C types to make it a little more aggresive.

llvm-svn: 260567
2016-02-11 19:19:18 +00:00
clang [PR26550] Use a different TBAA root for C++ vs C. 2016-02-11 19:19:18 +00:00
clang-tools-extra [clang-tidy] google-runtime-int: fix a false positive in implicit code. 2016-02-11 16:22:58 +00:00
compiler-rt [LSan] Test case fix: mode debug output, synchronization instead of sleep(). 2016-02-11 19:03:09 +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 configure: Remove llvm 3.6 defines 2016-02-09 22:17:48 +00:00
libcxx Revert r260514 because it has a bogus commit message. 2016-02-11 18:21:18 +00:00
libcxxabi [libcxxabi] Teach cxa_demangle about Hexagon's long double size 2016-01-20 14:10:23 +00:00
libunwind Introduce NetBSD support 2016-02-06 18:19:29 +00:00
lld Sort includes. NFC. 2016-02-11 15:24:48 +00:00
lldb Improve ReadRegister for RegisterContextWindowsx86 2016-02-11 18:24:57 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm [CMake] Produce an empty library for GlobalISel when not building it. 2016-02-11 19:18:27 +00:00
openmp Proxy task fix: task_state stack push condition on fork 2016-02-09 22:32:41 +00:00
polly Separate invariant equivalence classes by type 2016-02-07 17:30:13 +00:00