mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 22:23:00 +00:00
DebugInfo: Provide a new hook to encode relationship between a property and an ivar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149874 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -510,6 +510,13 @@ uint64_t DIDerivedType::getOriginalTypeSize() const {
|
||||
return getSizeInBits();
|
||||
}
|
||||
|
||||
/// getObjCProperty - Return property node, if this ivar is associated with one.
|
||||
MDNode *DIDerivedType::getObjCProperty() const {
|
||||
if (getVersion() <= LLVMDebugVersion11 || DbgNode->getNumOperands() <= 10)
|
||||
return NULL;
|
||||
return dyn_cast_or_null<MDNode>(DbgNode->getOperand(10));
|
||||
}
|
||||
|
||||
/// isInlinedFnArgument - Return true if this variable provides debugging
|
||||
/// information for an inlined function arguments.
|
||||
bool DIVariable::isInlinedFnArgument(const Function *CurFn) {
|
||||
|
||||
Reference in New Issue
Block a user