hanchenye-llvm-project/lldb
Zachary Turner 736d4d85db Replace GCC-specific intrinsic with portable alternative.
Not all supported compilers have GCC intrinsics, so this patch
uses the correct portable alternative.

Additionally, this patch fixes an off-by-one error.  __builtin_ffs
returns the 1-based index of the least-significant 1-bit, but the
function expects the base 2 logarithm of the number, which is
equivalent to the 0-based index of the least-significant 1-bit.

Reviewed by: Keno Fischer

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

llvm-svn: 211669
2014-06-25 05:42:32 +00:00
..
docs Add documentation about the jThreadExtendedInfo packet. 2014-06-13 22:40:47 +00:00
examples Allow classes to be intialized using current lldb::SB objects. This can help to import/export the current process state. 2014-05-28 00:21:15 +00:00
include Added an option to turn OFF the "detach on error" behavior that was added 2014-06-25 02:32:56 +00:00
lib Patch from Keno Fischer to enable JITLoaderGDB with mach-o file support. 2014-06-24 22:22:43 +00:00
lldb.xcodeproj Add API control of the signal disposition. 2014-06-23 19:30:49 +00:00
lldb.xcworkspace Move the performance test cases into their own project. 2013-03-18 23:05:00 +00:00
resources Update the lldb version number in the xcode project files from 310.99.0 to 320.99.0. 2014-01-10 06:12:10 +00:00
scripts Added an option to turn OFF the "detach on error" behavior that was added 2014-06-25 02:32:56 +00:00
source Replace GCC-specific intrinsic with portable alternative. 2014-06-25 05:42:32 +00:00
test Part 2 of SBUnitSignals check-in. 2014-06-23 20:56:48 +00:00
tools Added an option to turn OFF the "detach on error" behavior that was added 2014-06-25 02:32:56 +00:00
utils LUI: Fix some issues causing crashes in the source view 2013-10-23 01:18:21 +00:00
www Remove obsolete CXX11 buld instructions 2014-05-03 15:05:40 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.gitignore spruce up .gitignore 2014-03-18 04:43:49 +00:00
CMakeLists.txt Fix up lldb cmake linker flags for MacOSX. 2014-06-17 20:54:56 +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