This is an archive of the discontinued LLVM Phabricator instance.

[llvm-tapi-diff] Replicate diff utility error handling

Authored by cishida on Dec 16 2021, 1:57 PM.



For scripting purposes, use different error code for cases that aren't a
result of different tbd files, e.g. bad input like a path to a broken
symlink. This behaves more similiarly to how the unix diff command behaves.
This also includes minor tweaks on error messages.

Diff Detail

Event Timeline

cishida requested review of this revision.Dec 16 2021, 1:57 PM
cishida created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2021, 1:57 PM
This revision is now accepted and ready to land.Dec 17 2021, 12:22 PM
ributzka accepted this revision.Dec 17 2021, 12:24 PM
This revision was landed with ongoing or failed builds.Dec 18 2021, 10:13 AM
This revision was automatically updated to reflect the committed changes.