[clang] [llvm] [Clang][AIX] Add -mloadtime-comment-vars flag to preserve identifying variables (PR #187986)

Wael Yehia via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 17 08:56:19 PDT 2026


================
@@ -26,6 +26,23 @@ def err_fe_linking_module : Error<"cannot link module '%0': %1">, DefaultFatal;
 def warn_fe_linking_module : Warning<"linking module '%0': %1">, InGroup<LinkerWarnings>;
 def note_fe_linking_module : Note<"linking module '%0': %1">;
 
+def warn_loadtime_comment_var_volatile : Warning<
----------------
w2yehia wrote:

you can combine all 4 messages in to 1 parameterized message given they are all saying that the specified variable does not meat condition X and will not be preserved.

https://github.com/llvm/llvm-project/pull/187986


More information about the cfe-commits mailing list