Files
swift-mirror/lib/Basic/Program.cpp
Rintaro Ishizaki 2416b587db [Macros] Terminate macro plugin
Instead of expecting the plugin read `EOF` and exit, proactively
terminate the plugin and `wait` to reap it.

(cherry picked from commit 4a62ef86d4)

[Macros] 'close' unnecessary file descriptors in plugin process

Close all the pipe file descriptors in the child process after duping
them to the standard I/O. This is not necessary but it's a good thing to
do anyway.

(cherry picked from commit 05948bcb93)
2025-05-15 16:20:51 -07:00

9.2 KiB