hanchenye-llvm-project/lldb
Siva Chandra e32f2b57ff [ValueObject::GetPointeeData] Get addr from value for eValueHostAddress values.
Summary:
After r236447, ValueObject::GetAddressOf returns LLDB_INVALID_ADDRESS
when the value type is eValueHostAddress. For such a case, clients of
GetAddressOf should get the address from the scalar part of the value
instead of using the value returned by GetAddressOf directly.

This change also makes ValueObject::GetAddressOf set the address type to
eAddressTypeHost for values of eValueHostAddress so that clients can
recognize that they need to fetch the address from the scalar part
of the value.

Test Plan: ninja check-lldb on linux

Reviewers: clayborg, ovyalov

Reviewed By: ovyalov

Subscribers: lldb-commits

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

llvm-svn: 236473
2015-05-05 00:41:35 +00:00
..
cmake Add CMAKE_EXECUTABLE_SUFFIX to build with Android toolchain on Windows. 2015-04-29 23:59:22 +00:00
docs test commit 2015-04-28 12:34:19 +00:00
examples Add a call to SBDebugger:Destroy() at the end of the self-hosted 2015-04-01 02:09:04 +00:00
include Add language command and LanguageRuntime plugin changes to allow vending of command objects. 2015-05-04 18:39:38 +00:00
lib This patch adds support aarch64-linux-gnu (SysV) abi in lldb. 2015-04-29 11:52:35 +00:00
lit Create a check-lldb-unit target to run unit tests. 2015-03-13 20:55:07 +00:00
lldb.xcodeproj Update to build sysv-arm/sysv-arm64/sblanguageinfo/registercontextlinux_arm64. 2015-04-29 22:16:19 +00:00
lldb.xcworkspace Fixup gtest layout, add Linux ThreadStateCoordinator.cpp. 2014-09-25 19:25:07 +00:00
resources Bump major vers # in xcode project file from 330 to 340. 2015-03-06 00:45:01 +00:00
scripts Add language option in -gdb-show command (MI) 2015-04-28 12:51:16 +00:00
source [ValueObject::GetPointeeData] Get addr from value for eValueHostAddress values. 2015-05-05 00:41:35 +00:00
test [ValueObject] Do not return address of eValueTypeHostAddress values. 2015-05-04 19:43:34 +00:00
tools PosixPipes should not be copyable but should be movable. 2015-05-01 16:49:23 +00:00
unittests Add missing libraries to unittest link 2015-04-27 09:26:03 +00:00
utils
www Start to share SWIG interface files between languages. 2015-04-24 00:38:53 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.clang-format Update build instructions / coding conventions. 2015-03-10 23:22:25 +00:00
.gitignore Fix .gitignore to ignore symlinks. 2015-03-31 00:03:00 +00:00
CMakeLists.txt Use the debugginess of the python interpreter when symlinking _lldb.pyd. 2015-04-22 22:53:18 +00:00
CODE_OWNERS.txt Convert CRLF to LF in CODE_OWNERS.txt 2015-03-23 14:00:54 +00:00
INSTALL.txt Revert "git-svn test commit" 2014-11-18 22:45:59 +00:00
LICENSE.TXT
Makefile Remove the -Wno-unused-function option. We are clean 2014-09-09 07:49:15 +00:00