summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-class.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-08-29 23:17:54 +0000
committerManman Ren <manman.ren@gmail.com>2013-08-29 23:17:54 +0000
commit0b410407820fac37863baa3479a3322fc8e0d997 (patch)
tree9fec86c241ced35d45f139abcac4008cf6f5a5d6 /clang/test/CodeGenCXX/debug-info-class.cpp
parent014328e76c8a51898687e18bfdc67799dcb7c554 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud