[Debug Info] replace DIUnspecifiedParameter with DITrivialType.
authorManman Ren <manman.ren@gmail.com>
Mon, 28 Jul 2014 18:52:30 +0000 (18:52 +0000)
committerManman Ren <manman.ren@gmail.com>
Mon, 28 Jul 2014 18:52:30 +0000 (18:52 +0000)
commitf9b5976bbdd897bb49e5486281f0d0bdf6210294
treee9708513184648e41b06868a9bde6348a38d1ed2
parent40a0707ee7d595e5d7866f59521b033b6a134f2b
[Debug Info] replace DIUnspecifiedParameter with DITrivialType.

This is the first of a series of patches to handle type uniqueing of the
type array for a subroutine type.

This commit makes sure unspecified_parameter is a DIType to enable converting
the type array for a subroutine type to an array of DITypes.

This commit should have no functionality change. With this commit, we may
change unspecified type to be a DITrivialType instead of a DIType.

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