[llvm] r360377 - DebugInfo/DWARF: Minor expression simplification
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Thu May 9 14:23:40 PDT 2019
Author: dblaikie
Date: Thu May 9 14:23:40 2019
New Revision: 360377
URL: http://llvm.org/viewvc/llvm-project?rev=360377&view=rev
Log:
DebugInfo/DWARF: Minor expression simplification
Modified:
llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp?rev=360377&r1=360376&r2=360377&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp Thu May 9 14:23:40 2019
@@ -633,7 +633,7 @@ DWARFUnit::getInlinedChainForAddress(uin
// First, find the subroutine that contains the given address (the leaf
// of inlined chain).
DWARFDie SubroutineDIE =
- (DWO ? DWO.get() : this)->getSubroutineForAddress(Address);
+ (DWO ? *DWO : *this).getSubroutineForAddress(Address);
if (!SubroutineDIE)
return;
More information about the llvm-commits
mailing list