llvm-project/lldb/source
Pavel Labath 605b51b84e Work around a stepping bug in arm64 android M
Summary:
On arm64, linux<=4.4 and Android<=M there is a bug, which prevents single-stepping from working when
the system comes back from suspend, because of incorrectly initialized CPUs. This did not really
affect Android<M, because it did not use software suspend, but it is a problem for M, which uses
suspend (doze) quite extensively.  Fortunately, it seems that the first CPU is not affected by
this bug, so this commit implements a workaround by forcing the inferior to execute on the first
cpu whenever we are doing single stepping.

While inside, I have moved the implementations of Resume() and SingleStep() to the thread class
(instead of process).

Reviewers: tberghammer, ovyalov

Subscribers: aemerson, rengolin, tberghammer, danalbert, srhines, lldb-commits

Differential Revision: http://reviews.llvm.org/D17509

llvm-svn: 261636
2016-02-23 13:56:30 +00:00
..
API This patch stops lldb from loading a .lldbinit file from the current 2016-02-19 00:05:17 +00:00
Breakpoint Remove autoconf support from source directories. 2016-01-28 22:05:24 +00:00
Commands Fix Clang-tidy modernize-use-nullptr and modernize-use-default warnings in some files in source/Commands; other minor fixes. 2016-02-23 01:43:44 +00:00
Core [LLDB][MIPS] Provide CPU string to compiler for appropriate code generation for MIPS 2016-02-18 11:53:28 +00:00
DataFormatters Fix a typo in FormatCache.cpp such that the cache would potentially return an invalid format in some cases 2016-02-18 19:23:52 +00:00
Expression Add -Wimplicit-fallthrough command line option to clang in 2016-02-16 04:14:33 +00:00
Host [linux] Remove all traces of signalfd(2) 2016-02-23 12:26:08 +00:00
Initialization Don't use an atexit handler for cleaning up the temp directory. 2016-02-19 19:20:44 +00:00
Interpreter This patch stops lldb from loading a .lldbinit file from the current 2016-02-19 00:05:17 +00:00
Plugins Work around a stepping bug in arm64 android M 2016-02-23 13:56:30 +00:00
Symbol Improve the handling of missing elf symtab and missing symbol sizes 2016-02-18 11:12:18 +00:00
Target Refactor GetSoftwareBreakpointTrapOpcode 2016-02-22 17:29:56 +00:00
Utility Remove autoconf support from source directories. 2016-01-28 22:05:24 +00:00
CMakeLists.txt Add initial CMake glue for the NetBSD platform 2015-10-24 00:27:04 +00:00
lldb.cpp Add more NetBSD platform glue for lldb 2015-11-07 15:31:54 +00:00