================
@@ -1021,6 +1021,15 @@ def _ssaf_global_scope_analysis_result :
"consumed by the source transformation. The extension selects which file "
"format to use.">,
MarshallingInfoString<SSAFOpts<"GlobalScopeAnalysisResult">>;
+def _ssaf_link_unit_id :
+ Joined<["--"], "ssaf-link-unit-id=">,
+ MetaVarName<"<id>">,
+ Group<SSAF_Group>,
+ Visibility<[ClangOption, CC1Option]>,
+ HelpText<
+ "Stable identifier used as the LinkUnit namespace name of every "
+ "produced SSAF link unit.">,
----------------
ziqingluo-90 wrote:
>Will this flag be passed into the SSAF summary merging phase?
Not yet. The linker currently hardcodes that the output filename is the link
unit name. I have a PR to add this flag to the linker so that users can specify
link unit names using a consistent flag. But it is not urgent.
>the "name of the link unit that this individual TU was linked into"
This is precise and better.
https://github.com/llvm/llvm-project/pull/218823
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits