[PATCH] D144190: [AIX][clang] Storage Locations for Constant Pointers
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 28 17:07:02 PDT 2023
hubert.reinterpretcast added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/AIX.cpp:125
+ // The `-mroptr` option places constants in RO sections as much as possible.
+ // Then `-bforceimprw` changes such sections to RW if they contain imported
----------------
Old option name in comment text.
================
Comment at: clang/lib/Frontend/CompilerInvocation.cpp:1965
+ // therefore, we require that separate data sections
+ // are used when `-mroptr` is in effect. We respect the setting of
+ // data-sections since we have not found reasons to do otherwise that
----------------
Old option name in comment text.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144190/new/
https://reviews.llvm.org/D144190
More information about the cfe-commits
mailing list