llvm-project/lldb/source
Jason Molenda c0657a6ceb Add support for some extended push instructions in i386/x86_64 like
'push 0x20(%esp)' which clang can generate when emitting
-fomit-frame-pointer code for 32-bit.

Add a unit test program which includes this instruction.

Also fix a bug in the refactoring/rewrite of the x86 assembly
instruction profiler where I'd hard coded it as a 64-bit disassembler
instead of using the ArchSpec to pick a 32-bit or 64-bit disassembler
from llvm.  When the disassembler would hit an instruction
that is invalid in 64-bit mode, it would stop disassembling the function.
This likely led to the TestSBData testsuite failure on linux with 32-bit
i386 and gcc-4.9; I'll test that in a bit.

The newly added unit test program is 32-bit i386 code and it includes
an instruction which is invalid in 64-bit mode so it will catch this.

<rdar://problem/28557876> 

llvm-svn: 282991
2016-10-01 00:19:26 +00:00
..
API Fix serialization of Python breakpoint commands. 2016-09-26 19:47:37 +00:00
Breakpoint Fix serialization of Python breakpoint commands. 2016-09-26 19:47:37 +00:00
Commands Fix an issue where LLDB would not accept the --description-verbosity option to 'po' without an argument after the StringRef refactoring 2016-09-26 21:36:17 +00:00
Core Change Module::RemapPath to use StringRef. 2016-09-23 18:42:38 +00:00
DataFormatters Move UTF functions into namespace llvm. 2016-09-30 00:38:45 +00:00
Expression [CMake] LLDB/Expression needs to depend on intrinsics_gen 2016-09-29 22:55:09 +00:00
Host Again fixing windows build breakage like in rL282862 2016-09-30 15:41:33 +00:00
Initialization *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Interpreter Fix serialization of Python breakpoint commands. 2016-09-26 19:47:37 +00:00
Plugins Add support for some extended push instructions in i386/x86_64 like 2016-10-01 00:19:26 +00:00
Symbol Fix comment - Module::PrepareForFunctionNameLookup should be Module::LookupInfo::LookupInfo. 2016-09-30 20:38:33 +00:00
Target Introduced a null check to avoid a crash in a test on i386. 2016-09-29 00:16:37 +00:00
Utility Make lldb::Regex use StringRef. 2016-09-21 16:01:28 +00:00
CMakeLists.txt [CMake] Generate LLDB_REVISION at build time 2016-09-23 23:33:52 +00:00
lldb.cpp [CMake] Generate LLDB_REVISION at build time 2016-09-23 23:33:52 +00:00