mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
Revert "Make a provision to encode inline location in a variable. This will enable dwarf writer to easily distinguish between two instances of a inlined variable in one basic block."
This reverts commit 9fec5e346e
.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135486 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -626,8 +626,7 @@ DIVariable DIBuilder::createLocalVariable(unsigned Tag, DIDescriptor Scope,
|
||||
File,
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), (LineNo | (ArgNo << 24))),
|
||||
Ty,
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), Flags),
|
||||
Constant::getNullValue(Type::getInt32Ty(VMContext)),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), Flags)
|
||||
};
|
||||
MDNode *Node = MDNode::get(VMContext, Elts);
|
||||
if (AlwaysPreserve) {
|
||||
@ -662,7 +661,6 @@ DIVariable DIBuilder::createComplexVariable(unsigned Tag, DIDescriptor Scope,
|
||||
Elts.push_back(ConstantInt::get(Type::getInt32Ty(VMContext), (LineNo | (ArgNo << 24))));
|
||||
Elts.push_back(Ty);
|
||||
Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)));
|
||||
Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)));
|
||||
Elts.append(Addr.begin(), Addr.end());
|
||||
|
||||
return DIVariable(MDNode::get(VMContext, Elts));
|
||||
|
Reference in New Issue
Block a user