llvm-project/lldb/unittests
Jason Molenda 1cd92e480c Bug where insn-based unwind plans on arm64 could be wrong
Fix a bug where UnwindAssemblyInstEmulation would confuse which
register is used to compute the Canonical Frame Address after it
had branched over a mid-function epilogue (where the CFA reg changes
from $fp to $sp in the process of epiloguing).  Reinstate the
correct CFA register after we forward the unwind rule for branch
targets.  The failure mode was that UnwindAssemblyInstEmulation
would think CFA was set in terms of $sp after one of these epilogues,
and if it sees modifications to $sp after the branch target, it would
change the CFA offset in the unwind rule -- even though the CFA is
defined in terms of $fp and the $sp changes are irrelevant to correct
calculation.

<rdar://problem/60300528>

Differential Revision: https://reviews.llvm.org/D78077
2020-04-14 16:57:25 -07:00
..
API [lldb] Fix a typo in a test name 2020-04-14 12:18:58 -07:00
Breakpoint [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Core [lldb] Disable the new Communication test on windows 2020-04-09 15:19:24 +02:00
DataFormatter [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Disassembler [lldb/Plugins] Rename lldbPluginDisassemblerLLVM (NFC) 2020-02-17 19:14:01 -08:00
Editline [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Expression [lldb/DWARF] Fix evaluator crash when accessing empty stack. 2020-03-31 17:44:57 +02:00
Host [lldb/Support] Treat empty FileSpec as an invalid file. 2020-04-03 09:29:22 -07:00
Interpreter Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
Language [LLDB] CPlusPlusNameParser does not handles templated operator< properly 2020-03-27 14:46:39 -07:00
ObjectFile [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Platform Remap the target (Xcode) SDK directory to the host SDK directory. 2020-04-06 15:51:30 -07:00
Process [lldb] NFC: Fix trivial typo in comments, documents, and messages 2020-04-07 01:06:16 +09:00
ScriptInterpreter [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Signals [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Symbol Preserve the owning module information from DWARF in the synthesized AST 2020-04-09 11:09:44 -07:00
SymbolFile [lldb][NFC] Fix unsigned/signed comparison warning in SymbolFileDWARFTest.cpp 2020-03-12 15:30:11 +01:00
Target [lldb/Target] Support more than 2 symbols in StackFrameRecognizer 2020-03-18 14:15:58 +01:00
TestingSupport Preserve the owning module information from DWARF in the synthesized AST 2020-04-09 11:09:44 -07:00
UnwindAssembly Bug where insn-based unwind plans on arm64 could be wrong 2020-04-14 16:57:25 -07:00
Utility [lldb/Test] Use RAII for reproducer instrumentation data in unittest. 2020-04-14 14:46:39 -07:00
debugserver [lldb] NFC: Fix trivial typo in comments, documents, and messages 2020-04-07 01:06:16 +09:00
tools [lldb] Change Communication::SetConnection to take a unique_ptr 2020-04-02 14:42:25 +02:00
CMakeLists.txt [commands] Support autorepeat in SBCommands 2020-04-08 10:54:14 -07:00
gtest_common.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00