[clang] [clang][ssaf] Implement Entity Linker CLI and patching for JSON Format (PR #184713)

Jan Korous via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 6 18:04:27 PST 2026


================
@@ -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


More information about the cfe-commits mailing list