Commit Graph

7 Commits

Author SHA1 Message Date
Artem Chikin
8a18179b29 [Parseable Output] Make Emit-Module tasks indicate their name accordingly, instead of 'compile' 2024-06-13 12:09:59 -07:00
Artem Chikin
b66d6cc9ec [Parseable Output] Compute file extensions using full extension strings
Generation of valid JSON output for parseable output depends on being able to determine file types of inputs and outputs of compilation tasks. FileTypes.def defines multiple file kinds with multiple '.' extensions, such as '.abi.json' or '.features.json', but existing code attempted to compute file outputs only using the trailing suffix of the path after the last '.'. This led to some files not being recognized, which led to us not being able to generate valid JSON.

Resolves rdar://92961252
2022-05-12 13:01:09 -07:00
Artem Chikin
9d2aecbde4 Frontend emitting parsable output, as implemented, emitted began/finished messages on a per-primary basis. Which means that -frontend-parseable-output had no effect in contexts where no primary inputs are specified, such as WMO. This change fixes that by also emitting began/finished messages when no primary outputs are specified.
Resolves rdar://91999048
2022-04-28 13:24:03 -07:00
Artem Chikin
915186ab47 Refactor Basic/Parseable-Output to remove dependency on Driver & Frontend
Introducing new entry-points that can be used from both Driver and Frontend clients, using an intermediary new type: `DetailedMessagePayload`, when needed.
2020-12-14 11:35:56 -08:00
Artem Chikin
222b153897 Remove unnecessary XFAILs 2020-12-11 16:01:04 -08:00
Artem Chikin
21c4e3a29d Remove unnecessary platform-specific checks from tests 2020-12-11 16:01:04 -08:00
Artem Chikin
bc58ed42d9 Add frontend parseable output tests 2020-12-11 16:01:04 -08:00