mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
Add some support for dealing with an object pointer on arguments.
Part of rdar://9797999 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163667 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -164,6 +164,16 @@ public:
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool isObjectPointer() const {
|
||||
if (Var.isObjectPointer())
|
||||
return true;
|
||||
if (Var.getTag() == dwarf::DW_TAG_arg_variable
|
||||
&& getType().isObjectPointer())
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool variableHasComplexAddress() const {
|
||||
assert(Var.Verify() && "Invalid complex DbgVariable!");
|
||||
return Var.hasComplexAddress();
|
||||
|
Reference in New Issue
Block a user