Commit Graph

3 Commits

Author SHA1 Message Date
Ben Langmuir
8e8a0ef6db Hide some comments from -Wdocumentation to shut up warnings
Clang doesn't seem to treat variables of function pointer type as valid
functions (unlike e.g. typedefs of function types), so it was warning
about \param and \returns.  For now, just disable the warning in this
header.  I filed rdar://problem/24978538 to fix clang.
2016-03-04 10:52:23 -08:00
David Farler
0ab31065ff Flesh out remote memory reader
Adds a rough sketch of what will be a test harness, currently only supported
on OS X:
- Launch a child process: an executable written in Swift
- Receive the child process's Mach port
- Receive reflection section addresses and the address of a heap instance
  of interest
- Perform field type lookup on the instance remotely (TODO)
2016-03-02 21:25:04 -08:00
David Farler
c5298c0b52 [Reflection] Start fleshing out the remote mirrors library
- Don't depend on LLVM Support and swiftBasic as this will bring in
  llvmSupport and other heavy dependencies, which we don't build for
  non-host architectures right now anyway.

- Add a reader template that works with the same (albeit somewhat
  clunky) interface in-process with the runtime and remotely, by having
  the memory tool supply a function that will copy data from the remote
  process.

- Add a Buffer type to abstract indirecting pointers in a remote address
  space, which is handled by the memory reader.

- Start sketching out the C remote mirrors interface.
2016-02-12 16:34:28 -08:00