[all-commits] [llvm/llvm-project] c7ca21: libcxxabi [PR58117][NFC]: Open code lower bound

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Thu Oct 20 06:11:40 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7ca21436d626b188d87774044d4c087cbbe7fcf
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2022-10-20 (Thu, 20 Oct 2022)

  Changed paths:
    M libcxxabi/src/demangle/ItaniumDemangle.h
    M llvm/include/llvm/Demangle/ItaniumDemangle.h

  Log Message:
  libcxxabi [PR58117][NFC]: Open code lower bound

This open codes the use of lower-bound when looking for an operator
encoding. Using std::lower_bound can result in symbol references to
the C++ library and that breaks the ABI demangler, which mandates no
such dependency.

Differential Revision: https://reviews.llvm.org/D135799

Fixes: https://github.com/llvm/llvm-project/issues/58117

More information about the All-commits mailing list