llvm-project/lldb
Enrico Granata fee0aba006 It has been brought to my attention that, given two variables
T x;
U y;

doing

x = *((T*)y)

is undefined behavior, even if sizeof(T) == sizeof(U), due to pointer aliasing rules

Fix up a couple of places in LLDB that were doing this, and transform them into a defined and safe memcpy() operation

Also, add a test case to ensure we didn't regress by doing this w.r.t. tagged pointer NSDate instances

llvm-svn: 270793
2016-05-25 23:19:01 +00:00
..
cmake Work around android-arm NDK bug exposed by rL269992 2016-05-20 10:58:55 +00:00
docs test commit 2016-04-25 19:02:05 +00:00
examples Another little example use of scripted thread plans. 2016-05-03 00:14:52 +00:00
include/lldb Include <mutex> in Process.h - Jim's change in r270593 added a std::mutex 2016-05-25 05:14:16 +00:00
lit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:14:05 +00:00
lldb.xcodeproj add cmake files to Xcode project 2016-05-23 18:56:05 +00:00
lldb.xcworkspace
packages/Python/lldbsuite It has been brought to my attention that, given two variables 2016-05-25 23:19:01 +00:00
resources Bump the lldb version # in the xcode project files from 2016-03-15 04:36:11 +00:00
scripts Look for CMake.app when searching for cmake 2016-05-16 22:29:15 +00:00
source It has been brought to my attention that, given two variables 2016-05-25 23:19:01 +00:00
test Always rerun all tests on Windows. 2016-05-23 17:32:04 +00:00
third_party/Python/module
tools Add support for arm64 compact unwind tables, used on darwin arm64 2016-05-25 04:20:28 +00:00
unittests Add unit tests for ModuleCache 2016-05-25 10:48:16 +00:00
utils
www Update the website with lots of new info about building / testing. 2016-02-24 22:19:23 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt Fix NetBSD build with CMake 3.5.2 2016-05-01 10:23:24 +00:00
CODE_OWNERS.txt
INSTALL.txt
LICENSE.TXT
use_lldb_suite_root.py