Debug Info: In DIBuilder, the context fields of a TAG_inheritance and a
authorManman Ren <manman.ren@gmail.com>
Mon, 9 Sep 2013 23:07:58 +0000 (23:07 +0000)
committerManman Ren <manman.ren@gmail.com>
Mon, 9 Sep 2013 23:07:58 +0000 (23:07 +0000)
commitd4fc36f2644283c710400adfb0d6ddebea622753
treec819157a92f9fab05c992da0f8e5f0df7553b96a
parente72aba9c0ff5b19128f54b09a36d2f4c2a53b40b
Debug Info: In DIBuilder, the context fields of a TAG_inheritance and a
TAG_friend are updated to use scope reference.

Added testing cases to verify that class with inheritance can be uniqued.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190364 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DIBuilder.cpp
test/Linker/Inputs/type-unique-inheritance-a.ll [new file with mode: 0644]
test/Linker/Inputs/type-unique-inheritance-b.ll [new file with mode: 0644]
test/Linker/type-unique-inheritance.ll [new file with mode: 0644]