llvm-project/lldb/source/Commands
Todd Fiala 0562524b45 On x86 & x86_64, try to use eh_frame for frame 0.
We decided to use assmbly profiler instead of eh_frame for frame 0 because for compiler generated code, eh_frame is usually synchronous(a.k.a. only valid at call site); and we have no way to tell if it's asynchronous or not.
But for x86 & x86_64 compiler generated code:
1. clang & GCC describes all prologue instructions in eh_frame;
2. mid-function stack pointer altering instructions can be easily detected.
So we can grab eh_frame, and use assembly profiler to augment it into asynchronous unwind table.
This change also benefits hand-written assembly; eh_frame for hand-written assembly is often asynchronous,so we have a much better chance to successfully unwind through them.

Change by Tong Shen.

llvm-svn: 216406
2014-08-25 20:29:09 +00:00
..
CMakeLists.txt Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
CommandCompletions.cpp Optimizations for FileSpec. 2014-08-07 17:33:36 +00:00
CommandObjectApropos.cpp Apropos should search user commands as well as built-in commands. 2013-05-17 01:30:37 +00:00
CommandObjectApropos.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectArgs.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandObjectArgs.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectBreakpoint.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandObjectBreakpoint.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectBreakpointCommand.cpp Fixed a typo. 2014-08-21 16:47:01 +00:00
CommandObjectBreakpointCommand.h Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
CommandObjectCommands.cpp Make sure the "command regex add" has a unique name for editline history purposes. 2014-07-09 20:18:54 +00:00
CommandObjectCommands.h
CommandObjectDisassemble.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandObjectDisassemble.h Change the disassemble option to specify the architecture from '-a' 2013-04-11 03:14:01 +00:00
CommandObjectExpression.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandObjectExpression.h Allow a multi-line expression to follow expression commands with options when there is no expression following the option terminating “—“. 2014-03-13 23:42:30 +00:00
CommandObjectFrame.cpp Fix some typos: 2014-08-11 18:06:28 +00:00
CommandObjectFrame.h
CommandObjectGUI.cpp Fixing the Windows build for the changes brought in from the iohandler merge. 2014-01-31 18:48:46 +00:00
CommandObjectGUI.h Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
CommandObjectHelp.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandObjectHelp.h <rdar://problem/11914077> 2013-06-12 01:50:57 +00:00
CommandObjectLog.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandObjectLog.h
CommandObjectMemory.cpp Reapply typo fix. 2014-07-10 14:45:57 +00:00
CommandObjectMemory.h
CommandObjectMultiword.cpp Fix autocompletion for multi-word commands. 2013-12-10 19:14:04 +00:00
CommandObjectPlatform.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandObjectPlatform.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectPlugin.cpp Fixed internal code to not link against and code from "lldb/API/*". 2013-12-02 19:35:49 +00:00
CommandObjectPlugin.h Implementing plugins that provide commands. 2012-09-28 23:57:51 +00:00
CommandObjectProcess.cpp Adjust process launch --disable-aslr to take true/false value. 2014-08-19 17:40:43 +00:00
CommandObjectProcess.h
CommandObjectQuit.cpp sanitise sign comparisons 2014-04-02 03:51:35 +00:00
CommandObjectQuit.h <rdar://problem/12786725> 2013-01-17 21:36:19 +00:00
CommandObjectRegister.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandObjectRegister.h
CommandObjectSettings.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandObjectSettings.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectSource.cpp Fix the missleading indentation. Fix CID 1096300 2014-08-18 14:48:24 +00:00
CommandObjectSource.h
CommandObjectSyntax.cpp Sort out a number of mismatched integer types in order to cut down the number of compiler warnings. 2013-06-19 19:04:53 +00:00
CommandObjectSyntax.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectTarget.cpp On x86 & x86_64, try to use eh_frame for frame 0. 2014-08-25 20:29:09 +00:00
CommandObjectTarget.h
CommandObjectThread.cpp Fix iohandler prompt race condition. 2014-08-12 14:33:19 +00:00
CommandObjectThread.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectType.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandObjectType.h Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
CommandObjectVersion.cpp Huge change to clean up types. 2013-07-11 22:46:58 +00:00
CommandObjectVersion.h Huge change to clean up types. 2013-07-11 22:46:58 +00:00
CommandObjectWatchpoint.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandObjectWatchpoint.h Use the "last created watchpoint" rather than asserting on watchpoint commands passing no watchpoint ID. 2013-07-02 02:09:46 +00:00
CommandObjectWatchpointCommand.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandObjectWatchpointCommand.h Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
Makefile Fix a few more clang (3.2) warnings on Linux: 2012-12-07 22:21:08 +00:00