[clang] [SSAF][SourceTransform] Add '--ssaf-link-unit-id=' for specifying link unit IDs (PR #218823)
Ziqing Luo via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 29 19:01:57 PDT 2026
================
@@ -12,11 +12,12 @@ and emits two per-translation-unit artifacts:
## Driver options
-Four options control the pipeline; they are all both `--ssaf-…` driver
+Five options control the pipeline; they are all both `--ssaf-…` driver
options and `cc1` options. The compilation-unit identifier is shared
with the summary extraction step. A given compilation unit needs to
receive the same identifier for both summary extraction and source
-edit generation.
+edit generation. The link-unit identifier must match the namespace
+name the compilation unit's `WPASuite` result was linked into.
----------------
ziqingluo-90 wrote:
changed it to `The link-unit identifier must match the LinkUnit namespace name that this compilation unit was linked into.`
https://github.com/llvm/llvm-project/pull/218823
More information about the cfe-commits
mailing list