diff options
author | Kazu Hirata <kazu@google.com> | 2024-09-25 12:34:43 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2024-09-25 12:34:43 -0700 |
commit | 639a0afa9955a8613902e46e168767bc05c46cdd (patch) | |
tree | 6019e52986dad7fa3b6440574413ab42db1df05d /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 1911a50fae8a441b445eb835b98950710d28fc88 (diff) | |
download | llvm-639a0afa9955a8613902e46e168767bc05c46cdd.zip llvm-639a0afa9955a8613902e46e168767bc05c46cdd.tar.gz llvm-639a0afa9955a8613902e46e168767bc05c46cdd.tar.bz2 |
Revert "Deprecate the `-fbasic-block-sections=labels` option. (#107494)"
This reverts commit 1911a50fae8a441b445eb835b98950710d28fc88.
Several bots are failing:
https://lab.llvm.org/buildbot/#/builders/190/builds/6519
https://lab.llvm.org/buildbot/#/builders/3/builds/5248
https://lab.llvm.org/buildbot/#/builders/18/builds/4463
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 62c6a57..916c92a 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -429,6 +429,7 @@ static bool initTargetOptions(DiagnosticsEngine &Diags, Options.BBSections = llvm::StringSwitch<llvm::BasicBlockSection>(CodeGenOpts.BBSections) .Case("all", llvm::BasicBlockSection::All) + .Case("labels", llvm::BasicBlockSection::Labels) .StartsWith("list=", llvm::BasicBlockSection::List) .Case("none", llvm::BasicBlockSection::None) .Default(llvm::BasicBlockSection::None); |