================
@@ -0,0 +1,5 @@
+// Test ssaf-linker version
+
+// RUN: ssaf-linker --version | FileCheck %s --match-full-lines
+
+// CHECK: ssaf-linker 0.1
----------------
jkorous-apple wrote:

I feel a bit stronger about testing the version string that I feel about the 
`--time` output. We should at the very least remove the specific version from 
the check.

I didn't realize that the linker has a version until now. I am not aware of a 
use case for it at this point.
LLVM already has a versioning scheme, to which we would probably have to refer 
in the documentation as we will link summaries produced by clang. Things like 
downstream forks using their own versioning schemes would further complicate 
this.

We might be better off not dealing with versioning until we have to.

https://github.com/llvm/llvm-project/pull/184713
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to