Commit Graph

10 Commits

Author SHA1 Message Date
Gogul Balakrishnan
1fa3846224 Add more hooks for overriding name lookup in the DebuggerClient (#23031) 2019-04-08 15:19:31 -07:00
Slava Pestov
fb9d410350 AST: Rename UnqualifiedLookupResult => LookupResultEntry
There's a similar LookupResult::Result type in Sema, and I'd like
to combine the two.
2017-07-18 22:09:02 -07:00
Alex Hoppen
ae947cb186 [Debugger] Preparations for removal of getName on ValueDecl
With the introduction of special decl names, `Identifier getName()` on
`ValueDecl` will be removed and pushed down to nominal declarations
whose name is guaranteed not to be special. Prepare for this by calling
to `DeclBaseName getBaseName()` instead where appropriate.
2017-05-29 17:47:33 +02:00
practicalswift
6d1ae2a39c [gardening] 2016 → 2017 2017-01-06 16:41:22 +01:00
practicalswift
797b80765f [gardening] Use the correct base URL (https://swift.org) in references to the Swift website
Remove all references to the old non-TLS enabled base URL (http://swift.org)
2016-11-20 17:36:03 +01:00
Zach Panzarino
e3a4147ac9 Update copyright date 2015-12-31 23:28:40 +00:00
Sean Callanan
d98e9aaf07 Use the DebuggerClient to find file-local names.
This is Jordan's fix, and he said he's going to
look into making a Swift-side test.  LLDB will be
using this very shortly.


Swift SVN r22034
2014-09-17 20:21:26 +00:00
Jim Ingham
f685f4d8b7 Change how the DebugClient supplies names to the Name lookup (for lldb REPL and expression parser.) We used to be
only a fallback if no names are found.  But that meant the repl couldn't add overloaded versions of functions that
have any versions not provided by the debugger.  Now we augment the result of lookupInModule, and the rest of the
resolution mechanism can pick the right variant.

<rdar://problem/17025292>


Swift SVN r19301
2014-06-27 18:56:35 +00:00
Jim Ingham
14a6697ba5 Add an attribute marking the "Debugger function" lldb uses for emulating
local contexts.  Get the parser in consultation with the DebuggerClient
to handle moving persistent declarations from the debugger function to the
source file.

<rdar://problem/15302321> [ER] Define Swift classes in expressions


Swift SVN r17948
2014-05-12 19:03:31 +00:00
Sean Callanan
a1881434c2 Added support to allow LLDB to provide the
location of variables at SIL generation time.
This patch introduces a SILDebuggerClient that
knows how to resolve the locations of variables
that are generated by the debugger.  These
variables have a flag on them that only LLDB
sets.


Swift SVN r11230
2013-12-13 01:43:02 +00:00