Swift: Detect module triple from compiler

On Swift versions later than 5.2, the compiler is able to specify target
info, including the module triple among other properties about the
underlying platform. Grab the triple and save it in the compiler info.
2 files changed