diff options
author | Sriraman Tallam <tmsriram@google.com> | 2020-07-31 11:14:49 -0700 |
---|---|---|
committer | Sriraman Tallam <tmsriram@google.com> | 2020-07-31 11:50:55 -0700 |
commit | ca6b6d40ffba27fe231f55f7edc533f0a1815d31 (patch) | |
tree | 26a6a41ee4ec47e35bfdbf96702c2d0e61f4c2d7 /llvm/lib/CodeGen/CommandFlags.cpp | |
parent | 43bf902c2e3416179cf41eba9307fc74bcba0ecd (diff) | |
download | llvm-ca6b6d40ffba27fe231f55f7edc533f0a1815d31.zip llvm-ca6b6d40ffba27fe231f55f7edc533f0a1815d31.tar.gz llvm-ca6b6d40ffba27fe231f55f7edc533f0a1815d31.tar.bz2 |
Rename basic block sections options to be consistent.
D68049 created options for basic block sections: -fbasic-block-sections=,
-funique-basic-block-section-names. Rename options in llc and lld (--lto-)
to be consistent. Specifically,
+ Rename basicblock-sections to basic-block-sections
+ Rename unique-bb-section-names to unique-basic-block-section-names
Differential Revision: https://reviews.llvm.org/D84462
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CommandFlags.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/CommandFlags.cpp b/llvm/lib/CodeGen/CommandFlags.cpp index 12dadf9..0ada09f 100644 --- a/llvm/lib/CodeGen/CommandFlags.cpp +++ b/llvm/lib/CodeGen/CommandFlags.cpp @@ -332,7 +332,7 @@ codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() { CGBINDOPT(FunctionSections); static cl::opt<std::string> BBSections( - "basicblock-sections", + "basic-block-sections", cl::desc("Emit basic blocks into separate sections"), cl::value_desc("all | <function list (file)> | labels | none"), cl::init("none")); @@ -352,7 +352,7 @@ codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() { CGBINDOPT(UniqueSectionNames); static cl::opt<bool> UniqueBasicBlockSectionNames( - "unique-bb-section-names", + "unique-basic-block-section-names", cl::desc("Give unique names to every basic block section"), cl::init(false)); CGBINDOPT(UniqueBasicBlockSectionNames); |