mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 06:24:57 +00:00
[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
This commit is contained in:
@ -875,11 +875,11 @@ void DIBuilder::retainType(DIType T) {
|
||||
|
||||
/// createUnspecifiedParameter - Create unspeicified type descriptor
|
||||
/// for the subroutine type.
|
||||
DIDescriptor DIBuilder::createUnspecifiedParameter() {
|
||||
DITrivialType DIBuilder::createUnspecifiedParameter() {
|
||||
Value *Elts[] = {
|
||||
GetTagConstant(VMContext, dwarf::DW_TAG_unspecified_parameters)
|
||||
};
|
||||
return DIDescriptor(MDNode::get(VMContext, Elts));
|
||||
return DITrivialType(MDNode::get(VMContext, Elts));
|
||||
}
|
||||
|
||||
/// createForwardDecl - Create a temporary forward-declared type that
|
||||
|
Reference in New Issue
Block a user