https://github.com/apple/swift
Revision 2d7f4c1ab2faf28bc6abf25a8dcb5b8a47dce594 authored by Slava Pestov on 11 February 2019, 01:51:09 UTC, committed by Fred Riss on 15 February 2019, 01:06:31 UTC
The getDynamicTypeAndAddressForExistential() function takes the
address of an existential value; so when looking at an Error,
this is the address of the reference, not the address of the
instance.

lldb needs to look at Error instances too, so add a new entry
point named getDynamicTypeAndAddressForError() which avoids the
extra dereference.

This will be tested on the lldb side.

(cherry picked from commit 56a74c4cd399037059621dac0186343bd45461c4)
1 parent 7bb21b1
History
Tip revision: 2d7f4c1ab2faf28bc6abf25a8dcb5b8a47dce594 authored by Slava Pestov on 11 February 2019, 01:51:09 UTC
RemoteAST: Add new entry point to unwrap an Error existential container
Tip revision: 2d7f4c1
File Mode Size
.github
apinotes
benchmark
bindings
cmake
docs
include
lib
stdlib
test
tools
unittests
utils
validation-test
.clang-format -rw-r--r-- 19 bytes
.dir-locals.el -rw-r--r-- 1.4 KB
.flake8 -rw-r--r-- 1.2 KB
.gitignore -rw-r--r-- 2.0 KB
.mailmap -rw-r--r-- 8.2 KB
CHANGELOG.md -rw-r--r-- 257.9 KB
CMakeLists.txt -rw-r--r-- 40.0 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CODE_OWNERS.TXT -rw-r--r-- 1.7 KB
CONTRIBUTING.md -rw-r--r-- 544 bytes
LICENSE.txt -rw-r--r-- 11.5 KB
README.md -rw-r--r-- 17.6 KB

README.md

back to top