Go to file
Kuba Mracek 8f56846d4f [ObjC] Fix lifetime markers of loop variable in EmitObjCForCollectionStmt
CodeGenFunction::EmitObjCForCollectionStmt currently emits lifetime markers for the loop variable in an inconsistent way:  lifetime.start is emitted before the loop is entered, but lifetime.end is emitted inside the loop.  AddressSanitizer uses these markers to track out-of-scope accesses to local variables, and we get false positives in Obj-C foreach loops (in the 2nd iteration of the loop). The markers of the loop variable need to be either both inside the loop (so that we poison and unpoison the variable in each iteration), or both outside. This patch implements the "both inside" approach.

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

llvm-svn: 300287
2017-04-14 00:32:43 +00:00
clang [ObjC] Fix lifetime markers of loop variable in EmitObjCForCollectionStmt 2017-04-14 00:32:43 +00:00
clang-tools-extra Fix clang-tidy shared link with libc++ 2017-04-12 22:07:47 +00:00
compiler-rt [Profile] PE binary coverage bug fix 2017-04-13 23:37:15 +00:00
debuginfo-tests Add a test for __block variables + asan. 2017-04-13 18:06:59 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx [libcxx] Direct support for Fuchsia 2017-04-13 21:29:21 +00:00
libcxxabi [CMake][libcxxabi] Use -nodefaultlibs for CMake checks 2017-04-07 20:10:41 +00:00
libunwind Reland "[CMake][libunwind] Use -nodefaultlibs for CMake checks" 2017-04-12 02:28:07 +00:00
lld Remove useless namespaces. 2017-04-13 23:49:54 +00:00
lldb Don't use uuid_clear(), non-darwin platforms include 2017-04-13 02:12:32 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [ORC] Re-enable the Error/Expected unit tests that were disabled in r300177. 2017-04-14 00:06:12 +00:00
openmp KMP_HW_SUBSET extended with NUMA support when HWLOC enabled 2017-04-13 17:15:07 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [DeLICM] Introduce unittesting infrastructure for Known and Written. NFC. 2017-04-13 16:32:46 +00:00