diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIE.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp index 6e9834a7cf0..ef1e41f4e3d 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp @@ -122,7 +122,7 @@ DIEAbbrev DIE::generateAbbrev() const { unsigned DIE::getDebugSectionOffset() const { const DIEUnit *Unit = getUnit(); assert(Unit && "DIE must be owned by a DIEUnit to get its absolute offset"); - return getUnit()->getDebugSectionOffset() + getOffset(); + return Unit->getDebugSectionOffset() + getOffset(); } const DIE *DIE::getUnitDie() const { |

