aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CommandFlags.cpp
diff options
context:
space:
mode:
authorQiongsi Wu <qwu@ibm.com>2023-03-31 09:47:07 -0400
committerQiongsi Wu <qwu@ibm.com>2023-03-31 10:09:48 -0400
commitf624372ccb74f455986db799f9368dec36927696 (patch)
treee0b8a5a2238a846d21cf55b7d8d10349d4a12ddf /llvm/lib/CodeGen/CommandFlags.cpp
parentbdf52b5dfe4c9d1074e51cd432c5364d8e69462a (diff)
downloadllvm-f624372ccb74f455986db799f9368dec36927696.zip
llvm-f624372ccb74f455986db799f9368dec36927696.tar.gz
llvm-f624372ccb74f455986db799f9368dec36927696.tar.bz2
[AIX][CodeGen] Renaming mroptr to xcoff-mroptr
This patch renames the `mroptr` option to `mxcoff-roptr` to indicate in the option itself that it is xcoff specific. Reviewed By: hubert.reinterpretcast Differential Revision: https://reviews.llvm.org/D147161
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
-rw-r--r--llvm/lib/CodeGen/CommandFlags.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CommandFlags.cpp b/llvm/lib/CodeGen/CommandFlags.cpp
index 5ef6507..c58547d 100644
--- a/llvm/lib/CodeGen/CommandFlags.cpp
+++ b/llvm/lib/CodeGen/CommandFlags.cpp
@@ -480,7 +480,7 @@ codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() {
CGBINDOPT(JMCInstrument);
static cl::opt<bool> XCOFFReadOnlyPointers(
- "mroptr",
+ "mxcoff-roptr",
cl::desc("When set to true, const objects with relocatable address "
"values are put into the RO data section."),
cl::init(false));