diff options
author | Fangrui Song <i@maskray.me> | 2024-03-06 23:03:11 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-03-06 23:03:11 -0800 |
commit | e63ea9d6f7b1d15f4819e6af8ee9452046e1548c (patch) | |
tree | 4a6e2494da4ca6f1918145b9a20a934214bf52cd /llvm/lib/CodeGen/CommandFlags.cpp | |
parent | 2f1d79ee702148f452584367ddd0e3c81ecf3c64 (diff) | |
download | llvm-e63ea9d6f7b1d15f4819e6af8ee9452046e1548c.zip llvm-e63ea9d6f7b1d15f4819e6af8ee9452046e1548c.tar.gz llvm-e63ea9d6f7b1d15f4819e6af8ee9452046e1548c.tar.bz2 |
[CommandFlags] Rename option -relax-elf-relocations to -x86-relax-relocations
relax-elf-relocations is misleading and there were AMDGPU/SystemZ tests
misusing this x86-specific option.
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CommandFlags.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CommandFlags.cpp b/llvm/lib/CodeGen/CommandFlags.cpp index d82b2a8..d61b708 100644 --- a/llvm/lib/CodeGen/CommandFlags.cpp +++ b/llvm/lib/CodeGen/CommandFlags.cpp @@ -363,7 +363,7 @@ codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() { CGBINDOPT(UseCtors); static cl::opt<bool> RelaxELFRelocations( - "relax-elf-relocations", + "x86-relax-relocations", cl::desc( "Emit GOTPCRELX/REX_GOTPCRELX instead of GOTPCREL on x86-64 ELF"), cl::init(true)); |