Debug Info: Move a helper function getTypeIdentifier from DIBuilder to be part
authorManman Ren <manman.ren@gmail.com>
Fri, 6 Sep 2013 18:27:00 +0000 (18:27 +0000)
committerManman Ren <manman.ren@gmail.com>
Fri, 6 Sep 2013 18:27:00 +0000 (18:27 +0000)
commit277206fa282715dcd3b62800b46be574b96f7dbb
treebe21d2634cd1b731228f1a6c8f4a63739e91b488
parent4c12bf5ac724f46bdf1dde7db6c44ca1767869d4
Debug Info: Move a helper function getTypeIdentifier from DIBuilder to be part
of DIType.

Implement DIType::generateRef to return a type reference. This function will be
used in setContaintingType and in DIBuilder to generete the type reference.

No functionality change.

llvm-svn: 190188
llvm/include/llvm/DebugInfo.h
llvm/lib/IR/DIBuilder.cpp
llvm/lib/IR/DebugInfo.cpp