[PATCH] D153907: [AIX] [TOC] Add -mtocdata/-mno-tocdata options on AIX
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 18 10:02:40 PDT 2023
hubert.reinterpretcast added inline comments.
================
Comment at: include/clang/Basic/DiagnosticFrontendKinds.td:96
InGroup<BackendWarningAttributes>;
+def warn_toc_unsupported_type : Warning<"The -mtocdata option is ignored "
+ "for %0 because %1.">, InGroup<BackendWarningAttributes>;
----------------
It seems the current state of the implementation may warrant a warning when using toc-data with the large code model. The feature is only effective if TOC-based relocations are used to refer to the toc-data symbol. Has that been implemented?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153907/new/
https://reviews.llvm.org/D153907
More information about the llvm-commits
mailing list