Make clang to mark static stack allocations with lifetime markers to enable a more...
authorNadav Rotem <nrotem@apple.com>
Sat, 23 Mar 2013 06:43:35 +0000 (06:43 +0000)
committerNadav Rotem <nrotem@apple.com>
Sat, 23 Mar 2013 06:43:35 +0000 (06:43 +0000)
commit1da30944a6ed2327b0ffa3936af55cac74f0f8e2
treea29e0f431bcb74ee39da8ca1001dc203257092de
parent764b1cfced97a2511b40d94d86fff19c11ffb0e2
Make clang to mark static stack allocations with lifetime markers to enable a more aggressive stack coloring.
Patch by John McCall with help by Shuxin Yang.
rdar://13115369

llvm-svn: 177819
clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CGStmt.cpp
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/test/CodeGen/lifetime2.c [new file with mode: 0644]
clang/test/CodeGenObjC/arc-blocks.m
clang/test/CodeGenObjC/arc.m