llvm-project/lldb
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
..
docs Change the encoding of the Triple string exchanged across GDB-RSP 2014-08-01 05:12:23 +00:00
examples Fix some typos: 2014-08-11 18:06:28 +00:00
include On x86 & x86_64, try to use eh_frame for frame 0. 2014-08-25 20:29:09 +00:00
lib Still trying to fix the Make build. Link lldbHostPosix to liblldb 2014-08-15 23:27:37 +00:00
lldb.xcodeproj Fixed a problem where IOObject was wrongly 2014-08-23 00:46:02 +00:00
lldb.xcworkspace Move the performance test cases into their own project. 2013-03-18 23:05:00 +00:00
resources Bump the verison number in the xcode project files. 2014-08-21 23:27:02 +00:00
scripts Fix the Windows build by removing the unused lldb_python_module.cmake inclusion from CMakeLists. 2014-08-25 18:16:22 +00:00
source On x86 & x86_64, try to use eh_frame for frame 0. 2014-08-25 20:29:09 +00:00
test Added a test case to ensure lldb::SBHostOS::GetLLDBPath() doesn't return lldb::SBFileSpec objects with the filename filled in for directory paths. 2014-08-25 18:30:00 +00:00
tools Bump the verison number in the xcode project files. 2014-08-21 23:27:02 +00:00
utils LUI: Fix some issues causing crashes in the source view 2013-10-23 01:18:21 +00:00
www Fix some typos: 2014-08-11 18:06:28 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.clang-format Fix .clang-format file to adhere to LLDB 140 column limit. 2014-08-19 17:18:38 +00:00
.gitignore Update .gitignore for MacOSX 2014-08-14 20:19:57 +00:00
CMakeLists.txt build: fix cmake warning with newer CMake 2014-07-20 05:28:55 +00:00
INSTALL.txt Update INSTALL.txt to mention LLDB builds on Linux with GCC or Clang. 2013-02-21 22:37:18 +00:00
LICENSE.TXT
Makefile Add some missing defines that are already present in the cmake side. 2014-03-12 10:35:00 +00:00