mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
As the base of the "remote" address space ObjectMemoryReader presents for an image, use the image's own preferred VM address mappings. If there are multiple images loaded, differentiate them by using the top 16 bits of the remote address space as an index into the array of images. This should make it so that absolute pointers in the file Just Work without sliding in most cases; we'd only need to mix in the image index in order to have a value that is also a valid remote address.
4 lines
105 B
Swift
4 lines
105 B
Swift
// a dummy main.swift we can use to build executables to test reflection on
|
|
// intentionally left blank
|
|
|