Page MenuHomePhabricator

[llvm-exegesis] Add a custom error for clustering

Authored by mstojanovic on Feb 6 2020, 5:22 AM.



All errors of type Failure are StringErrors. In order for exit code mapping to detect that specifically a clustering error has occurred it needs to have a different type.

This patch also prepares D74085 where termination report_fatal_error() will be replaced with emitting StringErrors.

Diff Detail

Event Timeline

mstojanovic created this revision.Feb 6 2020, 5:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2020, 5:22 AM
This revision is now accepted and ready to land.Feb 7 2020, 4:37 AM
This revision was automatically updated to reflect the committed changes.