Commit Graph

6 Commits

Author SHA1 Message Date
YR Chen
be5a06555f Add support for SWIFTCI_USE_LOCAL_DEPS in swift-inspect
If the `SWIFTCI_USE_LOCAL_DEPS` environment variable is set, we're building in the Swift.org CI system alongside other projects in the Swift toolchain and we can depend on local versions of our dependencies instead of fetching them remotely.
2023-11-09 20:02:14 +08:00
Saleem Abdulrasool
72337efc3b build: adjust application of flags for LLVM issue (#67455)
The flags were meant to be applied to the C++ code not the Swift code.
Adjust the configuration to apply the flags properly.
2023-07-21 13:23:27 -07:00
Hiroshi Yamauchi
627175fe4c Fix a build issue with swift-inspect
Update the version of swift-argument-parser used by swift-inspect to
be compatible with the package description version.

Add compiler flags for a LLVM bug workaround.
2023-07-21 04:36:15 -07:00
Hiroshi Yamauchi
af890f3cbf Improve the dump-arrays performance on Windows
Use the HeapWalk API for heap iteration instead of the
Heap32First/Next API, which was known to be slow. Since HeapWalk only
works locally, it requires using a remote thread and a DLL.
2023-07-14 16:13:10 -07:00
Saleem Abdulrasool
eef3a8f60a swift-inspect: restructure the project for porting
This restructures and refactors the project to split up the
implementation into smaller fragments.  The majority of the operations
are portable: the ones which are not require iterating the heap
allocations which is not guaranteed to be a portable operation.
Additionally, the `Inspector` class is renamed into `RemoteProcess`
which is also converted to a protocol to allow adding in an
implementation for other targets.  The inspection operations are split
off into individual files to make it easier to follow.  Take the
opportunity to use `@main` for the entry point.
2022-02-18 12:58:11 -08:00
Ben Cohen
49cbf9788f Rename swiftdt to swift-inspect 2020-05-29 08:31:04 -07:00