diff options
author | Nadav Rotem <nrotem@apple.com> | 2013-03-23 06:43:35 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2013-03-23 06:43:35 +0000 |
commit | 1da30944a6ed2327b0ffa3936af55cac74f0f8e2 (patch) | |
tree | a29e0f431bcb74ee39da8ca1001dc203257092de /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 764b1cfced97a2511b40d94d86fff19c11ffb0e2 (diff) | |
download | bcm5719-llvm-1da30944a6ed2327b0ffa3936af55cac74f0f8e2.tar.gz bcm5719-llvm-1da30944a6ed2327b0ffa3936af55cac74f0f8e2.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 173774452e9..9f604e860e9 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -86,6 +86,7 @@ CodeGenModule::CodeGenModule(ASTContext &C, const CodeGenOptions &CGO, NSConcreteGlobalBlock(0), NSConcreteStackBlock(0), BlockObjectAssign(0), BlockObjectDispose(0), BlockDescriptorType(0), GenericBlockLiteralType(0), + LifetimeStartFn(0), LifetimeEndFn(0), SanitizerBlacklist(CGO.SanitizerBlacklistFile), SanOpts(SanitizerBlacklist.isIn(M) ? SanitizerOptions::Disabled : LangOpts.Sanitize) { |