mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +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:
@@ -628,9 +628,7 @@ namespace llvm {
|
||||
uint64_t getAddrElement(unsigned Idx) const {
|
||||
if (getVersion() <= llvm::LLVMDebugVersion8)
|
||||
return getUInt64Field(Idx+6);
|
||||
if (getVersion() == llvm::LLVMDebugVersion9)
|
||||
return getUInt64Field(Idx+7);
|
||||
return getUInt64Field(Idx+8);
|
||||
return getUInt64Field(Idx+7);
|
||||
}
|
||||
|
||||
/// isBlockByrefVariable - Return true if the variable was declared as
|
||||
@@ -718,13 +716,6 @@ namespace llvm {
|
||||
/// suitable to hold function specific information.
|
||||
NamedMDNode *getFnSpecificMDNode(const Module &M, StringRef Name);
|
||||
|
||||
/// createInlinedVariable - Create a new inlined variable based on current
|
||||
/// variable.
|
||||
/// @param DV Current Variable.
|
||||
/// @param InlinedScope Location at current variable is inlined.
|
||||
DIVariable createInlinedVariable(MDNode *DV, MDNode *InlinedScope,
|
||||
LLVMContext &VMContext);
|
||||
|
||||
class DebugInfoFinder {
|
||||
public:
|
||||
/// processModule - Process entire module and collect debug info
|
||||
|
Reference in New Issue
Block a user