diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-08-29 23:17:54 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-08-29 23:17:54 +0000 |
commit | 0b410407820fac37863baa3479a3322fc8e0d997 (patch) | |
tree | 9fec86c241ced35d45f139abcac4008cf6f5a5d6 /clang/test/CodeGenCXX/debug-info-class.cpp | |
parent | 014328e76c8a51898687e18bfdc67799dcb7c554 (diff) | |
download | bcm5719-llvm-0b410407820fac37863baa3479a3322fc8e0d997.tar.gz bcm5719-llvm-0b410407820fac37863baa3479a3322fc8e0d997.zip |
DIBuilder: retain a type when created with a unique identifier.
createClassType, createStructType, createUnionType, createEnumerationType,
and createForwardDecl will retain a type when created with a unique identifier,
to make sure they are treated as used even when all uses are replaced with
the identifiers.
Use TrackingVH<MDNode> instead of MDNode in AllRetainTypes, since the created
node can later be updated.
The change will be tested when clients of DIBuilder start to pass in non-empty
unique identifier.
llvm-svn: 189621
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-class.cpp')
0 files changed, 0 insertions, 0 deletions