OSDN Git Service

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)
commit5930eabe0fdc48c02c5af500aa5b1c5b732848b1
tree5e40e3fa4a6139447f8372b585de3379cc4a0e3a
parent28da141d44cd67b96085d7bb0ae7dfac554a0c10
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190188 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo.h
lib/IR/DIBuilder.cpp
lib/IR/DebugInfo.cpp