mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
DIBuilder: Delete dead code, NFC
There are two versions of `DIBuilder::createObjCIVar()`. Delete the one that's apparently dead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218167 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1a505ebae4
commit
3f71e22d8f
@ -222,32 +222,6 @@ namespace llvm {
|
||||
DIFile File, unsigned LineNo, DIType Ty,
|
||||
unsigned Flags, llvm::Value *Val);
|
||||
|
||||
/// createObjCIVar - Create debugging information entry for Objective-C
|
||||
/// instance variable.
|
||||
/// @param Name Member name.
|
||||
/// @param File File where this member is defined.
|
||||
/// @param LineNo Line number.
|
||||
/// @param SizeInBits Member size.
|
||||
/// @param AlignInBits Member alignment.
|
||||
/// @param OffsetInBits Member offset.
|
||||
/// @param Flags Flags to encode member attribute, e.g. private
|
||||
/// @param Ty Parent type.
|
||||
/// @param PropertyName Name of the Objective C property associated with
|
||||
/// this ivar.
|
||||
/// @param PropertyGetterName Name of the Objective C property getter
|
||||
/// selector.
|
||||
/// @param PropertySetterName Name of the Objective C property setter
|
||||
/// selector.
|
||||
/// @param PropertyAttributes Objective C property attributes.
|
||||
DIDerivedType createObjCIVar(StringRef Name, DIFile File,
|
||||
unsigned LineNo, uint64_t SizeInBits,
|
||||
uint64_t AlignInBits, uint64_t OffsetInBits,
|
||||
unsigned Flags, DIType Ty,
|
||||
StringRef PropertyName = StringRef(),
|
||||
StringRef PropertyGetterName = StringRef(),
|
||||
StringRef PropertySetterName = StringRef(),
|
||||
unsigned PropertyAttributes = 0);
|
||||
|
||||
/// createObjCIVar - Create debugging information entry for Objective-C
|
||||
/// instance variable.
|
||||
/// @param Name Member name.
|
||||
|
@ -467,34 +467,6 @@ DIBuilder::createStaticMemberType(DIDescriptor Scope, StringRef Name,
|
||||
return DIDerivedType(MDNode::get(VMContext, Elts));
|
||||
}
|
||||
|
||||
/// createObjCIVar - Create debugging information entry for Objective-C
|
||||
/// instance variable.
|
||||
DIDerivedType
|
||||
DIBuilder::createObjCIVar(StringRef Name, DIFile File, unsigned LineNumber,
|
||||
uint64_t SizeInBits, uint64_t AlignInBits,
|
||||
uint64_t OffsetInBits, unsigned Flags, DIType Ty,
|
||||
StringRef PropertyName, StringRef GetterName,
|
||||
StringRef SetterName, unsigned PropertyAttributes) {
|
||||
// TAG_member is encoded in DIDerivedType format.
|
||||
Value *Elts[] = {
|
||||
GetTagConstant(VMContext, dwarf::DW_TAG_member),
|
||||
File.getFileNode(),
|
||||
getNonCompileUnitScope(File),
|
||||
MDString::get(VMContext, Name),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), LineNumber),
|
||||
ConstantInt::get(Type::getInt64Ty(VMContext), SizeInBits),
|
||||
ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits),
|
||||
ConstantInt::get(Type::getInt64Ty(VMContext), OffsetInBits),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), Flags),
|
||||
Ty,
|
||||
MDString::get(VMContext, PropertyName),
|
||||
MDString::get(VMContext, GetterName),
|
||||
MDString::get(VMContext, SetterName),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), PropertyAttributes)
|
||||
};
|
||||
return DIDerivedType(MDNode::get(VMContext, Elts));
|
||||
}
|
||||
|
||||
/// createObjCIVar - Create debugging information entry for Objective-C
|
||||
/// instance variable.
|
||||
DIDerivedType DIBuilder::createObjCIVar(StringRef Name, DIFile File,
|
||||
|
Loading…
x
Reference in New Issue
Block a user