Commit 618f944
committed
[lldb][nfc] Remove no-op calls to Fix*Address (llvm#159586)
The first call, in InitializeNonZerothFrame, is inside a logging branch.
For that, it's better to log the real value instead of the fixed one.
The second call, inside RegisterContextUnwind::ReadFrameAddress, is
computing an address which is then passed to
ReadRegisterValueFromMemory, which boils down to a Process::ReadMemory,
which fixes the address if it wants to. The current variable names are
misleading, making readers believe it is the cfa value itself that is
being passed to Fix*Address; that's not the case. This commit renames
the variable to make this abundantly clear.
(cherry picked from commit 113357f)1 parent 9613d7f commit 618f944
1 file changed
+14
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | | - | |
367 | | - | |
| 365 | + | |
368 | 366 | | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
| 367 | + | |
373 | 368 | | |
374 | | - | |
375 | 369 | | |
376 | 370 | | |
377 | 371 | | |
| |||
1989 | 1983 | | |
1990 | 1984 | | |
1991 | 1985 | | |
1992 | | - | |
1993 | | - | |
1994 | | - | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
1995 | 1990 | | |
1996 | | - | |
| 1991 | + | |
1997 | 1992 | | |
1998 | 1993 | | |
1999 | | - | |
2000 | | - | |
2001 | 1994 | | |
2002 | | - | |
| 1995 | + | |
2003 | 1996 | | |
2004 | 1997 | | |
2005 | 1998 | | |
2006 | 1999 | | |
2007 | 2000 | | |
2008 | | - | |
2009 | | - | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
2010 | 2004 | | |
2011 | 2005 | | |
2012 | 2006 | | |
2013 | 2007 | | |
2014 | | - | |
2015 | | - | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
2016 | 2011 | | |
2017 | 2012 | | |
2018 | 2013 | | |
| |||
0 commit comments