diff options
author | Rahman Lavaee <rahmanl@google.com> | 2024-09-25 22:03:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-25 22:03:10 -0700 |
commit | 7b7747dc1d3da1a829503ea9505b4cecce4f5bda (patch) | |
tree | 812813a4212672361008fd25b1064303781056b1 /llvm/lib/CodeGen/CommandFlags.cpp | |
parent | 0f984976897857a8f4003063be6fa38a733fa624 (diff) | |
download | llvm-7b7747dc1d3da1a829503ea9505b4cecce4f5bda.zip llvm-7b7747dc1d3da1a829503ea9505b4cecce4f5bda.tar.gz llvm-7b7747dc1d3da1a829503ea9505b4cecce4f5bda.tar.bz2 |
Reapply "Deprecate the `-fbasic-block-sections=labels` option." (#110039)
This reapplies commit 1911a50fae8a441b445eb835b98950710d28fc88 with a
minor fix in lld/ELF/LTO.cpp which sets Options.BBAddrMap when
`--lto-basic-block-sections=labels` is passed.
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CommandFlags.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/CommandFlags.cpp b/llvm/lib/CodeGen/CommandFlags.cpp index 9e42deb..d180cfc 100644 --- a/llvm/lib/CodeGen/CommandFlags.cpp +++ b/llvm/lib/CodeGen/CommandFlags.cpp @@ -525,8 +525,6 @@ llvm::BasicBlockSection codegen::getBBSectionsMode(llvm::TargetOptions &Options) { if (getBBSections() == "all") return BasicBlockSection::All; - else if (getBBSections() == "labels") - return BasicBlockSection::Labels; else if (getBBSections() == "none") return BasicBlockSection::None; else { |