diff options
author | Devang Patel <dpatel@apple.com> | 2009-11-13 19:10:24 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-11-13 19:10:24 +0000 |
commit | b40f295037b4e5e4b0adf5fbe4aebcb537fbc791 (patch) | |
tree | 59ee05cbfde88e75ce6a6f94ead191cb698590ec /clang/lib/CodeGen/CGDebugInfo.h | |
parent | 88fc7d4202ab147912144fa4af6e038e95f6e1cc (diff) | |
download | bcm5719-llvm-b40f295037b4e5e4b0adf5fbe4aebcb537fbc791.tar.gz bcm5719-llvm-b40f295037b4e5e4b0adf5fbe4aebcb537fbc791.zip |
Do not store DIDescriptor directly into a container. Store MDNode directly, through TrackingVH.
llvm-svn: 88677
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index ffb1af40567..af86e2b263f 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -56,7 +56,7 @@ class CGDebugInfo { bool BlockLiteralGenericSet; llvm::DIType BlockLiteralGeneric; - std::vector<llvm::DIDescriptor> RegionStack; + std::vector<llvm::TrackingVH<llvm::MDNode> > RegionStack; /// Helper functions for getOrCreateType. llvm::DIType CreateType(const BuiltinType *Ty, llvm::DICompileUnit U); |