LLVMFuzzerTestOneInput:
   22|  3.59k|extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
   23|  3.59k|  static std::shared_ptr<spdlog::logger> my_logger;
   24|  3.59k|  if (!my_logger.get()) {
  ------------------
  |  Branch (24:7): [True: 1, False: 3.59k]
  ------------------
   25|      1|    my_logger = spdlog::basic_logger_mt("basic_logger", "/dev/null");
   26|      1|    spdlog::set_default_logger(my_logger);
   27|      1|  }
   28|       |
   29|  3.59k|  if (size == 0) {
  ------------------
  |  Branch (29:7): [True: 0, False: 3.59k]
  ------------------
   30|      0|    return 0;
   31|      0|  }
   32|       |
   33|       |
   34|  3.59k|  FuzzedDataProvider stream(data, size);
   35|       |
   36|  3.59k|  const unsigned long size_arg = stream.ConsumeIntegral<unsigned long>();
   37|  3.59k|  const unsigned long int_arg = stream.ConsumeIntegral<unsigned long>();
   38|  3.59k|  const std::string string_arg = stream.ConsumeRandomLengthString(size);
   39|  3.59k|  const std::string format_string = stream.ConsumeRemainingBytesAsString();
   40|       |
   41|  3.59k|  spdlog::info(format_string.c_str(), size_arg, int_arg, string_arg);
   42|  3.59k|  spdlog::trace(format_string.c_str(), size_arg, int_arg, string_arg);
   43|  3.59k|  spdlog::debug(format_string.c_str(), size_arg, int_arg, string_arg);
   44|  3.59k|  spdlog::error(format_string.c_str(), size_arg, int_arg, string_arg);
   45|  3.59k|  spdlog::warn(format_string.c_str(), size_arg, int_arg, string_arg);
   46|  3.59k|  spdlog::critical(format_string.c_str(), size_arg, int_arg, string_arg);
   47|       |
   48|  3.59k|  SPDLOG_INFO(format_string.c_str(), size_arg, int_arg, string_arg);
  ------------------
  |  |  322|  3.59k|#define SPDLOG_INFO(...) SPDLOG_LOGGER_INFO(SPDLOG_NAMESPACE::default_logger_raw(), __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  321|  3.59k|#define SPDLOG_LOGGER_INFO(logger, ...) SPDLOG_LOGGER_CALL(logger, SPDLOG_NAMESPACE::level::info, __VA_ARGS__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  296|  3.59k|    (logger)->log(SPDLOG_NAMESPACE::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   10|  3.59k|    #define SPDLOG_NAMESPACE spdlog
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (logger)->log(SPDLOG_NAMESPACE::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  104|  3.59k|#define SPDLOG_FUNCTION static_cast<const char *>(__FUNCTION__)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|  3.59k|  SPDLOG_TRACE(format_string.c_str(), size_arg, int_arg, string_arg);
  ------------------
  |  |  308|  3.59k|#define SPDLOG_TRACE(...) (void)0
  ------------------
   50|  3.59k|  SPDLOG_DEBUG(format_string.c_str(), size_arg, int_arg, string_arg);
  ------------------
  |  |  317|  3.59k|#define SPDLOG_DEBUG(...) (void)0
  ------------------
   51|  3.59k|  SPDLOG_ERROR(format_string.c_str(), size_arg, int_arg, string_arg);
  ------------------
  |  |  338|  3.59k|#define SPDLOG_ERROR(...) SPDLOG_LOGGER_ERROR(SPDLOG_NAMESPACE::default_logger_raw(), __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  337|  3.59k|#define SPDLOG_LOGGER_ERROR(logger, ...) SPDLOG_LOGGER_CALL(logger, SPDLOG_NAMESPACE::level::err, __VA_ARGS__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  296|  3.59k|    (logger)->log(SPDLOG_NAMESPACE::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   10|  3.59k|    #define SPDLOG_NAMESPACE spdlog
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (logger)->log(SPDLOG_NAMESPACE::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  104|  3.59k|#define SPDLOG_FUNCTION static_cast<const char *>(__FUNCTION__)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   52|  3.59k|  SPDLOG_WARN(format_string.c_str(), size_arg, int_arg, string_arg);
  ------------------
  |  |  330|  3.59k|#define SPDLOG_WARN(...) SPDLOG_LOGGER_WARN(SPDLOG_NAMESPACE::default_logger_raw(), __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  329|  3.59k|#define SPDLOG_LOGGER_WARN(logger, ...) SPDLOG_LOGGER_CALL(logger, SPDLOG_NAMESPACE::level::warn, __VA_ARGS__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  296|  3.59k|    (logger)->log(SPDLOG_NAMESPACE::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   10|  3.59k|    #define SPDLOG_NAMESPACE spdlog
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (logger)->log(SPDLOG_NAMESPACE::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  104|  3.59k|#define SPDLOG_FUNCTION static_cast<const char *>(__FUNCTION__)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   53|  3.59k|  SPDLOG_CRITICAL(format_string.c_str(), size_arg, int_arg, string_arg);
  ------------------
  |  |  347|  3.59k|#define SPDLOG_CRITICAL(...) SPDLOG_LOGGER_CRITICAL(SPDLOG_NAMESPACE::default_logger_raw(), __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  346|  3.59k|    SPDLOG_LOGGER_CALL(logger, SPDLOG_NAMESPACE::level::critical, __VA_ARGS__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  296|  3.59k|    (logger)->log(SPDLOG_NAMESPACE::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   10|  3.59k|    #define SPDLOG_NAMESPACE spdlog
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (logger)->log(SPDLOG_NAMESPACE::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  104|  3.59k|#define SPDLOG_FUNCTION static_cast<const char *>(__FUNCTION__)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|       |
   55|  3.59k|  return 0;
   56|  3.59k|}

_ZN6spdlog5level14to_string_viewENS0_10level_enumE:
   24|  7.73k|SPDLOG_INLINE const string_view_t &to_string_view(level::level_enum l) SPDLOG_NOEXCEPT {
   25|  7.73k|    return level_string_views[l];
   26|  7.73k|}

_ZN6spdlog19file_event_handlersC2Ev:
  332|      1|        : before_open(nullptr),
  333|      1|          after_open(nullptr),
  334|      1|          before_close(nullptr),
  335|      1|          after_close(nullptr) {}
_ZNK6spdlog10source_loc5emptyEv:
  324|  7.73k|    SPDLOG_CONSTEXPR bool empty() const SPDLOG_NOEXCEPT { return line <= 0; }
_ZN6spdlog10source_locC2EPKciS2_:
  320|  14.3k|        : filename{filename_in},
  321|  14.3k|          line{line_in},
  322|  14.3k|          funcname{funcname_in} {}
_ZN6spdlog10source_locC2Ev:
  318|  21.5k|    SPDLOG_CONSTEXPR source_loc() = default;

_ZNK6spdlog7details10backtracer7enabledEv:
   41|  35.9k|SPDLOG_INLINE bool backtracer::enabled() const { return enabled_.load(std::memory_order_relaxed); }

_ZN6spdlog7details10backtracerC2Ev:
   24|      2|    backtracer() = default;

_ZN6spdlog7details10circular_qINS0_14log_msg_bufferEEC2Ev:
   26|      2|    circular_q() = default;

_ZN6spdlog7details13console_mutex5mutexEv:
   14|      1|    static mutex_t &mutex() {
   15|      1|        static mutex_t s_mutex;
   16|      1|        return s_mutex;
   17|      1|    }

_ZN6spdlog7details11file_helperC2ERKNS_19file_event_handlersE:
   22|      1|    : event_handlers_(event_handlers) {}
_ZN6spdlog7details11file_helper15set_buffer_sizeEm:
  106|      1|SPDLOG_INLINE void file_helper::set_buffer_size(size_t buffer_size) {
  107|       |    // Reopen to configure setvbuf before I/O while preserving pending output.
  108|      1|    if (custom_buffer_size_ == buffer_size) {
  ------------------
  |  Branch (108:9): [True: 1, False: 0]
  ------------------
  109|      1|        return;
  110|      1|    }
  111|      0|    if (fd_ != nullptr) {
  ------------------
  |  Branch (111:9): [True: 0, False: 0]
  ------------------
  112|      0|        flush();
  113|      0|    }
  114|      0|    custom_buffer_size_ = buffer_size;
  115|      0|    if (fd_ != nullptr) {
  ------------------
  |  Branch (115:9): [True: 0, False: 0]
  ------------------
  116|      0|        reopen(false);
  117|      0|    }
  118|      0|}
_ZN6spdlog7details11file_helper4openERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEb:
   26|      1|SPDLOG_INLINE void file_helper::open(const filename_t &fname, bool truncate) {
   27|      1|    close();
   28|      1|    filename_ = fname;
   29|       |
   30|      1|    auto *mode = SPDLOG_FILENAME_T("ab");
  ------------------
  |  |  140|      1|#define SPDLOG_FILENAME_T(s) s
  ------------------
   31|      1|    auto *trunc_mode = SPDLOG_FILENAME_T("wb");
  ------------------
  |  |  140|      1|#define SPDLOG_FILENAME_T(s) s
  ------------------
   32|       |
   33|      1|    if (event_handlers_.before_open) {
  ------------------
  |  Branch (33:9): [True: 0, False: 1]
  ------------------
   34|      0|        event_handlers_.before_open(filename_);
   35|      0|    }
   36|      1|    for (int tries = 0; tries < open_tries_; ++tries) {
  ------------------
  |  Branch (36:25): [True: 1, False: 0]
  ------------------
   37|       |        // create containing folder if not exists already.
   38|      1|        os::create_dir(os::dir_name(fname));
   39|      1|        if (truncate) {
  ------------------
  |  Branch (39:13): [True: 0, False: 1]
  ------------------
   40|       |            // Truncate by opening-and-closing a tmp file in "wb" mode, always
   41|       |            // opening the actual log-we-write-to in "ab" mode, since that
   42|       |            // interacts more politely with eternal processes that might
   43|       |            // rotate/truncate the file underneath us.
   44|      0|            std::FILE *tmp;
   45|      0|            if (os::fopen_s(&tmp, fname, trunc_mode)) {
  ------------------
  |  Branch (45:17): [True: 0, False: 0]
  ------------------
   46|      0|                continue;
   47|      0|            }
   48|      0|            std::fclose(tmp);
   49|      0|        }
   50|      1|        if (!os::fopen_s(&fd_, fname, mode)) {
  ------------------
  |  Branch (50:13): [True: 1, False: 0]
  ------------------
   51|      1|            if (custom_buffer_size_ > 0) {
  ------------------
  |  Branch (51:17): [True: 0, False: 1]
  ------------------
   52|      0|                custom_buf_.resize(custom_buffer_size_);
   53|      0|                if (std::setvbuf(fd_, custom_buf_.data(), _IOFBF, custom_buffer_size_) != 0) {
  ------------------
  |  Branch (53:21): [True: 0, False: 0]
  ------------------
   54|      0|                    throw_spdlog_ex("Failed to setvbuf on file " + os::filename_to_str(filename_), errno);
   55|      0|                }
   56|      0|            }
   57|      1|            if (event_handlers_.after_open) {
  ------------------
  |  Branch (57:17): [True: 0, False: 1]
  ------------------
   58|      0|                event_handlers_.after_open(filename_, fd_);
   59|      0|            }
   60|      1|            return;
   61|      1|        }
   62|       |
   63|      0|        details::os::sleep_for_millis(open_interval_);
   64|      0|    }
   65|       |
   66|      0|    throw_spdlog_ex("Failed opening file " + os::filename_to_str(filename_) + " for writing",
   67|       |                    errno);
   68|      0|}
_ZN6spdlog7details11file_helper5closeEv:
   89|      2|SPDLOG_INLINE void file_helper::close() {
   90|      2|    if (fd_ != nullptr) {
  ------------------
  |  Branch (90:9): [True: 1, False: 1]
  ------------------
   91|      1|        if (event_handlers_.before_close) {
  ------------------
  |  Branch (91:13): [True: 0, False: 1]
  ------------------
   92|      0|            event_handlers_.before_close(filename_, fd_);
   93|      0|        }
   94|       |
   95|      1|        std::fclose(fd_);
   96|      1|        fd_ = nullptr;
   97|      1|        custom_buf_.clear();
   98|      1|        custom_buf_.shrink_to_fit();
   99|       |
  100|      1|        if (event_handlers_.after_close) {
  ------------------
  |  Branch (100:13): [True: 0, False: 1]
  ------------------
  101|      0|            event_handlers_.after_close(filename_);
  102|      0|        }
  103|      1|    }
  104|      2|}
_ZN6spdlog7details11file_helperD2Ev:
   24|      1|SPDLOG_INLINE file_helper::~file_helper() { close(); }
_ZN6spdlog7details11file_helper5writeERKN3fmt3v1219basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
  124|  7.73k|SPDLOG_INLINE void file_helper::write(const memory_buf_t &buf) {
  125|  7.73k|    if (fd_ == nullptr) return;
  ------------------
  |  Branch (125:9): [True: 0, False: 7.73k]
  ------------------
  126|  7.73k|    size_t msg_size = buf.size();
  127|  7.73k|    auto data = buf.data();
  128|       |
  129|  7.73k|    if (!details::os::fwrite_bytes(data, msg_size, fd_)) {
  ------------------
  |  Branch (129:9): [True: 0, False: 7.73k]
  ------------------
  130|       |        throw_spdlog_ex("Failed writing to file " + os::filename_to_str(filename_), errno);
  131|      0|    }
  132|  7.73k|}

_ZN6spdlog7details10fmt_helper18append_string_viewEN3fmt3v1217basic_string_viewIcEERNS3_19basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   21|  34.8k|inline void append_string_view(string_view_t view, memory_buf_t &dest) {
   22|  34.8k|    auto *buf_ptr = view.data();
   23|  34.8k|    dest.append(buf_ptr, buf_ptr + view.size());
   24|  34.8k|}
_ZN6spdlog7details10fmt_helper10append_intIiEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|  4.19k|inline void append_int(T n, memory_buf_t &dest) {
   43|  4.19k|    fmt::format_int i(n);
   44|  4.19k|    dest.append(i.data(), i.data() + i.size());
   45|  4.19k|}
_ZN6spdlog7details10fmt_helper4pad2EiRN3fmt3v1219basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   84|  1.62k|inline void pad2(int n, memory_buf_t &dest) {
   85|  1.62k|    if (n >= 0 && n < 100)  // 0-99
  ------------------
  |  Branch (85:9): [True: 1.62k, False: 0]
  |  Branch (85:19): [True: 1.62k, False: 0]
  ------------------
   86|  1.62k|    {
   87|  1.62k|        dest.push_back(static_cast<char>('0' + n / 10));
   88|  1.62k|        dest.push_back(static_cast<char>('0' + n % 10));
   89|  1.62k|    } else  // unlikely, but just in case, let fmt deal with it
   90|      0|    {
   91|      0|        fmt_lib::format_to(std::back_inserter(dest), SPDLOG_FMT_STRING("{:02}"), n);
  ------------------
  |  |   55|      0|#define SPDLOG_FMT_STRING(format_string) FMT_STRING(format_string)
  |  |  ------------------
  |  |  |  | 4251|      0|#define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4226|      0|    [] {                                                                     \
  |  |  |  |  |  | 4227|      0|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  | 4228|      0|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  | 4229|      0|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  | 4230|      0|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  | 4231|      0|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  | 4232|      0|            const {                                                          \
  |  |  |  |  |  | 4233|      0|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  | 4234|      0|        }                                                                    \
  |  |  |  |  |  | 4235|      0|      };                                                                     \
  |  |  |  |  |  | 4236|      0|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  | 4237|      0|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  | 4238|      0|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  | 4239|      0|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  | 4240|      0|    }()
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|      0|    }
   93|  1.62k|}
_ZN6spdlog7details10fmt_helper13time_fractionINSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEEET_NS4_10time_pointINS4_12system_clockENS5_IxNS6_ILl1ELl1000000EEEEEEE:
  131|  7.73k|inline ToDuration time_fraction(log_clock::time_point tp) {
  132|  7.73k|    using std::chrono::duration_cast;
  133|  7.73k|    using std::chrono::seconds;
  134|  7.73k|    auto duration = tp.time_since_epoch();
  135|  7.73k|    auto secs = duration_cast<seconds>(duration);
  136|  7.73k|    return duration_cast<ToDuration>(duration) - duration_cast<ToDuration>(secs);
  137|  7.73k|}
_ZN6spdlog7details10fmt_helper4pad3IjEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
  105|  7.73k|inline void pad3(T n, memory_buf_t &dest) {
  106|  7.73k|    static_assert(std::is_unsigned<T>::value, "pad3 must get unsigned T");
  107|  7.73k|    if (n < 1000) {
  ------------------
  |  Branch (107:9): [True: 7.73k, False: 0]
  ------------------
  108|  7.73k|        dest.push_back(static_cast<char>(n / 100 + '0'));
  109|  7.73k|        n = n % 100;
  110|  7.73k|        dest.push_back(static_cast<char>((n / 10) + '0'));
  111|  7.73k|        dest.push_back(static_cast<char>((n % 10) + '0'));
  112|  7.73k|    } else {
  113|      0|        append_int(n, dest);
  114|      0|    }
  115|  7.73k|}

_ZN6spdlog7details7log_msgC2ENS_10source_locEN3fmt3v1217basic_string_viewIcEENS_5level10level_enumES6_:
   36|  7.73k|    : log_msg(os::now(), loc, a_logger_name, lvl, msg) {}
_ZN6spdlog7details7log_msgC2ENSt3__16chrono10time_pointINS3_12system_clockENS3_8durationIxNS2_5ratioILl1ELl1000000EEEEEEENS_10source_locEN3fmt3v1217basic_string_viewIcEENS_5level10level_enumESF_:
   20|  7.73k|    : logger_name(a_logger_name),
   21|  7.73k|      level(lvl),
   22|  7.73k|      time(log_time)
   23|       |#ifndef SPDLOG_NO_THREAD_ID
   24|       |      ,
   25|  7.73k|      thread_id(os::thread_id())
   26|       |#endif
   27|       |      ,
   28|  7.73k|      source(loc),
   29|  7.73k|      payload(msg) {
   30|  7.73k|}

_ZN6spdlog7details2os11in_terminalEP8_IO_FILE:
  399|      1|SPDLOG_INLINE bool in_terminal(FILE *file) SPDLOG_NOEXCEPT {
  400|       |#ifdef _WIN32
  401|       |    return ::_isatty(_fileno(file)) != 0;
  402|       |#else
  403|      1|    return ::isatty(fileno(file)) != 0;
  404|      1|#endif
  405|      1|}
_ZN6spdlog7details2os12fwrite_bytesEPKvmP8_IO_FILE:
  563|  7.73k|SPDLOG_INLINE bool fwrite_bytes(const void *ptr, const size_t n_bytes, FILE *fp) {
  564|       |#if defined(_WIN32) && defined(SPDLOG_FWRITE_UNLOCKED)
  565|       |    return _fwrite_nolock(ptr, 1, n_bytes, fp) == n_bytes;
  566|       |#elif defined(SPDLOG_FWRITE_UNLOCKED)
  567|       |    return ::fwrite_unlocked(ptr, 1, n_bytes, fp) == n_bytes;
  568|       |#else
  569|  7.73k|    return std::fwrite(ptr, 1, n_bytes, fp) == n_bytes;
  570|  7.73k|#endif
  571|  7.73k|}
_ZN6spdlog7details2os9localtimeERKl:
   87|    753|SPDLOG_INLINE std::tm localtime(const std::time_t &time_tt) SPDLOG_NOEXCEPT {
   88|       |#ifdef _WIN32
   89|       |    std::tm tm;
   90|       |    ::localtime_s(&tm, &time_tt);
   91|       |#else
   92|    753|    std::tm tm;
   93|    753|    ::localtime_r(&time_tt, &tm);
   94|    753|#endif
   95|    753|    return tm;
   96|    753|}
_ZN6spdlog7details2os10create_dirERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  485|      1|SPDLOG_INLINE bool create_dir(const filename_t &path) {
  486|      1|    if (path_exists(path)) {
  ------------------
  |  Branch (486:9): [True: 1, False: 0]
  ------------------
  487|      1|        return true;
  488|      1|    }
  489|       |
  490|      0|    if (path.empty()) {
  ------------------
  |  Branch (490:9): [True: 0, False: 0]
  ------------------
  491|      0|        return false;
  492|      0|    }
  493|       |
  494|      0|    size_t search_offset = 0;
  495|      0|    do {
  496|      0|        auto token_pos = path.find_first_of(folder_seps_filename, search_offset);
  497|       |        // treat the entire path as a folder if no folder separator not found
  498|      0|        if (token_pos == filename_t::npos) {
  ------------------
  |  Branch (498:13): [True: 0, False: 0]
  ------------------
  499|      0|            token_pos = path.size();
  500|      0|        }
  501|       |
  502|      0|        auto subdir = path.substr(0, token_pos);
  503|       |#ifdef _WIN32
  504|       |        // if subdir is just a drive letter, add a slash e.g. "c:"=>"c:\",
  505|       |        // otherwise path_exists(subdir) returns false (issue #3079)
  506|       |        const bool is_drive = subdir.length() == 2 && subdir[1] == ':';
  507|       |        if (is_drive) {
  508|       |            subdir += '\\';
  509|       |            token_pos++;
  510|       |        }
  511|       |#endif
  512|       |
  513|      0|        if (!subdir.empty() && !path_exists(subdir) && !mkdir_(subdir)) {
  ------------------
  |  Branch (513:13): [True: 0, False: 0]
  |  Branch (513:32): [True: 0, False: 0]
  |  Branch (513:56): [True: 0, False: 0]
  ------------------
  514|      0|                if (errno != EEXIST) {
  ------------------
  |  Branch (514:21): [True: 0, False: 0]
  ------------------
  515|      0|                        return false;  // return error if failed creating dir
  516|      0|                }
  517|      0|    }
  518|      0|        search_offset = token_pos + 1;
  519|      0|    } while (search_offset < path.size());
  ------------------
  |  Branch (519:14): [True: 0, False: 0]
  ------------------
  520|       |
  521|      0|    return true;
  522|      0|}
_ZN6spdlog7details2os11path_existsERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  180|      1|SPDLOG_INLINE bool path_exists(const filename_t &filename) SPDLOG_NOEXCEPT {
  181|       |#ifdef _WIN32
  182|       |    struct _stat buffer;
  183|       |#ifdef SPDLOG_WCHAR_FILENAMES
  184|       |    return (::_wstat(filename.c_str(), &buffer) == 0);
  185|       |#else
  186|       |    return (::_stat(filename.c_str(), &buffer) == 0);
  187|       |#endif
  188|       |#else  // common linux/unix all have the stat system call
  189|      1|    struct stat buffer;
  190|      1|    return (::stat(filename.c_str(), &buffer) == 0);
  191|      1|#endif
  192|      1|}
_ZN6spdlog7details2os8dir_nameERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  529|      1|SPDLOG_INLINE filename_t dir_name(const filename_t &path) {
  530|      1|    auto pos = path.find_last_of(folder_seps_filename);
  531|      1|    return pos != filename_t::npos ? path.substr(0, pos) : filename_t{};
  ------------------
  |  Branch (531:12): [True: 1, False: 0]
  ------------------
  532|      1|}
_ZN6spdlog7details2os7fopen_sEPP8_IO_FILERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEESD_:
  120|      1|SPDLOG_INLINE bool fopen_s(FILE **fp, const filename_t &filename, const filename_t &mode) {
  121|       |#ifdef _WIN32
  122|       |#ifdef SPDLOG_WCHAR_FILENAMES
  123|       |    *fp = ::_wfsopen((filename.c_str()), mode.c_str(), _SH_DENYNO);
  124|       |#else
  125|       |    *fp = ::_fsopen((filename.c_str()), mode.c_str(), _SH_DENYNO);
  126|       |#endif
  127|       |#if defined(SPDLOG_PREVENT_CHILD_FD)
  128|       |    if (*fp != nullptr) {
  129|       |        auto file_handle = reinterpret_cast<HANDLE>(_get_osfhandle(::_fileno(*fp)));
  130|       |        if (!::SetHandleInformation(file_handle, HANDLE_FLAG_INHERIT, 0)) {
  131|       |            ::fclose(*fp);
  132|       |            *fp = nullptr;
  133|       |        }
  134|       |    }
  135|       |#endif
  136|       |#else  // unix
  137|       |#if defined(SPDLOG_PREVENT_CHILD_FD)
  138|       |    const int mode_flag = mode == SPDLOG_FILENAME_T("ab") ? O_APPEND : O_TRUNC;
  139|       |    const int fd =
  140|       |        ::open((filename.c_str()), O_CREAT | O_WRONLY | O_CLOEXEC | mode_flag, mode_t(0644));
  141|       |    if (fd == -1) {
  142|       |        return true;
  143|       |    }
  144|       |    *fp = ::fdopen(fd, mode.c_str());
  145|       |    if (*fp == nullptr) {
  146|       |        ::close(fd);
  147|       |    }
  148|       |#else
  149|      1|    *fp = ::fopen((filename.c_str()), mode.c_str());
  150|      1|#endif
  151|      1|#endif
  152|       |
  153|      1|    return *fp == nullptr;
  154|      1|}
_ZN6spdlog7details2os3nowEv:
   75|  7.73k|SPDLOG_INLINE log_clock::time_point now() SPDLOG_NOEXCEPT {
   76|       |#if defined __linux__ && defined SPDLOG_CLOCK_COARSE
   77|       |    timespec ts;
   78|       |    ::clock_gettime(CLOCK_REALTIME_COARSE, &ts);
   79|       |    return std::chrono::time_point<log_clock, typename log_clock::duration>(
   80|       |        std::chrono::duration_cast<typename log_clock::duration>(
   81|       |            std::chrono::seconds(ts.tv_sec) + std::chrono::nanoseconds(ts.tv_nsec)));
   82|       |
   83|       |#else
   84|  7.73k|    return log_clock::now();
   85|  7.73k|#endif
   86|  7.73k|}
_ZN6spdlog7details2os9thread_idEv:
  328|  7.73k|SPDLOG_INLINE size_t thread_id() SPDLOG_NOEXCEPT {
  329|       |#if defined(SPDLOG_NO_TLS)
  330|       |    return _thread_id();
  331|       |#else  // cache thread id in tls
  332|  7.73k|    static thread_local const size_t tid = _thread_id();
  333|  7.73k|    return tid;
  334|  7.73k|#endif
  335|  7.73k|}
_ZN6spdlog7details2os10_thread_idEv:
  277|      1|SPDLOG_INLINE size_t _thread_id() SPDLOG_NOEXCEPT {
  278|       |#ifdef _WIN32
  279|       |    return static_cast<size_t>(::GetCurrentThreadId());
  280|       |#elif defined(__linux__)
  281|       |#if defined(__ANDROID__) && defined(__ANDROID_API__) && (__ANDROID_API__ < 21)
  282|       |#define SYS_gettid __NR_gettid
  283|       |#endif
  284|      1|    return static_cast<size_t>(::syscall(SYS_gettid));
  285|       |#elif defined(_AIX)
  286|       |    struct __pthrdsinfo buf;
  287|       |    int reg_size = 0;
  288|       |    pthread_t pt = pthread_self();
  289|       |    int retval = pthread_getthrds_np(&pt, PTHRDSINFO_QUERY_TID, &buf, sizeof(buf), NULL, &reg_size);
  290|       |    int tid = (!retval) ? buf.__pi_tid : 0;
  291|       |    return static_cast<size_t>(tid);
  292|       |#elif defined(__DragonFly__) || defined(__FreeBSD__)
  293|       |    return static_cast<size_t>(::pthread_getthreadid_np());
  294|       |#elif defined(__NetBSD__)
  295|       |    return static_cast<size_t>(::_lwp_self());
  296|       |#elif defined(__OpenBSD__)
  297|       |    return static_cast<size_t>(::getthrid());
  298|       |#elif defined(__sun)
  299|       |    return static_cast<size_t>(::thr_self());
  300|       |#elif __APPLE__
  301|       |    uint64_t tid;
  302|       |// There is no pthread_threadid_np prior to Mac OS X 10.6, and it is not supported on any PPC,
  303|       |// including 10.6.8 Rosetta. __POWERPC__ is Apple-specific define encompassing ppc and ppc64.
  304|       |#ifdef MAC_OS_X_VERSION_MAX_ALLOWED
  305|       |    {
  306|       |#if (MAC_OS_X_VERSION_MAX_ALLOWED < 1060) || defined(__POWERPC__)
  307|       |        tid = pthread_mach_thread_np(pthread_self());
  308|       |#elif MAC_OS_X_VERSION_MIN_REQUIRED < 1060
  309|       |        if (&pthread_threadid_np) {
  310|       |            pthread_threadid_np(nullptr, &tid);
  311|       |        } else {
  312|       |            tid = pthread_mach_thread_np(pthread_self());
  313|       |        }
  314|       |#else
  315|       |        pthread_threadid_np(nullptr, &tid);
  316|       |#endif
  317|       |    }
  318|       |#else
  319|       |    pthread_threadid_np(nullptr, &tid);
  320|       |#endif
  321|       |    return static_cast<size_t>(tid);
  322|       |#else  // Default to standard C++11 (other Unix)
  323|       |    return static_cast<size_t>(std::hash<std::thread::id>()(std::this_thread::get_id()));
  324|       |#endif
  325|      1|}

_ZN6spdlog7details8registry8instanceEv:
  241|  35.9k|SPDLOG_INLINE registry &registry::instance() {
  242|  35.9k|    static registry s_instance;
  243|  35.9k|    return s_instance;
  244|  35.9k|}
_ZN6spdlog7details8registryC2Ev:
   34|      1|    : formatter_(new pattern_formatter()) {
   35|      1|#ifndef SPDLOG_DISABLE_DEFAULT_LOGGER
   36|       |// create default logger (ansicolor_stdout_sink_mt or wincolor_stdout_sink_mt in windows).
   37|       |#ifdef _WIN32
   38|       |    auto color_sink = std::make_shared<sinks::wincolor_stdout_sink_mt>();
   39|       |#else
   40|      1|    auto color_sink = std::make_shared<sinks::ansicolor_stdout_sink_mt>();
   41|      1|#endif
   42|       |
   43|      1|    const char *default_logger_name = "";
   44|      1|    default_logger_ = std::make_shared<logger>(default_logger_name, std::move(color_sink));
   45|      1|    loggers_[default_logger_name] = default_logger_;
   46|       |
   47|      1|#endif  // SPDLOG_DISABLE_DEFAULT_LOGGER
   48|      1|}
_ZN6spdlog7details8registryD2Ev:
   50|      1|SPDLOG_INLINE registry::~registry() = default;
_ZN6spdlog7details8registry18set_default_loggerENSt3__110shared_ptrINS_6loggerEEE:
  105|      1|SPDLOG_INLINE void registry::set_default_logger(std::shared_ptr<logger> new_default_logger) {
  106|      1|    std::lock_guard<std::mutex> lock(logger_map_mutex_);
  107|      1|    if (new_default_logger != nullptr) {
  ------------------
  |  Branch (107:9): [True: 1, False: 0]
  ------------------
  108|      1|        loggers_[new_default_logger->name()] = new_default_logger;
  109|      1|    }
  110|      1|    default_logger_ = std::move(new_default_logger);
  111|      1|}
_ZN6spdlog7details8registry15get_default_rawEv:
  101|  35.9k|SPDLOG_INLINE logger *registry::get_default_raw() { return default_logger_.get(); }
_ZN6spdlog7details8registry17initialize_loggerENSt3__110shared_ptrINS_6loggerEEE:
   62|      1|SPDLOG_INLINE void registry::initialize_logger(std::shared_ptr<logger> new_logger) {
   63|      1|    std::lock_guard<std::mutex> lock(logger_map_mutex_);
   64|      1|    new_logger->set_formatter(formatter_->clone());
   65|       |
   66|      1|    if (err_handler_) {
  ------------------
  |  Branch (66:9): [True: 0, False: 1]
  ------------------
   67|      0|        new_logger->set_error_handler(err_handler_);
   68|      0|    }
   69|       |
   70|       |    // set new level according to previously configured level or default level
   71|      1|    auto it = log_levels_.find(new_logger->name());
   72|      1|    auto new_level = it != log_levels_.end() ? it->second : global_log_level_;
  ------------------
  |  Branch (72:22): [True: 0, False: 1]
  ------------------
   73|      1|    new_logger->set_level(new_level);
   74|       |
   75|      1|    new_logger->flush_on(flush_level_);
   76|       |
   77|      1|    if (backtrace_n_messages_ > 0) {
  ------------------
  |  Branch (77:9): [True: 0, False: 1]
  ------------------
   78|      0|        new_logger->enable_backtrace(backtrace_n_messages_);
   79|      0|    }
   80|       |
   81|      1|    if (automatic_registration_) {
  ------------------
  |  Branch (81:9): [True: 1, False: 0]
  ------------------
   82|      1|        register_logger_(std::move(new_logger));
   83|      1|    }
   84|      1|}
_ZN6spdlog7details8registry16register_logger_ENSt3__110shared_ptrINS_6loggerEEE:
  259|      1|SPDLOG_INLINE void registry::register_logger_(std::shared_ptr<logger> new_logger) {
  260|      1|    const auto &logger_name = new_logger->name();
  261|      1|    throw_if_exists_(logger_name);
  262|      1|    loggers_[logger_name] = std::move(new_logger);
  263|      1|}
_ZN6spdlog7details8registry16throw_if_exists_ERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  253|      1|SPDLOG_INLINE void registry::throw_if_exists_(const std::string &logger_name) {
  254|      1|    if (loggers_.find(logger_name) != loggers_.end()) {
  ------------------
  |  Branch (254:9): [True: 0, False: 1]
  ------------------
  255|      0|        throw_spdlog_ex("logger with name '" + logger_name + "' already exists");
  256|      0|    }
  257|      1|}

_ZN6spdlog19synchronous_factory6createINS_5sinks15basic_file_sinkINSt3__15mutexEEEJRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEERbRKNS_19file_event_handlersERmEEENS4_10shared_ptrINS_6loggerEEESC_DpOT0_:
   15|      1|    static std::shared_ptr<logger> create(std::string logger_name, SinkArgs &&...args) {
   16|      1|        auto sink = std::make_shared<Sink>(std::forward<SinkArgs>(args)...);
   17|      1|        auto new_logger = std::make_shared<logger>(std::move(logger_name), std::move(sink));
   18|      1|        details::registry::instance().initialize_logger(new_logger);
   19|      1|        return new_logger;
   20|      1|    }

_ZN3fmt3v126detail13ignore_unusedIJbEEEvDpRKT_:
  361|  34.8k|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZNK3fmt3v126detail6bufferIcE8capacityEv:
 1818|  96.1k|  constexpr auto capacity() const noexcept -> size_t { return capacity_; }
_ZN3fmt3v126detail6bufferIcE4dataEv:
 1821|   165k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZNK3fmt3v126detail6bufferIcE4sizeEv:
 1815|  97.8M|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIcEC2EPFvRS3_mEPcmm:
 1790|  97.5M|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIcE3setEPcm:
 1796|  96.6k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1797|  96.6k|    ptr_ = buf_data;
 1798|  96.6k|    capacity_ = buf_capacity;
 1799|  96.6k|  }
_ZNK3fmt3v1217basic_string_viewIcE4dataEv:
  564|   228M|  constexpr auto data() const noexcept -> const Char* { return data_; }
_ZN3fmt3v126detail6bufferIcE6appendIcEEvPKT_S7_:
 1855|  1.08G|      append(const U* begin, const U* end) {
 1856|  2.10G|    while (begin != end) {
  ------------------
  |  Branch (1856:12): [True: 1.01G, False: 1.08G]
  ------------------
 1857|  1.01G|      auto size = size_;
 1858|  1.01G|      auto free_cap = capacity_ - size;
 1859|  1.01G|      auto count = to_unsigned(end - begin);
 1860|  1.01G|      if (free_cap < count) {
  ------------------
  |  Branch (1860:11): [True: 13.6k, False: 1.01G]
  ------------------
 1861|  13.6k|        grow_(*this, size + count);
 1862|  13.6k|        size = size_;
 1863|  13.6k|        free_cap = capacity_ - size;
 1864|  13.6k|        count = count < free_cap ? count : free_cap;
  ------------------
  |  Branch (1864:17): [True: 10.3k, False: 3.31k]
  ------------------
 1865|  13.6k|      }
 1866|       |      // A loop is faster than memcpy on small sizes.
 1867|  1.01G|      T* out = ptr_ + size;
 1868|  25.6G|      for (size_t i = 0; i < count; ++i) out[i] = begin[i];
  ------------------
  |  Branch (1868:26): [True: 24.6G, False: 1.01G]
  ------------------
 1869|  1.01G|      size_ += count;
 1870|  1.01G|      begin += count;
 1871|  1.01G|    }
 1872|  1.08G|  }
_ZN3fmt3v126detail11to_unsignedIlEENSt3__113make_unsignedIT_E4typeES5_:
  439|  1.78G|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  440|  1.78G|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  395|  3.57G|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [Folded, False: 1.78G]
  |  |  |  Branch (395:7): [True: 1.78G, False: 0]
  |  |  ------------------
  |  |  396|  1.78G|         ? (void)0                                                          \
  |  |  397|  1.78G|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  441|  1.78G|  return static_cast<make_unsigned_t<Int>>(value);
  442|  1.78G|}
_ZNK3fmt3v1217basic_string_viewIcE4sizeEv:
  567|   551M|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v1217basic_string_viewIcEC2INSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEETnNS4_9enable_ifIXaasr6detail18is_std_string_likeIT_EE5valuesr3std7is_sameINSC_10value_typeEcEE5valueEiE4typeELi0EEERKSC_:
  561|  44.2k|      : data_(s.data()), size_(s.size()) {}
_ZN3fmt3v1217basic_string_viewIcEC2EPKc:
  543|  60.9k|  FMT_CONSTEXPR20 basic_string_view(const Char* s) : data_(s) {
  544|  60.9k|#if FMT_HAS_BUILTIN(__builtin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION
  545|  60.9k|    if (std::is_same<Char, char>::value && !detail::is_constant_evaluated()) {
  ------------------
  |  Branch (545:9): [True: 0, Folded]
  |  Branch (545:44): [True: 0, Folded]
  ------------------
  546|  60.9k|      size_ = __builtin_strlen(detail::narrow(s));  // strlen is not constexpr.
  547|  60.9k|      return;
  548|  60.9k|    }
  549|      0|#endif
  550|      0|    size_t len = 0;
  551|      0|    while (*s++) ++len;
  ------------------
  |  Branch (551:12): [True: 0, False: 0]
  ------------------
  552|      0|    size_ = len;
  553|      0|  }
_ZN3fmt3v126detail6narrowEPKc:
  469|  60.9k|constexpr FMT_ALWAYS_INLINE auto narrow(const char* s) -> const char* {
  470|  60.9k|  return s;
  471|  60.9k|}
_ZN3fmt3v126detail6bufferIcE5clearEv:
 1825|    325|  FMT_CONSTEXPR void clear() { size_ = 0; }
_ZN3fmt3v126detail6bufferIcE9push_backERKc:
 1842|  84.1G|  FMT_CONSTEXPR void push_back(const T& value) {
 1843|  84.1G|    try_reserve(size_ + 1);
 1844|  84.1G|    ptr_[size_++] = value;
 1845|  84.1G|  }
_ZN3fmt3v126detail6bufferIcE11try_reserveEm:
 1838|  84.1G|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1839|  84.1G|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1839:9): [True: 21.1k, False: 84.1G]
  ------------------
 1840|  84.1G|  }
_ZN3fmt3v126detail11to_unsignedIiEENSt3__113make_unsignedIT_E4typeES5_:
  439|  95.9M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  440|  95.9M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  395|   191M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [Folded, False: 95.9M]
  |  |  |  Branch (395:7): [True: 95.9M, False: 0]
  |  |  ------------------
  |  |  396|  95.9M|         ? (void)0                                                          \
  |  |  397|  95.9M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  441|  95.9M|  return static_cast<make_unsigned_t<Int>>(value);
  442|  95.9M|}
_ZN3fmt3v1214basic_appenderIcEC2ERNS0_6detail6bufferIcEE:
 2491|  97.5M|  FMT_CONSTEXPR basic_appender(detail::buffer<T>& buf) : container(&buf) {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE3getEi:
 2646|   206k|  FMT_CONSTEXPR auto get(int id) const -> format_arg {
 2647|   206k|    auto arg = format_arg();
 2648|   206k|    if (!is_packed()) {
  ------------------
  |  Branch (2648:9): [True: 0, False: 206k]
  ------------------
 2649|      0|      if (id < max_size()) arg = args_[id];
  ------------------
  |  Branch (2649:11): [True: 0, False: 0]
  ------------------
 2650|      0|      return arg;
 2651|      0|    }
 2652|   206k|    if (static_cast<unsigned>(id) >= detail::max_packed_args) return arg;
  ------------------
  |  Branch (2652:9): [True: 616, False: 206k]
  ------------------
 2653|   206k|    arg.type_ = type(id);
 2654|   206k|    if (arg.type_ != detail::type::none_type) arg.value_ = values_[id];
  ------------------
  |  Branch (2654:9): [True: 205k, False: 352]
  ------------------
 2655|   206k|    return arg;
 2656|   206k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2Ev:
 2526|   206k|  constexpr basic_format_arg() : type_(detail::type::none_type) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ev:
 2201|   206k|  constexpr FMT_INLINE value() : no_value() {}
_ZN3fmt3v129monostateC2Ev:
  335|   207k|  constexpr monostate() {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE9is_packedEv:
 2602|   206k|  constexpr auto is_packed() const -> bool {
 2603|   206k|    return (desc_ & detail::is_unpacked_bit) == 0;
 2604|   206k|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE4typeEi:
 2609|   206k|  FMT_CONSTEXPR auto type(int index) const -> detail::type {
 2610|   206k|    int shift = index * detail::packed_arg_bits;
 2611|   206k|    unsigned mask = (1 << detail::packed_arg_bits) - 1;
 2612|   206k|    return static_cast<detail::type>((desc_ >> shift) & mask);
 2613|   206k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail21default_arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2544|  57.8k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|  57.8k|    using detail::map;
 2546|  57.8k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 57.8k, False: 0]
  ------------------
 2547|    312|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 312, False: 57.4k]
  ------------------
 2548|  10.5k|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 10.5k, False: 47.2k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 57.8k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 57.8k]
  ------------------
 2551|  21.8k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 21.8k, False: 35.9k]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 57.8k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 57.8k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 57.8k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 57.8k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 57.8k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 57.8k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 57.8k]
  ------------------
 2559|  21.0k|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 21.0k, False: 36.7k]
  ------------------
 2560|  4.10k|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 4.10k, False: 53.7k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 57.8k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 57.8k]
  ------------------
 2563|  57.8k|    }
 2564|    312|    return vis(monostate());
 2565|  57.8k|  }
_ZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_:
  503|  1.08G|    typename OutputIt::container_type& {
  504|  1.08G|  struct accessor : OutputIt {
  505|  1.08G|    FMT_CONSTEXPR20 accessor(OutputIt base) : OutputIt(base) {}
  506|  1.08G|    using OutputIt::container;
  507|  1.08G|  };
  508|  1.08G|  return *accessor(it).container;
  509|  1.08G|}
_ZZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_EN8accessorC2ES4_:
  505|  1.08G|    FMT_CONSTEXPR20 accessor(OutputIt base) : OutputIt(base) {}
_ZN3fmt3v126detail6bufferIcE10try_resizeEm:
 1829|  46.7k|  FMT_CONSTEXPR void try_resize(size_t count) {
 1830|  46.7k|    try_reserve(count);
 1831|  46.7k|    size_ = min_of(count, capacity_);
 1832|  46.7k|  }
_ZN3fmt3v126min_ofImEET_S2_S2_:
  347|  46.7k|template <typename T> constexpr auto min_of(T a, T b) -> T {
  348|  46.7k|  return a < b ? a : b;
  ------------------
  |  Branch (348:10): [True: 46.7k, False: 24]
  ------------------
  349|  46.7k|}
_ZN3fmt3v1214basic_appenderIcEppEi:
 2499|  84.1G|  FMT_CONSTEXPR20 auto operator++(int) -> basic_appender { return *this; }
_ZN3fmt3v1214basic_appenderIcEdeEv:
 2497|  84.1G|  FMT_CONSTEXPR20 auto operator*() -> basic_appender& { return *this; }
_ZN3fmt3v1214basic_appenderIcEaSEc:
 2493|  84.1G|  FMT_CONSTEXPR20 auto operator=(T c) -> basic_appender& {
 2494|  84.1G|    container->push_back(c);
 2495|  84.1G|    return *this;
 2496|  84.1G|  }
_ZN3fmt3v126detail4copyIcPcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaasr23is_back_insert_iteratorIT1_EE5valuesr41has_back_insert_iterator_container_appendIS8_T0_EE5valueEiE4typeELi0EEES8_S9_S9_S8_:
 2084|   135M|    -> OutputIt {
 2085|   135M|  get_container(out).append(begin, end);
 2086|   135M|  return out;
 2087|   135M|}
_ZNK3fmt3v1211basic_specs4typeEv:
  744|   150k|  constexpr auto type() const -> presentation_type {
  745|   150k|    return static_cast<presentation_type>(data_ & type_mask);
  746|   150k|  }
_ZNK3fmt3v1211basic_specs9localizedEv:
  792|  77.2k|  constexpr auto localized() const -> bool {
  793|  77.2k|    return (data_ & localized_mask) != 0;
  794|  77.2k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitIRNS0_6detail10loc_writerIcEEEEDTclfp_Li0EEEOT_:
 2544|  14.7k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|  14.7k|    using detail::map;
 2546|  14.7k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 14.7k, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 14.7k]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 14.7k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 14.7k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 14.7k]
  ------------------
 2551|  14.7k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 14.7k, False: 0]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 14.7k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 14.7k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 14.7k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 14.7k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 14.7k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 14.7k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 14.7k]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 14.7k]
  ------------------
 2560|      0|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 0, False: 14.7k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 14.7k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 14.7k]
  ------------------
 2563|  14.7k|    }
 2564|      0|    return vis(monostate());
 2565|  14.7k|  }
_ZNK3fmt3v1211basic_specs3altEv:
  788|  33.2k|  constexpr auto alt() const -> bool { return (data_ & alternate_mask) != 0; }
_ZNK3fmt3v1211basic_specs5upperEv:
  785|  27.4k|  constexpr auto upper() const -> bool { return (data_ & uppercase_mask) != 0; }
_ZNK3fmt3v1211basic_specs5alignEv:
  751|   145k|  constexpr auto align() const -> align {
  752|   145k|    return static_cast<fmt::align>((data_ & align_mask) >> align_shift);
  753|   145k|  }
_ZNK3fmt3v1211basic_specs9fill_sizeEv:
  797|   138k|  constexpr auto fill_size() const -> size_t {
  798|   138k|    return (data_ & fill_size_mask) >> fill_size_shift;
  799|   138k|  }
_ZNK3fmt3v1211basic_specs9fill_unitIcEET_v:
  810|  35.0k|  template <typename Char> constexpr auto fill_unit() const -> Char {
  811|  35.0k|    using uchar = unsigned char;
  812|  35.0k|    return static_cast<Char>(static_cast<uchar>(fill_data_[0]) |
  813|  35.0k|                             (static_cast<uchar>(fill_data_[1]) << 8) |
  814|  35.0k|                             (static_cast<uchar>(fill_data_[2]) << 16));
  815|  35.0k|  }
_ZNK3fmt3v1211basic_specs4fillIcTnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEEPKS5_v:
  802|  2.24k|  constexpr auto fill() const -> const Char* {
  803|  2.24k|    return fill_data_;
  804|  2.24k|  }
_ZN3fmt3v126detail4copyIcPKcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaasr23is_back_insert_iteratorIT1_EE5valuesr41has_back_insert_iterator_container_appendIS9_T0_EE5valueEiE4typeELi0EEES9_SA_SA_S9_:
 2084|   946M|    -> OutputIt {
 2085|   946M|  get_container(out).append(begin, end);
 2086|   946M|  return out;
 2087|   946M|}
_ZN3fmt3v126detail11to_unsignedImEENSt3__113make_unsignedIT_E4typeES5_:
  439|   286M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  440|   286M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  395|   286M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [True: 286M, Folded]
  |  |  |  Branch (395:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  396|   286M|         ? (void)0                                                          \
  |  |  397|   286M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  441|   286M|  return static_cast<make_unsigned_t<Int>>(value);
  442|   286M|}
_ZN3fmt3v1217basic_string_viewIcEC2EPKcm:
  535|   862M|      : data_(s), size_(count) {}
_ZNK3fmt3v1217basic_string_viewIcE5beginEv:
  569|   415M|  constexpr auto begin() const noexcept -> iterator { return data_; }
_ZNK3fmt3v1217basic_string_viewIcE3endEv:
  570|   665M|  constexpr auto end() const noexcept -> iterator { return data_ + size_; }
_ZN3fmt3v126detail6bufferIiE4dataEv:
 1821|  14.4k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail6bufferIiEC2EPFvRS3_mEPimm:
 1790|  14.4k|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIiE3setEPim:
 1796|  14.4k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1797|  14.4k|    ptr_ = buf_data;
 1798|  14.4k|    capacity_ = buf_capacity;
 1799|  14.4k|  }
_ZN3fmt3v126detail6bufferIiE9push_backERKi:
 1842|  14.4k|  FMT_CONSTEXPR void push_back(const T& value) {
 1843|  14.4k|    try_reserve(size_ + 1);
 1844|  14.4k|    ptr_[size_++] = value;
 1845|  14.4k|  }
_ZN3fmt3v126detail6bufferIiE11try_reserveEm:
 1838|  14.4k|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1839|  14.4k|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1839:9): [True: 0, False: 14.4k]
  ------------------
 1840|  14.4k|  }
_ZNK3fmt3v126detail6bufferIiE4sizeEv:
 1815|  14.4k|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIiEixIiEERiT_:
 1874|   276k|  template <typename Idx> FMT_CONSTEXPR auto operator[](Idx index) -> T& {
 1875|   276k|    return ptr_[index];
 1876|   276k|  }
_ZNK3fmt3v1217basic_string_viewIcEixEm:
  572|   292k|  constexpr auto operator[](size_t pos) const noexcept -> const Char& {
  573|   292k|    return data_[pos];
  574|   292k|  }
_ZNK3fmt3v1211basic_specs4signEv:
  778|  77.2k|  constexpr auto sign() const -> sign {
  779|  77.2k|    return static_cast<fmt::sign>((data_ & sign_mask) >> sign_shift);
  780|  77.2k|  }
_ZN3fmt3v1212format_specsC2Ev:
  850|   143k|  constexpr format_specs() : width(0), precision(-1) {}
_ZN3fmt3v1211basic_specs8set_fillEc:
  817|  9.94k|  FMT_CONSTEXPR void set_fill(char c) {
  818|  9.94k|    fill_data_[0] = c;
  819|  9.94k|    set_fill_size(1);
  820|  9.94k|  }
_ZN3fmt3v1211basic_specs13set_fill_sizeEm:
  738|  23.9k|  FMT_CONSTEXPR void set_fill_size(size_t size) {
  739|  23.9k|    data_ = (data_ & ~fill_size_mask) |
  740|  23.9k|            (static_cast<unsigned>(size) << fill_size_shift);
  741|  23.9k|  }
_ZN3fmt3v1211basic_specs7set_altEv:
  789|  19.7k|  FMT_CONSTEXPR void set_alt() { data_ |= alternate_mask; }
_ZNK3fmt3v126detail12string_valueIcE3strEv:
 2155|  65.3k|  auto str() const -> basic_string_view<Char> { return {data, size}; }
_ZN3fmt3v126detail19parse_format_stringIcNS1_14format_handlerIcEEEEvNS0_17basic_string_viewIT_EEOT0_:
 1657|  38.8k|                                       Handler&& handler) {
 1658|  38.8k|  auto begin = fmt.data(), end = begin + fmt.size();
 1659|  38.8k|  auto p = begin;
 1660|  61.7M|  while (p != end) {
  ------------------
  |  Branch (1660:10): [True: 61.7M, False: 37.8k]
  ------------------
 1661|  61.7M|    auto c = *p++;
 1662|  61.7M|    if (c == '{') {
  ------------------
  |  Branch (1662:9): [True: 228k, False: 61.5M]
  ------------------
 1663|   228k|      handler.on_text(begin, p - 1);
 1664|   228k|      begin = p = parse_replacement_field(p - 1, end, handler);
 1665|  61.5M|    } else if (c == '}') {
  ------------------
  |  Branch (1665:16): [True: 6.43k, False: 61.5M]
  ------------------
 1666|  6.43k|      if (p == end || *p != '}')
  ------------------
  |  Branch (1666:11): [True: 112, False: 6.32k]
  |  Branch (1666:23): [True: 872, False: 5.44k]
  ------------------
 1667|    984|        return handler.on_error("unmatched '}' in format string");
 1668|  5.44k|      handler.on_text(begin, p);
 1669|  5.44k|      begin = ++p;
 1670|  5.44k|    }
 1671|  61.7M|  }
 1672|  37.8k|  handler.on_text(begin, end);
 1673|  37.8k|}
_ZNK3fmt3v127context3outEv:
 2713|   469k|  FMT_CONSTEXPR auto out() const -> iterator { return out_; }
_ZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_:
 1612|   228k|    -> const Char* {
 1613|   228k|  ++begin;
 1614|   228k|  if (begin == end) {
  ------------------
  |  Branch (1614:7): [True: 536, False: 227k]
  ------------------
 1615|    536|    handler.on_error("invalid format string");
 1616|    536|    return end;
 1617|    536|  }
 1618|   227k|  int arg_id = 0;
 1619|   227k|  switch (*begin) {
 1620|  33.7k|  case '}':
  ------------------
  |  Branch (1620:3): [True: 33.7k, False: 193k]
  ------------------
 1621|  33.7k|    handler.on_replacement_field(handler.on_arg_id(), begin);
 1622|  33.7k|    return begin + 1;
 1623|  22.7k|  case '{': handler.on_text(begin, begin + 1); return begin + 1;
  ------------------
  |  Branch (1623:3): [True: 22.7k, False: 204k]
  ------------------
 1624|  12.2k|  case ':': arg_id = handler.on_arg_id(); break;
  ------------------
  |  Branch (1624:3): [True: 12.2k, False: 215k]
  ------------------
 1625|   158k|  default:  {
  ------------------
  |  Branch (1625:3): [True: 158k, False: 68.8k]
  ------------------
 1626|   158k|    struct id_adapter {
 1627|   158k|      Handler& handler;
 1628|   158k|      int arg_id;
 1629|       |
 1630|   158k|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
 1631|   158k|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1632|   158k|        arg_id = handler.on_arg_id(id);
 1633|   158k|      }
 1634|   158k|    } adapter = {handler, 0};
 1635|   158k|    begin = parse_arg_id(begin, end, adapter);
 1636|   158k|    arg_id = adapter.arg_id;
 1637|   158k|    Char c = begin != end ? *begin : Char();
  ------------------
  |  Branch (1637:14): [True: 155k, False: 3.36k]
  ------------------
 1638|   158k|    if (c == '}') {
  ------------------
  |  Branch (1638:9): [True: 23.6k, False: 135k]
  ------------------
 1639|  23.6k|      handler.on_replacement_field(arg_id, begin);
 1640|  23.6k|      return begin + 1;
 1641|  23.6k|    }
 1642|   135k|    if (c != ':') {
  ------------------
  |  Branch (1642:9): [True: 0, False: 135k]
  ------------------
 1643|      0|      handler.on_error("missing '}' in format string");
 1644|      0|      return end;
 1645|      0|    }
 1646|   135k|    break;
 1647|   135k|  }
 1648|   227k|  }
 1649|   143k|  begin = handler.on_format_specs(arg_id, begin + 1, end);
 1650|   143k|  if (begin == end || *begin != '}')
  ------------------
  |  Branch (1650:7): [True: 13.0k, False: 130k]
  |  Branch (1650:23): [True: 2.44k, False: 128k]
  ------------------
 1651|  10.3k|    return handler.on_error("unknown format specifier"), end;
 1652|   133k|  return begin + 1;
 1653|   143k|}
_ZNK3fmt3v127context3argEi:
 2703|   206k|  FMT_CONSTEXPR auto arg(int id) const -> format_arg { return args_.get(id); }
_ZN3fmt3v1213parse_contextIcE11next_arg_idEv:
  888|  48.5k|  FMT_CONSTEXPR auto next_arg_id() -> int {
  889|  48.5k|    if (next_arg_id_ < 0) {
  ------------------
  |  Branch (889:9): [True: 368, False: 48.1k]
  ------------------
  890|    368|      report_error("cannot switch from manual to automatic argument indexing");
  891|    368|      return 0;
  892|    368|    }
  893|  48.1k|    int id = next_arg_id_++;
  894|  48.1k|    do_check_arg_id(id);
  895|  48.1k|    return id;
  896|  48.5k|  }
_ZN3fmt3v1213parse_contextIcE15do_check_arg_idEi:
 2464|   206k|FMT_CONSTEXPR void parse_context<Char>::do_check_arg_id(int arg_id) {
 2465|       |  // Argument id is only checked at compile time during parsing because
 2466|       |  // formatting has its own validation.
 2467|   206k|  if (detail::is_constant_evaluated() && use_constexpr_cast) {
  ------------------
  |  Branch (2467:7): [Folded, False: 206k]
  |  Branch (2467:42): [True: 0, Folded]
  ------------------
 2468|      0|    auto ctx = static_cast<detail::compile_parse_context<Char>*>(this);
 2469|      0|    if (arg_id >= ctx->num_args()) report_error("argument not found");
  ------------------
  |  Branch (2469:9): [True: 0, False: 0]
  ------------------
 2470|      0|  }
 2471|   206k|}
_ZN3fmt3v126detail12parse_arg_idIcRZNS1_23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S9_S9_OT0_E10id_adapterEES9_S9_S9_SB_:
 1359|   158k|                                Handler&& handler) -> const Char* {
 1360|   158k|  Char c = *begin;
 1361|   158k|  if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (1361:7): [True: 158k, False: 528]
  |  Branch (1361:19): [True: 156k, False: 1.18k]
  ------------------
 1362|   156k|    int index = 0;
 1363|   156k|    if (c != '0')
  ------------------
  |  Branch (1363:9): [True: 96.6k, False: 60.3k]
  ------------------
 1364|  96.6k|      index = parse_nonnegative_int(begin, end, INT_MAX);
 1365|  60.3k|    else
 1366|  60.3k|      ++begin;
 1367|   156k|    if (begin == end || (*begin != '}' && *begin != ':'))
  ------------------
  |  Branch (1367:9): [True: 584, False: 156k]
  |  Branch (1367:26): [True: 132k, False: 23.6k]
  |  Branch (1367:43): [True: 968, False: 131k]
  ------------------
 1368|  1.55k|      report_error("invalid format string");
 1369|   155k|    else
 1370|   155k|      handler.on_index(index);
 1371|   156k|    return begin;
 1372|   156k|  }
 1373|  1.71k|  if (FMT_OPTIMIZE_SIZE > 1 || !is_name_start(c)) {
  ------------------
  |  |  290|  1.71k|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1373:7): [Folded, False: 1.71k]
  |  Branch (1373:32): [True: 896, False: 816]
  ------------------
 1374|    896|    report_error("invalid format string");
 1375|    896|    return begin;
 1376|    896|  }
 1377|    816|  auto it = begin;
 1378|  24.0M|  do {
 1379|  24.0M|    ++it;
 1380|  24.0M|  } while (it != end && (is_name_start(*it) || ('0' <= *it && *it <= '9')));
  ------------------
  |  Branch (1380:12): [True: 24.0M, False: 368]
  |  Branch (1380:26): [True: 24.0M, False: 2.45k]
  |  Branch (1380:49): [True: 2.25k, False: 200]
  |  Branch (1380:63): [True: 2.00k, False: 248]
  ------------------
 1381|    816|  handler.on_name({begin, to_unsigned(it - begin)});
 1382|    816|  return it;
 1383|  1.71k|}
_ZN3fmt3v126detail21parse_nonnegative_intIcEEiRPKT_S5_i:
 1323|   187k|                                         int error_value) noexcept -> int {
 1324|   187k|  FMT_ASSERT(begin != end && '0' <= *begin && *begin <= '9', "");
  ------------------
  |  |  395|   750k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [True: 187k, False: 0]
  |  |  |  Branch (395:7): [True: 187k, False: 0]
  |  |  |  Branch (395:7): [True: 187k, False: 0]
  |  |  ------------------
  |  |  396|   187k|         ? (void)0                                                          \
  |  |  397|   187k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1325|   187k|  unsigned value = 0, prev = 0;
 1326|   187k|  auto p = begin;
 1327|   275k|  do {
 1328|   275k|    prev = value;
 1329|   275k|    value = value * 10 + unsigned(*p - '0');
 1330|   275k|    ++p;
 1331|   275k|  } while (p != end && '0' <= *p && *p <= '9');
  ------------------
  |  Branch (1331:12): [True: 272k, False: 3.11k]
  |  Branch (1331:24): [True: 267k, False: 5.81k]
  |  Branch (1331:37): [True: 88.3k, False: 178k]
  ------------------
 1332|   187k|  auto num_digits = p - begin;
 1333|   187k|  begin = p;
 1334|   187k|  int digits10 = static_cast<int>(sizeof(int) * CHAR_BIT * 3 / 10);
 1335|   187k|  if (num_digits <= digits10) return static_cast<int>(value);
  ------------------
  |  Branch (1335:7): [True: 185k, False: 1.61k]
  ------------------
 1336|       |  // Check for overflow.
 1337|  1.61k|  unsigned max = INT_MAX;
 1338|  1.61k|  return num_digits == digits10 + 1 &&
  ------------------
  |  Branch (1338:10): [True: 1.43k, False: 184]
  ------------------
 1339|  1.43k|                 prev * 10ull + unsigned(p[-1] - '0') <= max
  ------------------
  |  Branch (1339:18): [True: 1.05k, False: 376]
  ------------------
 1340|  1.61k|             ? static_cast<int>(value)
 1341|  1.61k|             : error_value;
 1342|   187k|}
_ZZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_EN10id_adapter8on_indexEi:
 1630|   155k|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
_ZN3fmt3v1213parse_contextIcE12check_arg_idEi:
  900|   158k|  FMT_CONSTEXPR void check_arg_id(int id) {
  901|   158k|    if (next_arg_id_ > 0) {
  ------------------
  |  Branch (901:9): [True: 144, False: 158k]
  ------------------
  902|    144|      report_error("cannot switch from automatic to manual argument indexing");
  903|    144|      return;
  904|    144|    }
  905|   158k|    next_arg_id_ = -1;
  906|   158k|    do_check_arg_id(id);
  907|   158k|  }
_ZN3fmt3v126detail13is_name_startIcEEbT_:
 1353|  38.6M|template <typename Char> constexpr auto is_name_start(Char c) -> bool {
 1354|  38.6M|  return ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '_';
  ------------------
  |  Branch (1354:11): [True: 38.6M, False: 46.0k]
  |  Branch (1354:23): [True: 38.6M, False: 288]
  |  Branch (1354:37): [True: 41.5k, False: 4.77k]
  |  Branch (1354:49): [True: 34.2k, False: 7.28k]
  |  Branch (1354:62): [True: 6.76k, False: 5.30k]
  ------------------
 1355|  38.6M|}
_ZZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_EN10id_adapter7on_nameENS0_17basic_string_viewIcEE:
 1631|    816|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1632|    816|        arg_id = handler.on_arg_id(id);
 1633|    816|      }
_ZN3fmt3v1213parse_contextIcE12check_arg_idENS0_17basic_string_viewIcEE:
  908|  1.57k|  FMT_CONSTEXPR void check_arg_id(basic_string_view<Char>) {
  909|  1.57k|    next_arg_id_ = -1;
  910|  1.57k|  }
_ZNK3fmt3v127context6arg_idENS0_17basic_string_viewIcEE:
 2707|    816|  FMT_CONSTEXPR auto arg_id(string_view name) const -> int {
 2708|    816|    return args_.get_id(name);
 2709|    816|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE6get_idIcEEiNS0_17basic_string_viewIT_EE:
 2665|    832|  FMT_CONSTEXPR auto get_id(basic_string_view<Char> name) const -> int {
 2666|    832|    if (!has_named_args()) return -1;
  ------------------
  |  Branch (2666:9): [True: 832, False: 0]
  ------------------
 2667|      0|    const auto& named_args =
 2668|      0|        (is_packed() ? values_[-1] : args_[-1].value_).named_args;
  ------------------
  |  Branch (2668:10): [True: 0, False: 0]
  ------------------
 2669|      0|    for (size_t i = 0; i < named_args.size; ++i) {
  ------------------
  |  Branch (2669:24): [True: 0, False: 0]
  ------------------
 2670|      0|      if (named_args.data[i].name == name) return named_args.data[i].id;
  ------------------
  |  Branch (2670:11): [True: 0, False: 0]
  ------------------
 2671|      0|    }
 2672|      0|    return -1;
 2673|      0|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE14has_named_argsEv:
 2605|    832|  constexpr auto has_named_args() const -> bool {
 2606|    832|    return (desc_ & detail::has_named_args_bit) != 0;
 2607|    832|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEEcvbEv:
 2533|   148k|  constexpr explicit operator bool() const noexcept {
 2534|   148k|    return type_ != detail::type::none_type;
 2535|   148k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEE13format_customEPKcRNS0_13parse_contextIcEERS2_:
 2569|   143k|      -> bool {
 2570|   143k|    if (type_ != detail::type::custom_type) return false;
  ------------------
  |  Branch (2570:9): [True: 143k, False: 0]
  ------------------
 2571|      0|    parse_ctx.advance_to(parse_begin);
 2572|      0|    value_.custom.format(value_.custom.value, parse_ctx, ctx);
 2573|      0|    return true;
 2574|   143k|  }
_ZN3fmt3v126detail7arg_refIcEC2Ei:
 1290|   291k|  FMT_CONSTEXPR arg_ref(int idx = 0) : index(idx) {}
_ZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeE:
 1474|   143k|    -> const Char* {
 1475|   143k|  auto c = '\0';
 1476|   143k|  if (end - begin > 1) {
  ------------------
  |  Branch (1476:7): [True: 139k, False: 4.10k]
  ------------------
 1477|   139k|    auto next = to_ascii(begin[1]);
 1478|   139k|    c = parse_align(next) == align::none ? to_ascii(*begin) : '\0';
  ------------------
  |  Branch (1478:9): [True: 126k, False: 12.2k]
  ------------------
 1479|   139k|  } else {
 1480|  4.10k|    if (begin == end) return begin;
  ------------------
  |  Branch (1480:9): [True: 1.33k, False: 2.76k]
  ------------------
 1481|  2.76k|    c = to_ascii(*begin);
 1482|  2.76k|  }
 1483|       |
 1484|   141k|  struct {
 1485|   141k|    state current_state = state::start;
 1486|   141k|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1487|   141k|      if (current_state >= s || !valid)
 1488|   141k|        report_error("invalid format specifier");
 1489|   141k|      current_state = s;
 1490|   141k|    }
 1491|   141k|  } enter_state;
 1492|       |
 1493|   141k|  using pres = presentation_type;
 1494|   141k|  constexpr auto integral_set = sint_set | uint_set | bool_set | char_set;
 1495|   141k|  struct {
 1496|   141k|    const Char*& begin;
 1497|   141k|    format_specs& specs;
 1498|   141k|    type arg_type;
 1499|       |
 1500|   141k|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1501|   141k|      if (!in(arg_type, set)) report_error("invalid format specifier");
 1502|   141k|      specs.set_type(pres_type);
 1503|   141k|      return begin + 1;
 1504|   141k|    }
 1505|   141k|  } parse_presentation_type{begin, specs, arg_type};
 1506|       |
 1507|   313k|  for (;;) {
 1508|   313k|    switch (c) {
 1509|  1.80k|    case '<':
  ------------------
  |  Branch (1509:5): [True: 1.80k, False: 311k]
  ------------------
 1510|  4.87k|    case '>':
  ------------------
  |  Branch (1510:5): [True: 3.06k, False: 310k]
  ------------------
 1511|  17.9k|    case '^':
  ------------------
  |  Branch (1511:5): [True: 13.0k, False: 300k]
  ------------------
 1512|  17.9k|      enter_state(state::align);
 1513|  17.9k|      specs.set_align(parse_align(c));
 1514|  17.9k|      ++begin;
 1515|  17.9k|      break;
 1516|     32|    case '+':
  ------------------
  |  Branch (1516:5): [True: 32, False: 313k]
  ------------------
 1517|     56|    case ' ':
  ------------------
  |  Branch (1517:5): [True: 24, False: 313k]
  ------------------
 1518|     56|      specs.set_sign(c == ' ' ? sign::space : sign::plus);
  ------------------
  |  Branch (1518:22): [True: 24, False: 32]
  ------------------
 1519|     56|      FMT_FALLTHROUGH;
  ------------------
  |  |  181|     56|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
 1520|     96|    case '-':
  ------------------
  |  Branch (1520:5): [True: 40, False: 313k]
  ------------------
 1521|     96|      enter_state(state::sign, in(arg_type, sint_set | float_set));
 1522|     96|      ++begin;
 1523|     96|      break;
 1524|  19.8k|    case '#':
  ------------------
  |  Branch (1524:5): [True: 19.8k, False: 293k]
  ------------------
 1525|  19.8k|      enter_state(state::hash, is_arithmetic_type(arg_type));
 1526|  19.8k|      specs.set_alt();
 1527|  19.8k|      ++begin;
 1528|  19.8k|      break;
 1529|  15.2k|    case '0':
  ------------------
  |  Branch (1529:5): [True: 15.2k, False: 298k]
  ------------------
 1530|  15.2k|      enter_state(state::zero);
 1531|  15.2k|      if (!is_arithmetic_type(arg_type))
  ------------------
  |  Branch (1531:11): [True: 64, False: 15.2k]
  ------------------
 1532|     64|        report_error("format specifier requires numeric argument");
 1533|  15.2k|      if (specs.align() == align::none) {
  ------------------
  |  Branch (1533:11): [True: 9.94k, False: 5.35k]
  ------------------
 1534|       |        // Ignore 0 if align is specified for compatibility with std::format.
 1535|  9.94k|        specs.set_align(align::numeric);
 1536|  9.94k|        specs.set_fill('0');
 1537|  9.94k|      }
 1538|  15.2k|      ++begin;
 1539|  15.2k|      break;
 1540|       |      // clang-format off
 1541|  55.6k|    case '1': case '2': case '3': case '4': case '5':
  ------------------
  |  Branch (1541:5): [True: 15.1k, False: 298k]
  |  Branch (1541:15): [True: 10.7k, False: 302k]
  |  Branch (1541:25): [True: 5.81k, False: 307k]
  |  Branch (1541:35): [True: 2.38k, False: 311k]
  |  Branch (1541:45): [True: 21.4k, False: 291k]
  ------------------
 1542|  84.3k|    case '6': case '7': case '8': case '9': case '{':
  ------------------
  |  Branch (1542:5): [True: 5.62k, False: 307k]
  |  Branch (1542:15): [True: 1.08k, False: 312k]
  |  Branch (1542:25): [True: 7.96k, False: 305k]
  |  Branch (1542:35): [True: 8.28k, False: 305k]
  |  Branch (1542:45): [True: 5.80k, False: 307k]
  ------------------
 1543|       |      // clang-format on
 1544|  84.3k|      enter_state(state::width);
 1545|  84.3k|      begin = parse_width(begin, end, specs, specs.width_ref, ctx);
 1546|  84.3k|      break;
 1547|  12.2k|    case '.':
  ------------------
  |  Branch (1547:5): [True: 12.2k, False: 301k]
  ------------------
 1548|  12.2k|      enter_state(state::precision,
 1549|  12.2k|                  in(arg_type, float_set | string_set | cstring_set));
 1550|  12.2k|      begin = parse_precision(begin, end, specs, specs.precision_ref, ctx);
 1551|  12.2k|      break;
 1552|  14.9k|    case 'L':
  ------------------
  |  Branch (1552:5): [True: 14.9k, False: 298k]
  ------------------
 1553|  14.9k|      enter_state(state::locale, is_arithmetic_type(arg_type));
 1554|  14.9k|      specs.set_localized();
 1555|  14.9k|      ++begin;
 1556|  14.9k|      break;
 1557|  7.84k|    case 'd': return parse_presentation_type(pres::dec, integral_set);
  ------------------
  |  Branch (1557:5): [True: 7.84k, False: 305k]
  ------------------
 1558|  4.02k|    case 'X': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|  4.02k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1558:5): [True: 4.02k, False: 309k]
  ------------------
 1559|  12.0k|    case 'x': return parse_presentation_type(pres::hex, integral_set);
  ------------------
  |  Branch (1559:5): [True: 8.00k, False: 305k]
  ------------------
 1560|  7.70k|    case 'o': return parse_presentation_type(pres::oct, integral_set);
  ------------------
  |  Branch (1560:5): [True: 7.70k, False: 305k]
  ------------------
 1561|  2.93k|    case 'B': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|  2.93k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1561:5): [True: 2.93k, False: 310k]
  ------------------
 1562|  13.6k|    case 'b': return parse_presentation_type(pres::bin, integral_set);
  ------------------
  |  Branch (1562:5): [True: 10.7k, False: 302k]
  ------------------
 1563|     24|    case 'E': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|     24|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1563:5): [True: 24, False: 313k]
  ------------------
 1564|     32|    case 'e': return parse_presentation_type(pres::exp, float_set);
  ------------------
  |  Branch (1564:5): [True: 8, False: 313k]
  ------------------
 1565|     32|    case 'F': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|     32|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1565:5): [True: 32, False: 313k]
  ------------------
 1566|    128|    case 'f': return parse_presentation_type(pres::fixed, float_set);
  ------------------
  |  Branch (1566:5): [True: 96, False: 313k]
  ------------------
 1567|     32|    case 'G': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|     32|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1567:5): [True: 32, False: 313k]
  ------------------
 1568|     40|    case 'g': return parse_presentation_type(pres::general, float_set);
  ------------------
  |  Branch (1568:5): [True: 8, False: 313k]
  ------------------
 1569|     72|    case 'A': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|     72|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1569:5): [True: 72, False: 313k]
  ------------------
 1570|     96|    case 'a': return parse_presentation_type(pres::hexfloat, float_set);
  ------------------
  |  Branch (1570:5): [True: 24, False: 313k]
  ------------------
 1571|  12.2k|    case 'c':
  ------------------
  |  Branch (1571:5): [True: 12.2k, False: 301k]
  ------------------
 1572|  12.2k|      if (arg_type == type::bool_type) report_error("invalid format specifier");
  ------------------
  |  Branch (1572:11): [True: 0, False: 12.2k]
  ------------------
 1573|  12.2k|      return parse_presentation_type(pres::chr, integral_set);
 1574|    616|    case 's':
  ------------------
  |  Branch (1574:5): [True: 616, False: 312k]
  ------------------
 1575|    616|      return parse_presentation_type(pres::string,
 1576|    616|                                     bool_set | string_set | cstring_set);
 1577|     32|    case 'p':
  ------------------
  |  Branch (1577:5): [True: 32, False: 313k]
  ------------------
 1578|     32|      return parse_presentation_type(pres::pointer, pointer_set | cstring_set);
 1579|  28.4k|    case '?':
  ------------------
  |  Branch (1579:5): [True: 28.4k, False: 284k]
  ------------------
 1580|  28.4k|      return parse_presentation_type(pres::debug,
 1581|  28.4k|                                     char_set | string_set | cstring_set);
 1582|  50.7k|    case '}': return begin;
  ------------------
  |  Branch (1582:5): [True: 50.7k, False: 262k]
  ------------------
 1583|  15.0k|    default:  {
  ------------------
  |  Branch (1583:5): [True: 15.0k, False: 298k]
  ------------------
 1584|  15.0k|      if (*begin == '}') return begin;
  ------------------
  |  Branch (1584:11): [True: 232, False: 14.8k]
  ------------------
 1585|       |      // Parse fill and alignment.
 1586|  14.8k|      auto fill_end = begin + code_point_length(begin);
 1587|  14.8k|      if (end - fill_end <= 0) {
  ------------------
  |  Branch (1587:11): [True: 248, False: 14.6k]
  ------------------
 1588|    248|        report_error("invalid format specifier");
 1589|    248|        return begin;
 1590|    248|      }
 1591|  14.6k|      if (*begin == '{') {
  ------------------
  |  Branch (1591:11): [True: 8, False: 14.6k]
  ------------------
 1592|      8|        report_error("invalid fill character '{'");
 1593|      8|        return begin;
 1594|      8|      }
 1595|  14.6k|      auto alignment = parse_align(to_ascii(*fill_end));
 1596|  14.6k|      enter_state(state::align, alignment != align::none);
 1597|  14.6k|      specs.set_fill(
 1598|  14.6k|          basic_string_view<Char>(begin, to_unsigned(fill_end - begin)));
 1599|  14.6k|      specs.set_align(alignment);
 1600|  14.6k|      begin = fill_end + 1;
 1601|  14.6k|    }
 1602|   313k|    }
 1603|   176k|    if (begin == end) return begin;
  ------------------
  |  Branch (1603:9): [True: 4.62k, False: 171k]
  ------------------
 1604|   171k|    c = to_ascii(*begin);
 1605|   171k|  }
 1606|   141k|}
_ZN3fmt3v126detail8to_asciiIcTnNSt3__19enable_ifIXsr3std11is_integralIT_EE5valueEiE4typeELi0EEEcS5_:
 1307|   454k|constexpr auto to_ascii(Char c) -> char {
 1308|   454k|  return c <= 0xff ? static_cast<char>(c) : '\0';
  ------------------
  |  Branch (1308:10): [True: 454k, False: 0]
  ------------------
 1309|   454k|}
_ZN3fmt3v126detail11parse_alignEc:
 1344|   171k|FMT_CONSTEXPR inline auto parse_align(char c) -> align {
 1345|   171k|  switch (c) {
  ------------------
  |  Branch (1345:11): [True: 44.1k, False: 127k]
  ------------------
 1346|  10.1k|  case '<': return align::left;
  ------------------
  |  Branch (1346:3): [True: 10.1k, False: 161k]
  ------------------
 1347|  12.1k|  case '>': return align::right;
  ------------------
  |  Branch (1347:3): [True: 12.1k, False: 159k]
  ------------------
 1348|  21.8k|  case '^': return align::center;
  ------------------
  |  Branch (1348:3): [True: 21.8k, False: 149k]
  ------------------
 1349|   171k|  }
 1350|   127k|  return align::none;
 1351|   171k|}
_ZZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeEENUt_clENS1_5stateEb:
 1486|   179k|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1487|   179k|      if (current_state >= s || !valid)
  ------------------
  |  Branch (1487:11): [True: 816, False: 178k]
  |  Branch (1487:33): [True: 384, False: 178k]
  ------------------
 1488|  1.20k|        report_error("invalid format specifier");
 1489|   179k|      current_state = s;
 1490|   179k|    }
_ZN3fmt3v1211basic_specs9set_alignENS0_5alignE:
  754|  41.7k|  FMT_CONSTEXPR void set_align(fmt::align a) {
  755|  41.7k|    data_ = (data_ & ~align_mask) | (static_cast<unsigned>(a) << align_shift);
  756|  41.7k|  }
_ZN3fmt3v1211basic_specs8set_signENS0_4signE:
  781|     56|  FMT_CONSTEXPR void set_sign(fmt::sign s) {
  782|     56|    data_ = (data_ & ~sign_mask) | (static_cast<unsigned>(s) << sign_shift);
  783|     56|  }
_ZN3fmt3v126detail2inENS1_4typeEi:
 1040|  95.1k|constexpr auto in(type t, int set) -> bool {
 1041|  95.1k|  return ((set >> static_cast<int>(t)) & 1) != 0;
 1042|  95.1k|}
_ZN3fmt3v126detail18is_arithmetic_typeENS1_4typeE:
 1035|  50.1k|constexpr auto is_arithmetic_type(type t) -> bool {
 1036|  50.1k|  return t > type::none_type && t <= type::last_numeric_type;
  ------------------
  |  Branch (1036:10): [True: 50.1k, False: 0]
  |  Branch (1036:33): [True: 49.9k, False: 128]
  ------------------
 1037|  50.1k|}
_ZN3fmt3v126detail11parse_widthIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1445|  84.2k|                               parse_context<Char>& ctx) -> const Char* {
 1446|  84.2k|  auto result = parse_dynamic_spec(begin, end, specs.width, width_ref, ctx);
 1447|  84.2k|  specs.set_dynamic_width(result.kind);
 1448|  84.2k|  return result.end;
 1449|  84.2k|}
_ZN3fmt3v126detail18parse_dynamic_specIcEENS1_25parse_dynamic_spec_resultIT_EEPKS4_S7_RiRNS1_7arg_refIS4_EERNS0_13parse_contextIS4_EE:
 1413|  96.3k|    -> parse_dynamic_spec_result<Char> {
 1414|  96.3k|  FMT_ASSERT(begin != end, "");
  ------------------
  |  |  395|  96.3k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 96.3k, False: 0]
  |  |  ------------------
  |  |  396|  96.3k|         ? (void)0                                                          \
  |  |  397|  96.3k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1415|  96.3k|  auto kind = arg_id_kind::none;
 1416|  96.3k|  if ('0' <= *begin && *begin <= '9') {
  ------------------
  |  Branch (1416:7): [True: 96.2k, False: 88]
  |  Branch (1416:24): [True: 89.1k, False: 7.09k]
  ------------------
 1417|  89.1k|    int val = parse_nonnegative_int(begin, end, -1);
 1418|  89.1k|    if (val == -1) report_error("number is too big");
  ------------------
  |  Branch (1418:9): [True: 224, False: 88.9k]
  ------------------
 1419|  89.1k|    value = val;
 1420|  89.1k|  } else {
 1421|  7.18k|    if (*begin == '{') {
  ------------------
  |  Branch (1421:9): [True: 7.01k, False: 168]
  ------------------
 1422|  7.01k|      ++begin;
 1423|  7.01k|      if (begin != end) {
  ------------------
  |  Branch (1423:11): [True: 6.98k, False: 32]
  ------------------
 1424|  6.98k|        Char c = *begin;
 1425|  6.98k|        if (c == '}' || c == ':') {
  ------------------
  |  Branch (1425:13): [True: 2.45k, False: 4.52k]
  |  Branch (1425:25): [True: 56, False: 4.47k]
  ------------------
 1426|  2.51k|          int id = ctx.next_arg_id();
 1427|  2.51k|          ref = id;
 1428|  2.51k|          kind = arg_id_kind::index;
 1429|  2.51k|          ctx.check_dynamic_spec(id);
 1430|  4.47k|        } else {
 1431|  4.47k|          begin = parse_arg_id(begin, end,
 1432|  4.47k|                               dynamic_spec_handler<Char>{ctx, ref, kind});
 1433|  4.47k|        }
 1434|  6.98k|      }
 1435|  7.01k|      if (begin != end && *begin == '}') return {++begin, kind};
  ------------------
  |  Branch (1435:11): [True: 5.75k, False: 1.26k]
  |  Branch (1435:27): [True: 5.40k, False: 344]
  ------------------
 1436|  7.01k|    }
 1437|  1.77k|    report_error("invalid format string");
 1438|  1.77k|  }
 1439|  90.9k|  return {begin, kind};
 1440|  96.3k|}
_ZN3fmt3v1213parse_contextIcE18check_dynamic_specEi:
 2474|  5.36k|FMT_CONSTEXPR void parse_context<Char>::check_dynamic_spec(int arg_id) {
 2475|  5.36k|  using detail::compile_parse_context;
 2476|  5.36k|  if (detail::is_constant_evaluated() && use_constexpr_cast)
  ------------------
  |  Branch (2476:7): [Folded, False: 5.36k]
  |  Branch (2476:42): [True: 0, Folded]
  ------------------
 2477|      0|    static_cast<compile_parse_context<Char>*>(this)->check_dynamic_spec(arg_id);
 2478|  5.36k|}
_ZN3fmt3v126detail12parse_arg_idIcNS1_20dynamic_spec_handlerIcEEEEPKT_S7_S7_OT0_:
 1359|  4.47k|                                Handler&& handler) -> const Char* {
 1360|  4.47k|  Char c = *begin;
 1361|  4.47k|  if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (1361:7): [True: 4.36k, False: 104]
  |  Branch (1361:19): [True: 3.52k, False: 848]
  ------------------
 1362|  3.52k|    int index = 0;
 1363|  3.52k|    if (c != '0')
  ------------------
  |  Branch (1363:9): [True: 1.77k, False: 1.74k]
  ------------------
 1364|  1.77k|      index = parse_nonnegative_int(begin, end, INT_MAX);
 1365|  1.74k|    else
 1366|  1.74k|      ++begin;
 1367|  3.52k|    if (begin == end || (*begin != '}' && *begin != ':'))
  ------------------
  |  Branch (1367:9): [True: 368, False: 3.15k]
  |  Branch (1367:26): [True: 248, False: 2.90k]
  |  Branch (1367:43): [True: 208, False: 40]
  ------------------
 1368|    576|      report_error("invalid format string");
 1369|  2.94k|    else
 1370|  2.94k|      handler.on_index(index);
 1371|  3.52k|    return begin;
 1372|  3.52k|  }
 1373|    952|  if (FMT_OPTIMIZE_SIZE > 1 || !is_name_start(c)) {
  ------------------
  |  |  290|    952|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1373:7): [Folded, False: 952]
  |  Branch (1373:32): [True: 192, False: 760]
  ------------------
 1374|    192|    report_error("invalid format string");
 1375|    192|    return begin;
 1376|    192|  }
 1377|    760|  auto it = begin;
 1378|  14.6M|  do {
 1379|  14.6M|    ++it;
 1380|  14.6M|  } while (it != end && (is_name_start(*it) || ('0' <= *it && *it <= '9')));
  ------------------
  |  Branch (1380:12): [True: 14.6M, False: 376]
  |  Branch (1380:26): [True: 14.6M, False: 1.76k]
  |  Branch (1380:49): [True: 1.56k, False: 200]
  |  Branch (1380:63): [True: 1.37k, False: 184]
  ------------------
 1381|    760|  handler.on_name({begin, to_unsigned(it - begin)});
 1382|    760|  return it;
 1383|    952|}
_ZN3fmt3v126detail20dynamic_spec_handlerIcE8on_indexEi:
 1390|  2.94k|  FMT_CONSTEXPR void on_index(int id) {
 1391|  2.94k|    ref = id;
 1392|  2.94k|    kind = arg_id_kind::index;
 1393|  2.94k|    ctx.check_arg_id(id);
 1394|  2.94k|    ctx.check_dynamic_spec(id);
 1395|  2.94k|  }
_ZN3fmt3v126detail20dynamic_spec_handlerIcE7on_nameENS0_17basic_string_viewIcEE:
 1396|    760|  FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1397|    760|    ref = id;
 1398|    760|    kind = arg_id_kind::name;
 1399|    760|    ctx.check_arg_id(id);
 1400|    760|  }
_ZN3fmt3v126detail7arg_refIcEC2ENS0_17basic_string_viewIcEE:
 1291|    760|  FMT_CONSTEXPR arg_ref(basic_string_view<Char> n) : name(n) {}
_ZN3fmt3v1211basic_specs17set_dynamic_widthENS0_11arg_id_kindE:
  761|  82.5k|  FMT_CONSTEXPR void set_dynamic_width(arg_id_kind w) {
  762|  82.5k|    data_ = (data_ & ~width_mask) | (static_cast<unsigned>(w) << width_shift);
  763|  82.5k|  }
_ZN3fmt3v126detail15parse_precisionIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1455|  12.1k|                                   parse_context<Char>& ctx) -> const Char* {
 1456|  12.1k|  ++begin;
 1457|  12.1k|  if (begin == end) {
  ------------------
  |  Branch (1457:7): [True: 24, False: 12.1k]
  ------------------
 1458|     24|    report_error("invalid precision");
 1459|     24|    return begin;
 1460|     24|  }
 1461|  12.1k|  auto result =
 1462|  12.1k|      parse_dynamic_spec(begin, end, specs.precision, precision_ref, ctx);
 1463|  12.1k|  specs.set_dynamic_precision(result.kind);
 1464|  12.1k|  return result.end;
 1465|  12.1k|}
_ZN3fmt3v1211basic_specs21set_dynamic_precisionENS0_11arg_id_kindE:
  769|  11.8k|  FMT_CONSTEXPR void set_dynamic_precision(arg_id_kind p) {
  770|  11.8k|    data_ = (data_ & ~precision_mask) |
  771|  11.8k|            (static_cast<unsigned>(p) << precision_shift);
  772|  11.8k|  }
_ZN3fmt3v1211basic_specs13set_localizedEv:
  795|  14.9k|  FMT_CONSTEXPR void set_localized() { data_ |= localized_mask; }
_ZZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeEENUt0_clENS0_17presentation_typeEi:
 1500|  82.8k|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1501|  82.8k|      if (!in(arg_type, set)) report_error("invalid format specifier");
  ------------------
  |  Branch (1501:11): [True: 520, False: 82.3k]
  ------------------
 1502|  82.8k|      specs.set_type(pres_type);
 1503|  82.8k|      return begin + 1;
 1504|  82.8k|    }
_ZN3fmt3v1211basic_specs8set_typeENS0_17presentation_typeE:
  747|  82.3k|  FMT_CONSTEXPR void set_type(presentation_type t) {
  748|  82.3k|    data_ = (data_ & ~type_mask) | static_cast<unsigned>(t);
  749|  82.3k|  }
_ZN3fmt3v1211basic_specs9set_upperEv:
  786|  7.12k|  FMT_CONSTEXPR void set_upper() { data_ |= uppercase_mask; }
_ZN3fmt3v126detail17code_point_lengthIcEEiPKT_:
 1313|  14.8k|FMT_CONSTEXPR auto code_point_length(const Char* begin) -> int {
 1314|  14.8k|  if (const_check(sizeof(Char) != 1)) return 1;
  ------------------
  |  Branch (1314:7): [Folded, False: 14.8k]
  ------------------
 1315|  14.8k|  auto c = static_cast<unsigned char>(*begin);
 1316|  14.8k|  return static_cast<int>((0x3a55000000000000ull >> (2 * (c >> 3))) & 3) + 1;
 1317|  14.8k|}
_ZN3fmt3v1211basic_specs8set_fillIcEEvNS0_17basic_string_viewIT_EE:
  823|  13.9k|  FMT_CONSTEXPR void set_fill(basic_string_view<Char> s) {
  824|  13.9k|    auto size = s.size();
  825|  13.9k|    set_fill_size(size);
  826|  13.9k|    if (size == 1) {
  ------------------
  |  Branch (826:9): [True: 12.0k, False: 1.97k]
  ------------------
  827|  12.0k|      unsigned uchar = static_cast<detail::unsigned_char<Char>>(s[0]);
  828|  12.0k|      fill_data_[0] = static_cast<char>(uchar);
  829|  12.0k|      fill_data_[1] = static_cast<char>(uchar >> 8);
  830|  12.0k|      fill_data_[2] = static_cast<char>(uchar >> 16);
  831|  12.0k|      return;
  832|  12.0k|    }
  833|  1.97k|    FMT_ASSERT(size <= max_fill_size, "invalid fill");
  ------------------
  |  |  395|  1.97k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 1.97k, False: 0]
  |  |  ------------------
  |  |  396|  1.97k|         ? (void)0                                                          \
  |  |  397|  1.97k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  834|  6.42k|    for (size_t i = 0; i < size; ++i)
  ------------------
  |  Branch (834:24): [True: 4.44k, False: 1.97k]
  ------------------
  835|  4.44k|      fill_data_[i & 3] = static_cast<char>(s[i]);
  836|  1.97k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE4typeEv:
 2536|   143k|  auto type() const -> detail::type { return type_; }
_ZNK3fmt3v1211basic_specs7dynamicEv:
  774|   139k|  constexpr auto dynamic() const -> bool {
  775|   139k|    return (data_ & (width_mask | precision_mask)) != 0;
  776|   139k|  }
_ZNK3fmt3v127context3argENS0_17basic_string_viewIcEE:
 2704|     16|  inline auto arg(string_view name) const -> format_arg {
 2705|     16|    return args_.get(name);
 2706|     16|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE3getIcEENS0_16basic_format_argIS2_EENS0_17basic_string_viewIT_EE:
 2659|     16|  auto get(basic_string_view<Char> name) const -> format_arg {
 2660|     16|    int id = get_id(name);
 2661|     16|    return id >= 0 ? get(id) : format_arg();
  ------------------
  |  Branch (2661:12): [True: 0, False: 16]
  ------------------
 2662|     16|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail19dynamic_spec_getterEEEDTclfp_Li0EEEOT_:
 2544|  4.98k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|  4.98k|    using detail::map;
 2546|  4.98k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 4.98k, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 4.98k]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 4.98k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 4.98k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 4.98k]
  ------------------
 2551|  4.97k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 4.97k, False: 8]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 4.98k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 4.98k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 4.98k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 4.98k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 4.98k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 4.98k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 4.98k]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 4.98k]
  ------------------
 2560|      8|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 8, False: 4.97k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 4.98k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 4.98k]
  ------------------
 2563|  4.98k|    }
 2564|      0|    return vis(monostate());
 2565|  4.98k|  }
_ZNK3fmt3v1211basic_specs13dynamic_widthEv:
  758|  5.23k|  constexpr auto dynamic_width() const -> arg_id_kind {
  759|  5.23k|    return static_cast<arg_id_kind>((data_ & width_mask) >> width_shift);
  760|  5.23k|  }
_ZNK3fmt3v1211basic_specs17dynamic_precisionEv:
  765|  4.57k|  FMT_CONSTEXPR auto dynamic_precision() const -> arg_id_kind {
  766|  4.57k|    return static_cast<arg_id_kind>((data_ & precision_mask) >>
  767|  4.57k|                                    precision_shift);
  768|  4.57k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail13arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2544|   138k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|   138k|    using detail::map;
 2546|   138k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 138k, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 138k]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 138k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 138k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 138k]
  ------------------
 2551|  77.2k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 77.2k, False: 61.2k]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 138k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 138k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 138k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 138k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 138k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 138k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 138k]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 138k]
  ------------------
 2560|  61.2k|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 61.2k, False: 77.2k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 138k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 138k]
  ------------------
 2563|   138k|    }
 2564|      0|    return vis(monostate());
 2565|   138k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2IRyEEOT_:
 2531|  14.7k|      : value_(val), type_(detail::stored_type_constant<T, Context>::value) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ey:
 2213|  72.2k|      : ulong_long_value(x) {}
_ZN3fmt3v126detail4copyIcPKcPcTnNSt3__19enable_ifIXntaasr23is_back_insert_iteratorIT1_EE5valueoosr41has_back_insert_iterator_container_appendIS8_T0_EE5valuesr48has_back_insert_iterator_container_insert_at_endIS8_S9_EE5valueEiE4typeELi0EEES8_S9_S9_S8_:
 2108|  79.1k|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 2109|   273k|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (2109:10): [True: 193k, False: 79.1k]
  ------------------
 2110|  79.1k|  return out;
 2111|  79.1k|}
_ZN3fmt3v126detail4copyIccNS0_14basic_appenderIcEEEET1_NS0_17basic_string_viewIT0_EES5_:
 2114|  4.30k|FMT_CONSTEXPR auto copy(basic_string_view<V> s, OutputIt out) -> OutputIt {
 2115|  4.30k|  return copy<T>(s.begin(), s.end(), out);
 2116|  4.30k|}
_ZN3fmt3v126detail15counting_bufferIcEC2Ev:
 2048|  97.4M|  FMT_CONSTEXPR counting_buffer() : buffer<T>(grow, data_, 0, buffer_size) {}
_ZNK3fmt3v126detail15counting_bufferIcE5countEv:
 2050|  97.4M|  constexpr auto count() const noexcept -> size_t {
 2051|  97.4M|    return count_ + this->size();
 2052|  97.4M|  }
_ZN3fmt3v126detail4copyIcPKcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SD_NS0_17basic_string_viewISA_EERKNS0_12format_specsEE23bounded_output_iteratorTnNS9_IXntaasr23is_back_insert_iteratorIT1_EE5valueoosr41has_back_insert_iterator_container_appendISK_SD_EE5valuesr48has_back_insert_iterator_container_insert_at_endISK_SD_EE5valueEiE4typeELi0EEESK_SD_SD_SK_:
 2108|   163M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 2109|   200M|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (2109:10): [True: 36.3M, False: 163M]
  ------------------
 2110|   163M|  return out;
 2111|   163M|}
_ZN3fmt3v126detail4copyIcPcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SC_NS0_17basic_string_viewIS9_EERKNS0_12format_specsEE23bounded_output_iteratorTnNS8_IXntaasr23is_back_insert_iteratorIT1_EE5valueoosr41has_back_insert_iterator_container_appendISJ_SC_EE5valuesr48has_back_insert_iterator_container_insert_at_endISJ_SC_EE5valueEiE4typeELi0EEESJ_SC_SC_SJ_:
 2108|   151M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 2109|   458M|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (2109:10): [True: 307M, False: 151M]
  ------------------
 2110|   151M|  return out;
 2111|   151M|}
_ZNK3fmt3v127context6localeEv:
 2718|   138k|  FMT_CONSTEXPR auto locale() const -> locale_ref { return loc_; }
_ZN3fmt3v1213parse_contextIcEC2ENS0_17basic_string_viewIcEEi:
  872|  38.8k|      : fmt_(fmt), next_arg_id_(next_arg_id) {}
_ZN3fmt3v127contextC2ENS0_14basic_appenderIcEENS0_17basic_format_argsIS1_EENS0_10locale_refE:
 2698|  38.8k|      : out_(out), args_(args), loc_(loc) {}
_ZN3fmt3v1210locale_refC2Ev:
  925|  39.2k|  constexpr locale_ref() : locale_(nullptr) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ei:
 2206|  10.5k|  constexpr FMT_INLINE value(int x) : int_value(x) {}
_ZN3fmt3v126detail13ignore_unusedIJNS0_17basic_string_viewIcEEEEEvDpRKT_:
  361|  10.5k|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZN3fmt3v126detail13ignore_unusedIJiEEEvDpRKT_:
  361|  10.5k|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZN3fmt3v126detail6bufferIcE5beginEv:
 1808|  7.73k|  auto begin() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail6bufferIcE3endEv:
 1809|  7.73k|  auto end() noexcept -> T* { return ptr_ + size_; }
_ZNK3fmt3v126detail6bufferIcE4dataEv:
 1822|  18.2k|  FMT_CONSTEXPR auto data() const noexcept -> const T* { return ptr_; }
_ZN3fmt3v126detail5valueINS0_7contextEEC2EPKc:
 2242|  21.0k|  FMT_CONSTEXPR FMT_INLINE value(const char_type* x FMT_BUILTIN) {
 2243|  21.0k|    string.data = x;
 2244|  21.0k|    if (is_constant_evaluated()) string.size = 0;
  ------------------
  |  Branch (2244:9): [Folded, False: 21.0k]
  ------------------
 2245|  21.0k|  }
_ZN3fmt3v1217basic_format_argsINS0_7contextEEC2ILi3ELi0ELy460ETnNSt3__19enable_ifIXleT_LNS0_6detail3$_1E15EEiE4typeELi0EEERKNS7_16format_arg_storeIS2_XT_EXT0_EXT1_EEE:
 2629|  10.5k|      : desc_(DESC | (NUM_NAMED_ARGS != 0 ? +detail::has_named_args_bit : 0)),
  ------------------
  |  Branch (2629:23): [Folded, False: 10.5k]
  ------------------
 2630|  10.5k|        values_(s.args) {}
_ZN3fmt3v126detail10get_bufferIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr18is_buffer_appenderIT0_EE5valueEiE4typeELi0EEERNS1_6bufferIT_EES7_:
 2136|  28.7k|auto get_buffer(OutputIt out) -> buffer<T>& {
 2137|  28.7k|  return get_container(out);
 2138|  28.7k|}
_ZN3fmt3v126detail12get_iteratorIcNS0_14basic_appenderIcEEEET0_RNS1_6bufferIT_EES5_:
 2145|  7.73k|auto get_iterator(buffer<T>&, OutputIt out) -> OutputIt {
 2146|  7.73k|  return out;
 2147|  7.73k|}
_ZN3fmt3v127fstringIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEC2IPKcTnNS4_9enable_ifIXsr3std14is_convertibleIRKT_NS0_17basic_string_viewIcEEEE5valueEiE4typeELi0EEESK_:
 2768|  35.9k|  FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) {
 2769|  35.9k|    auto sv = string_view(str);
 2770|  35.9k|    if (FMT_USE_CONSTEVAL)
  ------------------
  |  |  120|  35.9k|#  define FMT_USE_CONSTEVAL 0
  |  |  ------------------
  |  |  |  Branch (120:29): [Folded, False: 35.9k]
  |  |  ------------------
  ------------------
 2771|      0|      detail::parse_format_string<char>(sv, checker(sv, arg_pack()));
 2772|       |#ifdef FMT_ENFORCE_COMPILE_STRING
 2773|       |    static_assert(
 2774|       |        FMT_USE_CONSTEVAL && sizeof(s) != 0,
 2775|       |        "FMT_ENFORCE_COMPILE_STRING requires format strings to use FMT_STRING");
 2776|       |#endif
 2777|  35.9k|  }
_ZN3fmt3v1210vformat_toINS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr6detail18is_output_iteratorINS4_9remove_cvINS4_16remove_referenceIT_E4typeEE4typeEcEE5valueEiE4typeELi0EEESC_OS8_NS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEE:
 2855|  28.7k|    -> remove_cvref_t<OutputIt> {
 2856|  28.7k|  auto&& buf = detail::get_buffer<char>(out);
 2857|  28.7k|  detail::vformat_to(buf, fmt, args, {});
 2858|  28.7k|  return detail::get_iterator(buf, out);
 2859|  28.7k|}
_ZN3fmt3v1216make_format_argsINS0_7contextEJKmS3_KNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEELi3ELi0ELy3396EEENS0_6detail16format_arg_storeIT_XT1_EXT2_EXT3_EEEDpRT0_:
 2825|  28.7k|    -> detail::format_arg_store<Context, NUM_ARGS, NUM_NAMED_ARGS, DESC> {
 2826|       |  // Suppress warnings for pathological types convertible to detail::value.
 2827|  28.7k|  FMT_PRAGMA_GCC(diagnostic ignored "-Wconversion")
 2828|  28.7k|  return {{args...}};
 2829|  28.7k|}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Em:
 2210|  57.5k|      : value(ulong_type(x)) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2INSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEcTnNS6_9enable_ifIXntsr3std10is_pointerIT_EE5valueEiE4typeELi0EEERKSE_:
 2248|  28.7k|  FMT_CONSTEXPR value(const T& x FMT_BUILTIN) {
 2249|  28.7k|    static_assert(std::is_same<C, char_type>::value,
 2250|  28.7k|                  "mixing character types is disallowed");
 2251|  28.7k|    auto sv = to_string_view(x);
 2252|  28.7k|    string.data = sv.data();
 2253|  28.7k|    string.size = sv.size();
 2254|  28.7k|  }
_ZN3fmt3v126detail14to_string_viewINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEETnNS3_9enable_ifIXsr18is_std_string_likeIT_EE5valueEiE4typeELi0EEENS0_17basic_string_viewINSB_10value_typeEEERKSB_:
  963|  28.7k|    -> basic_string_view<typename T::value_type> {
  964|  28.7k|  return s;
  965|  28.7k|}
_ZN3fmt3v1217basic_format_argsINS0_7contextEEC2ILi3ELi0ELy3396ETnNSt3__19enable_ifIXleT_LNS0_6detail3$_1E15EEiE4typeELi0EEERKNS7_16format_arg_storeIS2_XT_EXT0_EXT1_EEE:
 2629|  28.7k|      : desc_(DESC | (NUM_NAMED_ARGS != 0 ? +detail::has_named_args_bit : 0)),
  ------------------
  |  Branch (2629:23): [Folded, False: 28.7k]
  ------------------
 2630|  28.7k|        values_(s.args) {}
_ZN3fmt3v127fstringIJPKcRS3_RiEEC2IZZN6spdlog6logger4log_IJRKmSC_RKNSt3__112basic_stringIcNSD_11char_traitsIcEENSD_9allocatorIcEEEEEEEvNS8_10source_locENS8_5level10level_enumENS0_17basic_string_viewIcEEDpOT_ENKUlvE_clEvE18FMT_COMPILE_STRINGTnNSD_9enable_ifIXaasr3std10is_base_ofINS0_6detail14compile_stringET_EE5valuesr3std7is_sameINSZ_9char_typeEcEE5valueEiE4typeELi0EEERKSZ_:
 2781|  10.5k|  FMT_ALWAYS_INLINE fstring(const S&) : str(S()) {
 2782|  10.5k|    FMT_CONSTEXPR auto sv = string_view(S());
  ------------------
  |  |  111|  10.5k|#  define FMT_CONSTEXPR constexpr
  ------------------
 2783|  10.5k|    FMT_CONSTEXPR int unused =
  ------------------
  |  |  111|  10.5k|#  define FMT_CONSTEXPR constexpr
  ------------------
 2784|  10.5k|        (parse_format_string(sv, checker(sv, arg_pack())), 0);
 2785|  10.5k|    detail::ignore_unused(unused);
 2786|  10.5k|  }
_ZNK3fmt3v127fstringIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE3getEv:
 2791|  35.9k|  auto get() const -> string_view { return str; }

_ZN3fmt3v126detail10vformat_toERNS1_6bufferIcEENS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEENS0_10locale_refE:
 1452|  39.2k|                         locale_ref loc) {
 1453|  39.2k|  auto out = appender(buf);
 1454|  39.2k|  if (fmt.size() == 2 && equal2(fmt.data(), "{}"))
  ------------------
  |  Branch (1454:7): [True: 1.48k, False: 37.8k]
  |  Branch (1454:26): [True: 496, False: 992]
  ------------------
 1455|    496|    return args.get(0).visit(default_arg_formatter<char>{out});
 1456|  38.8k|  parse_format_string(fmt,
 1457|  38.8k|                      format_handler<>{parse_context<>(fmt), {out, args, loc}});
 1458|  38.8k|}
_ZN3fmt3v126detail9write_locENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsENS0_10locale_refE:
  126|  14.7k|                        const format_specs& specs, locale_ref loc) -> bool {
  127|  14.7k|  auto locale = loc.get<std::locale>();
  128|       |  // We cannot use the num_put<char> facet because it may produce output in
  129|       |  // a wrong encoding.
  130|  14.7k|  using facet = format_facet<std::locale>;
  131|  14.7k|  if (std::has_facet<facet>(locale))
  ------------------
  |  Branch (131:7): [True: 0, False: 14.7k]
  ------------------
  132|      0|    return use_facet<facet>(locale).put(out, value, specs);
  133|  14.7k|  return facet(locale).put(out, value, specs);
  134|  14.7k|}
_ZNK3fmt3v1210locale_ref3getINSt3__16localeEEET_v:
   62|  14.7k|template <typename Locale> auto locale_ref::get() const -> Locale {
   63|  14.7k|  using namespace detail;
   64|  14.7k|  static_assert(std::is_same<Locale, locale>::value, "");
   65|  14.7k|#if FMT_USE_LOCALE
   66|  14.7k|  if (locale_) return *static_cast<const locale*>(locale_);
  ------------------
  |  Branch (66:7): [True: 0, False: 14.7k]
  ------------------
   67|  14.7k|#endif
   68|  14.7k|  return locale();
   69|  14.7k|}
_ZN3fmt3v1212format_facetINSt3__16localeEEC2ERS3_:
  150|  14.7k|template <typename Locale> format_facet<Locale>::format_facet(Locale& loc) {
  151|  14.7k|  auto& np = detail::use_facet<detail::numpunct<char>>(loc);
  152|  14.7k|  grouping_ = np.grouping();
  153|  14.7k|  if (!grouping_.empty()) separator_ = std::string(1, np.thousands_sep());
  ------------------
  |  Branch (153:7): [True: 0, False: 14.7k]
  ------------------
  154|  14.7k|}
_ZNK3fmt3v1212format_facetINSt3__16localeEE6do_putENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsE:
  159|  14.7k|    appender out, loc_value val, const format_specs& specs) const -> bool {
  160|  14.7k|  return val.visit(
  161|  14.7k|      detail::loc_writer<>{out, specs, separator_, grouping_, decimal_point_});
  162|  14.7k|}
_ZN3fmt3v126detail12is_printableEj:
 1794|   243M|FMT_FUNC auto is_printable(uint32_t cp) -> bool {
 1795|   243M|  static constexpr singleton singletons0[] = {
 1796|   243M|      {0x00, 1},  {0x03, 5},  {0x05, 6},  {0x06, 3},  {0x07, 6},  {0x08, 8},
 1797|   243M|      {0x09, 17}, {0x0a, 28}, {0x0b, 25}, {0x0c, 20}, {0x0d, 16}, {0x0e, 13},
 1798|   243M|      {0x0f, 4},  {0x10, 3},  {0x12, 18}, {0x13, 9},  {0x16, 1},  {0x17, 5},
 1799|   243M|      {0x18, 2},  {0x19, 3},  {0x1a, 7},  {0x1c, 2},  {0x1d, 1},  {0x1f, 22},
 1800|   243M|      {0x20, 3},  {0x2b, 3},  {0x2c, 2},  {0x2d, 11}, {0x2e, 1},  {0x30, 3},
 1801|   243M|      {0x31, 2},  {0x32, 1},  {0xa7, 2},  {0xa9, 2},  {0xaa, 4},  {0xab, 8},
 1802|   243M|      {0xfa, 2},  {0xfb, 5},  {0xfd, 4},  {0xfe, 3},  {0xff, 9},
 1803|   243M|  };
 1804|   243M|  static constexpr unsigned char singletons0_lower[] = {
 1805|   243M|      0xad, 0x78, 0x79, 0x8b, 0x8d, 0xa2, 0x30, 0x57, 0x58, 0x8b, 0x8c, 0x90,
 1806|   243M|      0x1c, 0x1d, 0xdd, 0x0e, 0x0f, 0x4b, 0x4c, 0xfb, 0xfc, 0x2e, 0x2f, 0x3f,
 1807|   243M|      0x5c, 0x5d, 0x5f, 0xb5, 0xe2, 0x84, 0x8d, 0x8e, 0x91, 0x92, 0xa9, 0xb1,
 1808|   243M|      0xba, 0xbb, 0xc5, 0xc6, 0xc9, 0xca, 0xde, 0xe4, 0xe5, 0xff, 0x00, 0x04,
 1809|   243M|      0x11, 0x12, 0x29, 0x31, 0x34, 0x37, 0x3a, 0x3b, 0x3d, 0x49, 0x4a, 0x5d,
 1810|   243M|      0x84, 0x8e, 0x92, 0xa9, 0xb1, 0xb4, 0xba, 0xbb, 0xc6, 0xca, 0xce, 0xcf,
 1811|   243M|      0xe4, 0xe5, 0x00, 0x04, 0x0d, 0x0e, 0x11, 0x12, 0x29, 0x31, 0x34, 0x3a,
 1812|   243M|      0x3b, 0x45, 0x46, 0x49, 0x4a, 0x5e, 0x64, 0x65, 0x84, 0x91, 0x9b, 0x9d,
 1813|   243M|      0xc9, 0xce, 0xcf, 0x0d, 0x11, 0x29, 0x45, 0x49, 0x57, 0x64, 0x65, 0x8d,
 1814|   243M|      0x91, 0xa9, 0xb4, 0xba, 0xbb, 0xc5, 0xc9, 0xdf, 0xe4, 0xe5, 0xf0, 0x0d,
 1815|   243M|      0x11, 0x45, 0x49, 0x64, 0x65, 0x80, 0x84, 0xb2, 0xbc, 0xbe, 0xbf, 0xd5,
 1816|   243M|      0xd7, 0xf0, 0xf1, 0x83, 0x85, 0x8b, 0xa4, 0xa6, 0xbe, 0xbf, 0xc5, 0xc7,
 1817|   243M|      0xce, 0xcf, 0xda, 0xdb, 0x48, 0x98, 0xbd, 0xcd, 0xc6, 0xce, 0xcf, 0x49,
 1818|   243M|      0x4e, 0x4f, 0x57, 0x59, 0x5e, 0x5f, 0x89, 0x8e, 0x8f, 0xb1, 0xb6, 0xb7,
 1819|   243M|      0xbf, 0xc1, 0xc6, 0xc7, 0xd7, 0x11, 0x16, 0x17, 0x5b, 0x5c, 0xf6, 0xf7,
 1820|   243M|      0xfe, 0xff, 0x80, 0x0d, 0x6d, 0x71, 0xde, 0xdf, 0x0e, 0x0f, 0x1f, 0x6e,
 1821|   243M|      0x6f, 0x1c, 0x1d, 0x5f, 0x7d, 0x7e, 0xae, 0xaf, 0xbb, 0xbc, 0xfa, 0x16,
 1822|   243M|      0x17, 0x1e, 0x1f, 0x46, 0x47, 0x4e, 0x4f, 0x58, 0x5a, 0x5c, 0x5e, 0x7e,
 1823|   243M|      0x7f, 0xb5, 0xc5, 0xd4, 0xd5, 0xdc, 0xf0, 0xf1, 0xf5, 0x72, 0x73, 0x8f,
 1824|   243M|      0x74, 0x75, 0x96, 0x2f, 0x5f, 0x26, 0x2e, 0x2f, 0xa7, 0xaf, 0xb7, 0xbf,
 1825|   243M|      0xc7, 0xcf, 0xd7, 0xdf, 0x9a, 0x40, 0x97, 0x98, 0x30, 0x8f, 0x1f, 0xc0,
 1826|   243M|      0xc1, 0xce, 0xff, 0x4e, 0x4f, 0x5a, 0x5b, 0x07, 0x08, 0x0f, 0x10, 0x27,
 1827|   243M|      0x2f, 0xee, 0xef, 0x6e, 0x6f, 0x37, 0x3d, 0x3f, 0x42, 0x45, 0x90, 0x91,
 1828|   243M|      0xfe, 0xff, 0x53, 0x67, 0x75, 0xc8, 0xc9, 0xd0, 0xd1, 0xd8, 0xd9, 0xe7,
 1829|   243M|      0xfe, 0xff,
 1830|   243M|  };
 1831|   243M|  static constexpr singleton singletons1[] = {
 1832|   243M|      {0x00, 6},  {0x01, 1}, {0x03, 1},  {0x04, 2}, {0x08, 8},  {0x09, 2},
 1833|   243M|      {0x0a, 5},  {0x0b, 2}, {0x0e, 4},  {0x10, 1}, {0x11, 2},  {0x12, 5},
 1834|   243M|      {0x13, 17}, {0x14, 1}, {0x15, 2},  {0x17, 2}, {0x19, 13}, {0x1c, 5},
 1835|   243M|      {0x1d, 8},  {0x24, 1}, {0x6a, 3},  {0x6b, 2}, {0xbc, 2},  {0xd1, 2},
 1836|   243M|      {0xd4, 12}, {0xd5, 9}, {0xd6, 2},  {0xd7, 2}, {0xda, 1},  {0xe0, 5},
 1837|   243M|      {0xe1, 2},  {0xe8, 2}, {0xee, 32}, {0xf0, 4}, {0xf8, 2},  {0xf9, 2},
 1838|   243M|      {0xfa, 2},  {0xfb, 1},
 1839|   243M|  };
 1840|   243M|  static constexpr unsigned char singletons1_lower[] = {
 1841|   243M|      0x0c, 0x27, 0x3b, 0x3e, 0x4e, 0x4f, 0x8f, 0x9e, 0x9e, 0x9f, 0x06, 0x07,
 1842|   243M|      0x09, 0x36, 0x3d, 0x3e, 0x56, 0xf3, 0xd0, 0xd1, 0x04, 0x14, 0x18, 0x36,
 1843|   243M|      0x37, 0x56, 0x57, 0x7f, 0xaa, 0xae, 0xaf, 0xbd, 0x35, 0xe0, 0x12, 0x87,
 1844|   243M|      0x89, 0x8e, 0x9e, 0x04, 0x0d, 0x0e, 0x11, 0x12, 0x29, 0x31, 0x34, 0x3a,
 1845|   243M|      0x45, 0x46, 0x49, 0x4a, 0x4e, 0x4f, 0x64, 0x65, 0x5c, 0xb6, 0xb7, 0x1b,
 1846|   243M|      0x1c, 0x07, 0x08, 0x0a, 0x0b, 0x14, 0x17, 0x36, 0x39, 0x3a, 0xa8, 0xa9,
 1847|   243M|      0xd8, 0xd9, 0x09, 0x37, 0x90, 0x91, 0xa8, 0x07, 0x0a, 0x3b, 0x3e, 0x66,
 1848|   243M|      0x69, 0x8f, 0x92, 0x6f, 0x5f, 0xee, 0xef, 0x5a, 0x62, 0x9a, 0x9b, 0x27,
 1849|   243M|      0x28, 0x55, 0x9d, 0xa0, 0xa1, 0xa3, 0xa4, 0xa7, 0xa8, 0xad, 0xba, 0xbc,
 1850|   243M|      0xc4, 0x06, 0x0b, 0x0c, 0x15, 0x1d, 0x3a, 0x3f, 0x45, 0x51, 0xa6, 0xa7,
 1851|   243M|      0xcc, 0xcd, 0xa0, 0x07, 0x19, 0x1a, 0x22, 0x25, 0x3e, 0x3f, 0xc5, 0xc6,
 1852|   243M|      0x04, 0x20, 0x23, 0x25, 0x26, 0x28, 0x33, 0x38, 0x3a, 0x48, 0x4a, 0x4c,
 1853|   243M|      0x50, 0x53, 0x55, 0x56, 0x58, 0x5a, 0x5c, 0x5e, 0x60, 0x63, 0x65, 0x66,
 1854|   243M|      0x6b, 0x73, 0x78, 0x7d, 0x7f, 0x8a, 0xa4, 0xaa, 0xaf, 0xb0, 0xc0, 0xd0,
 1855|   243M|      0xae, 0xaf, 0x79, 0xcc, 0x6e, 0x6f, 0x93,
 1856|   243M|  };
 1857|   243M|  static constexpr unsigned char normal0[] = {
 1858|   243M|      0x00, 0x20, 0x5f, 0x22, 0x82, 0xdf, 0x04, 0x82, 0x44, 0x08, 0x1b, 0x04,
 1859|   243M|      0x06, 0x11, 0x81, 0xac, 0x0e, 0x80, 0xab, 0x35, 0x28, 0x0b, 0x80, 0xe0,
 1860|   243M|      0x03, 0x19, 0x08, 0x01, 0x04, 0x2f, 0x04, 0x34, 0x04, 0x07, 0x03, 0x01,
 1861|   243M|      0x07, 0x06, 0x07, 0x11, 0x0a, 0x50, 0x0f, 0x12, 0x07, 0x55, 0x07, 0x03,
 1862|   243M|      0x04, 0x1c, 0x0a, 0x09, 0x03, 0x08, 0x03, 0x07, 0x03, 0x02, 0x03, 0x03,
 1863|   243M|      0x03, 0x0c, 0x04, 0x05, 0x03, 0x0b, 0x06, 0x01, 0x0e, 0x15, 0x05, 0x3a,
 1864|   243M|      0x03, 0x11, 0x07, 0x06, 0x05, 0x10, 0x07, 0x57, 0x07, 0x02, 0x07, 0x15,
 1865|   243M|      0x0d, 0x50, 0x04, 0x43, 0x03, 0x2d, 0x03, 0x01, 0x04, 0x11, 0x06, 0x0f,
 1866|   243M|      0x0c, 0x3a, 0x04, 0x1d, 0x25, 0x5f, 0x20, 0x6d, 0x04, 0x6a, 0x25, 0x80,
 1867|   243M|      0xc8, 0x05, 0x82, 0xb0, 0x03, 0x1a, 0x06, 0x82, 0xfd, 0x03, 0x59, 0x07,
 1868|   243M|      0x15, 0x0b, 0x17, 0x09, 0x14, 0x0c, 0x14, 0x0c, 0x6a, 0x06, 0x0a, 0x06,
 1869|   243M|      0x1a, 0x06, 0x59, 0x07, 0x2b, 0x05, 0x46, 0x0a, 0x2c, 0x04, 0x0c, 0x04,
 1870|   243M|      0x01, 0x03, 0x31, 0x0b, 0x2c, 0x04, 0x1a, 0x06, 0x0b, 0x03, 0x80, 0xac,
 1871|   243M|      0x06, 0x0a, 0x06, 0x21, 0x3f, 0x4c, 0x04, 0x2d, 0x03, 0x74, 0x08, 0x3c,
 1872|   243M|      0x03, 0x0f, 0x03, 0x3c, 0x07, 0x38, 0x08, 0x2b, 0x05, 0x82, 0xff, 0x11,
 1873|   243M|      0x18, 0x08, 0x2f, 0x11, 0x2d, 0x03, 0x20, 0x10, 0x21, 0x0f, 0x80, 0x8c,
 1874|   243M|      0x04, 0x82, 0x97, 0x19, 0x0b, 0x15, 0x88, 0x94, 0x05, 0x2f, 0x05, 0x3b,
 1875|   243M|      0x07, 0x02, 0x0e, 0x18, 0x09, 0x80, 0xb3, 0x2d, 0x74, 0x0c, 0x80, 0xd6,
 1876|   243M|      0x1a, 0x0c, 0x05, 0x80, 0xff, 0x05, 0x80, 0xdf, 0x0c, 0xee, 0x0d, 0x03,
 1877|   243M|      0x84, 0x8d, 0x03, 0x37, 0x09, 0x81, 0x5c, 0x14, 0x80, 0xb8, 0x08, 0x80,
 1878|   243M|      0xcb, 0x2a, 0x38, 0x03, 0x0a, 0x06, 0x38, 0x08, 0x46, 0x08, 0x0c, 0x06,
 1879|   243M|      0x74, 0x0b, 0x1e, 0x03, 0x5a, 0x04, 0x59, 0x09, 0x80, 0x83, 0x18, 0x1c,
 1880|   243M|      0x0a, 0x16, 0x09, 0x4c, 0x04, 0x80, 0x8a, 0x06, 0xab, 0xa4, 0x0c, 0x17,
 1881|   243M|      0x04, 0x31, 0xa1, 0x04, 0x81, 0xda, 0x26, 0x07, 0x0c, 0x05, 0x05, 0x80,
 1882|   243M|      0xa5, 0x11, 0x81, 0x6d, 0x10, 0x78, 0x28, 0x2a, 0x06, 0x4c, 0x04, 0x80,
 1883|   243M|      0x8d, 0x04, 0x80, 0xbe, 0x03, 0x1b, 0x03, 0x0f, 0x0d,
 1884|   243M|  };
 1885|   243M|  static constexpr unsigned char normal1[] = {
 1886|   243M|      0x5e, 0x22, 0x7b, 0x05, 0x03, 0x04, 0x2d, 0x03, 0x66, 0x03, 0x01, 0x2f,
 1887|   243M|      0x2e, 0x80, 0x82, 0x1d, 0x03, 0x31, 0x0f, 0x1c, 0x04, 0x24, 0x09, 0x1e,
 1888|   243M|      0x05, 0x2b, 0x05, 0x44, 0x04, 0x0e, 0x2a, 0x80, 0xaa, 0x06, 0x24, 0x04,
 1889|   243M|      0x24, 0x04, 0x28, 0x08, 0x34, 0x0b, 0x01, 0x80, 0x90, 0x81, 0x37, 0x09,
 1890|   243M|      0x16, 0x0a, 0x08, 0x80, 0x98, 0x39, 0x03, 0x63, 0x08, 0x09, 0x30, 0x16,
 1891|   243M|      0x05, 0x21, 0x03, 0x1b, 0x05, 0x01, 0x40, 0x38, 0x04, 0x4b, 0x05, 0x2f,
 1892|   243M|      0x04, 0x0a, 0x07, 0x09, 0x07, 0x40, 0x20, 0x27, 0x04, 0x0c, 0x09, 0x36,
 1893|   243M|      0x03, 0x3a, 0x05, 0x1a, 0x07, 0x04, 0x0c, 0x07, 0x50, 0x49, 0x37, 0x33,
 1894|   243M|      0x0d, 0x33, 0x07, 0x2e, 0x08, 0x0a, 0x81, 0x26, 0x52, 0x4e, 0x28, 0x08,
 1895|   243M|      0x2a, 0x56, 0x1c, 0x14, 0x17, 0x09, 0x4e, 0x04, 0x1e, 0x0f, 0x43, 0x0e,
 1896|   243M|      0x19, 0x07, 0x0a, 0x06, 0x48, 0x08, 0x27, 0x09, 0x75, 0x0b, 0x3f, 0x41,
 1897|   243M|      0x2a, 0x06, 0x3b, 0x05, 0x0a, 0x06, 0x51, 0x06, 0x01, 0x05, 0x10, 0x03,
 1898|   243M|      0x05, 0x80, 0x8b, 0x62, 0x1e, 0x48, 0x08, 0x0a, 0x80, 0xa6, 0x5e, 0x22,
 1899|   243M|      0x45, 0x0b, 0x0a, 0x06, 0x0d, 0x13, 0x39, 0x07, 0x0a, 0x36, 0x2c, 0x04,
 1900|   243M|      0x10, 0x80, 0xc0, 0x3c, 0x64, 0x53, 0x0c, 0x48, 0x09, 0x0a, 0x46, 0x45,
 1901|   243M|      0x1b, 0x48, 0x08, 0x53, 0x1d, 0x39, 0x81, 0x07, 0x46, 0x0a, 0x1d, 0x03,
 1902|   243M|      0x47, 0x49, 0x37, 0x03, 0x0e, 0x08, 0x0a, 0x06, 0x39, 0x07, 0x0a, 0x81,
 1903|   243M|      0x36, 0x19, 0x80, 0xb7, 0x01, 0x0f, 0x32, 0x0d, 0x83, 0x9b, 0x66, 0x75,
 1904|   243M|      0x0b, 0x80, 0xc4, 0x8a, 0xbc, 0x84, 0x2f, 0x8f, 0xd1, 0x82, 0x47, 0xa1,
 1905|   243M|      0xb9, 0x82, 0x39, 0x07, 0x2a, 0x04, 0x02, 0x60, 0x26, 0x0a, 0x46, 0x0a,
 1906|   243M|      0x28, 0x05, 0x13, 0x82, 0xb0, 0x5b, 0x65, 0x4b, 0x04, 0x39, 0x07, 0x11,
 1907|   243M|      0x40, 0x05, 0x0b, 0x02, 0x0e, 0x97, 0xf8, 0x08, 0x84, 0xd6, 0x2a, 0x09,
 1908|   243M|      0xa2, 0xf7, 0x81, 0x1f, 0x31, 0x03, 0x11, 0x04, 0x08, 0x81, 0x8c, 0x89,
 1909|   243M|      0x04, 0x6b, 0x05, 0x0d, 0x03, 0x09, 0x07, 0x10, 0x93, 0x60, 0x80, 0xf6,
 1910|   243M|      0x0a, 0x73, 0x08, 0x6e, 0x17, 0x46, 0x80, 0x9a, 0x14, 0x0c, 0x57, 0x09,
 1911|   243M|      0x19, 0x80, 0x87, 0x81, 0x47, 0x03, 0x85, 0x42, 0x0f, 0x15, 0x85, 0x50,
 1912|   243M|      0x2b, 0x80, 0xd5, 0x2d, 0x03, 0x1a, 0x04, 0x02, 0x81, 0x70, 0x3a, 0x05,
 1913|   243M|      0x01, 0x85, 0x00, 0x80, 0xd7, 0x29, 0x4c, 0x04, 0x0a, 0x04, 0x02, 0x83,
 1914|   243M|      0x11, 0x44, 0x4c, 0x3d, 0x80, 0xc2, 0x3c, 0x06, 0x01, 0x04, 0x55, 0x05,
 1915|   243M|      0x1b, 0x34, 0x02, 0x81, 0x0e, 0x2c, 0x04, 0x64, 0x0c, 0x56, 0x0a, 0x80,
 1916|   243M|      0xae, 0x38, 0x1d, 0x0d, 0x2c, 0x04, 0x09, 0x07, 0x02, 0x0e, 0x06, 0x80,
 1917|   243M|      0x9a, 0x83, 0xd8, 0x08, 0x0d, 0x03, 0x0d, 0x03, 0x74, 0x0c, 0x59, 0x07,
 1918|   243M|      0x0c, 0x14, 0x0c, 0x04, 0x38, 0x08, 0x0a, 0x06, 0x28, 0x08, 0x22, 0x4e,
 1919|   243M|      0x81, 0x54, 0x0c, 0x15, 0x03, 0x03, 0x05, 0x07, 0x09, 0x19, 0x07, 0x07,
 1920|   243M|      0x09, 0x03, 0x0d, 0x07, 0x29, 0x80, 0xcb, 0x25, 0x0a, 0x84, 0x06,
 1921|   243M|  };
 1922|   243M|  auto lower = static_cast<uint16_t>(cp);
 1923|   243M|  if (cp < 0x10000) {
  ------------------
  |  Branch (1923:7): [True: 152M, False: 90.8M]
  ------------------
 1924|   152M|    return is_printable(lower, singletons0,
 1925|   152M|                        sizeof(singletons0) / sizeof(*singletons0),
 1926|   152M|                        singletons0_lower, normal0, sizeof(normal0));
 1927|   152M|  }
 1928|  90.8M|  if (cp < 0x20000) {
  ------------------
  |  Branch (1928:7): [True: 677k, False: 90.1M]
  ------------------
 1929|   677k|    return is_printable(lower, singletons1,
 1930|   677k|                        sizeof(singletons1) / sizeof(*singletons1),
 1931|   677k|                        singletons1_lower, normal1, sizeof(normal1));
 1932|   677k|  }
 1933|  90.1M|  if (0x2a6de <= cp && cp < 0x2a700) return false;
  ------------------
  |  Branch (1933:7): [True: 90.1M, False: 2.22k]
  |  Branch (1933:24): [True: 11.2k, False: 90.1M]
  ------------------
 1934|  90.1M|  if (0x2b735 <= cp && cp < 0x2b740) return false;
  ------------------
  |  Branch (1934:7): [True: 90.1M, False: 3.11k]
  |  Branch (1934:24): [True: 3.39k, False: 90.1M]
  ------------------
 1935|  90.1M|  if (0x2b81e <= cp && cp < 0x2b820) return false;
  ------------------
  |  Branch (1935:7): [True: 90.1M, False: 3.79k]
  |  Branch (1935:24): [True: 2.26k, False: 90.1M]
  ------------------
 1936|  90.1M|  if (0x2cea2 <= cp && cp < 0x2ceb0) return false;
  ------------------
  |  Branch (1936:7): [True: 90.1M, False: 11.6k]
  |  Branch (1936:24): [True: 6.99k, False: 90.1M]
  ------------------
 1937|  90.1M|  if (0x2ebe1 <= cp && cp < 0x2f800) return false;
  ------------------
  |  Branch (1937:7): [True: 90.1M, False: 19.7k]
  |  Branch (1937:24): [True: 7.93k, False: 90.1M]
  ------------------
 1938|  90.1M|  if (0x2fa1e <= cp && cp < 0x30000) return false;
  ------------------
  |  Branch (1938:7): [True: 90.1M, False: 20.4k]
  |  Branch (1938:24): [True: 7.97k, False: 90.1M]
  ------------------
 1939|  90.1M|  if (0x3134b <= cp && cp < 0xe0100) return false;
  ------------------
  |  Branch (1939:7): [True: 90.1M, False: 21.0k]
  |  Branch (1939:24): [True: 36.0k, False: 90.0M]
  ------------------
 1940|  90.1M|  if (0xe01f0 <= cp && cp < 0x110000) return false;
  ------------------
  |  Branch (1940:7): [True: 90.0M, False: 25.3k]
  |  Branch (1940:24): [True: 33.4k, False: 90.0M]
  ------------------
 1941|  90.0M|  return cp < 0x110000;
 1942|  90.1M|}
_ZN3fmt3v126detail12is_printableEtPKNS1_9singletonEmPKhS6_m:
 1766|   152M|    -> bool {
 1767|   152M|  auto upper = x >> 8;
 1768|   152M|  auto lower_start = 0;
 1769|   340M|  for (size_t i = 0; i < singletons_size; ++i) {
  ------------------
  |  Branch (1769:22): [True: 340M, False: 49.6k]
  ------------------
 1770|   340M|    auto s = singletons[i];
 1771|   340M|    auto lower_end = lower_start + s.lower_count;
 1772|   340M|    if (upper < s.upper) break;
  ------------------
  |  Branch (1772:9): [True: 151M, False: 189M]
  ------------------
 1773|   189M|    if (upper == s.upper) {
  ------------------
  |  Branch (1773:9): [True: 152M, False: 37.1M]
  ------------------
 1774|   308M|      for (auto j = lower_start; j < lower_end; ++j) {
  ------------------
  |  Branch (1774:34): [True: 157M, False: 150M]
  ------------------
 1775|   157M|        if (singleton_lowers[j] == (x & 0xff)) return false;
  ------------------
  |  Branch (1775:13): [True: 1.07M, False: 156M]
  ------------------
 1776|   157M|      }
 1777|   152M|    }
 1778|   188M|    lower_start = lower_end;
 1779|   188M|  }
 1780|       |
 1781|   151M|  auto xsigned = static_cast<int>(x);
 1782|   151M|  auto current = true;
 1783|   736M|  for (size_t i = 0; i < normal_size; ++i) {
  ------------------
  |  Branch (1783:22): [True: 736M, False: 8.56k]
  ------------------
 1784|   736M|    auto v = static_cast<int>(normal[i]);
 1785|   736M|    auto len = (v & 0x80) != 0 ? (v & 0x7f) << 8 | normal[++i] : v;
  ------------------
  |  Branch (1785:16): [True: 34.9M, False: 701M]
  ------------------
 1786|   736M|    xsigned -= len;
 1787|   736M|    if (xsigned < 0) break;
  ------------------
  |  Branch (1787:9): [True: 151M, False: 584M]
  ------------------
 1788|   584M|    current = !current;
 1789|   584M|  }
 1790|   151M|  return current;
 1791|   152M|}
_ZN3fmt3v1212report_errorEPKc:
  138|  21.0k|FMT_FUNC void report_error(const char* message) {
  139|       |#if FMT_MSC_VERSION || defined(__NVCC__)
  140|       |  // Silence unreachable code warnings in MSVC and NVCC because these
  141|       |  // are nearly impossible to fix in a generic code.
  142|       |  volatile bool b = true;
  143|       |  if (!b) return;
  144|       |#endif
  145|  21.0k|  FMT_THROW(format_error(message));
  ------------------
  |  |  175|  21.0k|#  define FMT_THROW(x) throw x
  ------------------
  146|  21.0k|}
_ZN3fmt3v127vformatENS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEE:
 1441|  10.5k|FMT_FUNC auto vformat(string_view fmt, format_args args) -> std::string {
 1442|       |  // Don't optimize the "{}" case to keep the binary size small and because it
 1443|       |  // can be better optimized in fmt::format anyway.
 1444|  10.5k|  auto buffer = memory_buffer();
 1445|  10.5k|  detail::vformat_to(buffer, fmt, args);
 1446|  10.5k|  return to_string(buffer);
 1447|  10.5k|}

_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEEC2ERKS4_:
  840|  36.5k|      : detail::buffer<T>(grow), alloc_(alloc) {
  841|  36.5k|    this->set(store_, SIZE);
  842|  36.5k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (842:9): [Folded, False: 36.5k]
  ------------------
  843|  36.5k|  }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE4growERNS2_6bufferIcEEm:
  810|  34.8k|  static FMT_CONSTEXPR20 void grow(detail::buffer<T>& buf, size_t size) {
  811|  34.8k|    detail::abort_fuzzing_if(size > 5000);
  812|  34.8k|    auto& self = static_cast<basic_memory_buffer&>(buf);
  813|  34.8k|    const size_t max_size =
  814|  34.8k|        std::allocator_traits<Allocator>::max_size(self.alloc_);
  815|  34.8k|    size_t old_capacity = buf.capacity();
  816|  34.8k|    size_t new_capacity = old_capacity + old_capacity / 2;
  817|  34.8k|    if (size > new_capacity)
  ------------------
  |  Branch (817:9): [True: 12.3k, False: 22.5k]
  ------------------
  818|  12.3k|      new_capacity = size;
  819|  22.5k|    else if (new_capacity > max_size)
  ------------------
  |  Branch (819:14): [True: 0, False: 22.5k]
  ------------------
  820|      0|      new_capacity = max_of(size, max_size);
  821|  34.8k|    T* old_data = buf.data();
  822|  34.8k|    T* new_data = self.alloc_.allocate(new_capacity);
  823|       |    // Suppress a bogus -Wstringop-overflow in gcc 13.1 (#3481).
  824|  34.8k|    detail::assume(buf.size() <= new_capacity);
  825|       |    // The following code doesn't throw, so the raw pointer above doesn't leak.
  826|  34.8k|    memcpy(new_data, old_data, buf.size() * sizeof(T));
  827|  34.8k|    self.set(new_data, new_capacity);
  828|       |    // deallocate must not throw according to the standard, but even if it does,
  829|       |    // the buffer already uses the new storage and will deallocate it in
  830|       |    // destructor.
  831|  34.8k|    if (old_data != self.store_) self.alloc_.deallocate(old_data, old_capacity);
  ------------------
  |  Branch (831:9): [True: 20.3k, False: 14.5k]
  ------------------
  832|  34.8k|  }
_ZN3fmt3v126detail16abort_fuzzing_ifEb:
  252|  34.8k|FMT_CONSTEXPR inline void abort_fuzzing_if(bool condition) {
  253|  34.8k|  ignore_unused(condition);
  254|       |#ifdef FMT_FUZZ
  255|       |  if (condition) throw std::runtime_error("fuzzing limit reached");
  256|       |#endif
  257|  34.8k|}
_ZN3fmt3v126detail9allocatorIcE8allocateEm:
  749|  34.8k|  auto allocate(size_t n) -> T* {
  750|  34.8k|    FMT_ASSERT(n <= max_value<size_t>() / sizeof(T), "");
  ------------------
  |  |  395|  34.8k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 34.8k, False: 0]
  |  |  ------------------
  |  |  396|  34.8k|         ? (void)0                                                          \
  |  |  397|  34.8k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  751|  34.8k|    T* p = static_cast<T*>(malloc(n * sizeof(T)));
  752|  34.8k|    if (!p) FMT_THROW(std::bad_alloc());
  ------------------
  |  |  175|      0|#  define FMT_THROW(x) throw x
  ------------------
  |  Branch (752:9): [True: 0, False: 34.8k]
  ------------------
  753|  34.8k|    return p;
  754|  34.8k|  }
_ZN3fmt3v126detail9max_valueImEET_v:
  427|  34.8k|template <typename T> constexpr auto max_value() -> T {
  428|  34.8k|  return (std::numeric_limits<T>::max)();
  429|  34.8k|}
_ZN3fmt3v126detail6assumeEb:
  479|  45.3k|FMT_INLINE void assume(bool condition) {
  480|  45.3k|  (void)condition;
  481|  45.3k|#if FMT_HAS_BUILTIN(__builtin_assume) && !FMT_ICC_VERSION
  482|  45.3k|  __builtin_assume(condition);
  483|       |#elif FMT_GCC_VERSION
  484|       |  if (!condition) __builtin_unreachable();
  485|       |#endif
  486|  45.3k|}
_ZN3fmt3v126detail9allocatorIcE10deallocateEPcm:
  756|  34.8k|  void deallocate(T* p, size_t) { free(p); }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEED2Ev:
  844|  36.5k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE10deallocateEv:
  805|  36.5k|  FMT_CONSTEXPR20 void deallocate() {
  806|  36.5k|    T* data = this->data();
  807|  36.5k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (807:9): [True: 14.5k, False: 21.9k]
  ------------------
  808|  36.5k|  }
_ZN3fmt3v1210format_intC2Ei:
 4190|  4.19k|  FMT_CONSTEXPR20 explicit format_int(int value) : str_(format_signed(value)) {}
_ZN3fmt3v1210format_int13format_signedIiEEPcT_:
 4180|  4.19k|  FMT_CONSTEXPR20 auto format_signed(Int value) -> char* {
 4181|  4.19k|    auto abs_value = static_cast<detail::uint32_or_64_or_128_t<Int>>(value);
 4182|  4.19k|    bool negative = value < 0;
 4183|  4.19k|    if (negative) abs_value = 0 - abs_value;
  ------------------
  |  Branch (4183:9): [True: 0, False: 4.19k]
  ------------------
 4184|  4.19k|    auto begin = format_unsigned(abs_value);
 4185|  4.19k|    if (negative) *--begin = '-';
  ------------------
  |  Branch (4185:9): [True: 0, False: 4.19k]
  ------------------
 4186|  4.19k|    return begin;
 4187|  4.19k|  }
_ZN3fmt3v1210format_int15format_unsignedIjEEPcT_:
 4174|  4.19k|  FMT_CONSTEXPR20 auto format_unsigned(UInt value) -> char* {
 4175|  4.19k|    auto n = static_cast<detail::uint32_or_64_or_128_t<UInt>>(value);
 4176|  4.19k|    return detail::do_format_decimal(buffer_, n, buffer_size - 1);
 4177|  4.19k|  }
_ZN3fmt3v126detail17do_format_decimalIcjEEPT_S4_T0_i:
 1220|  14.7k|    -> Char* {
 1221|  14.7k|  FMT_ASSERT(size >= count_digits(value), "invalid digit count");
  ------------------
  |  |  395|  14.7k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 14.7k, False: 0]
  |  |  ------------------
  |  |  396|  14.7k|         ? (void)0                                                          \
  |  |  397|  14.7k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1222|  14.7k|  unsigned n = to_unsigned(size);
 1223|  15.0k|  while (value >= 100) {
  ------------------
  |  Branch (1223:10): [True: 325, False: 14.7k]
  ------------------
 1224|       |    // Integer division is slow so do it for a group of two digits instead
 1225|       |    // of for every digit. The idea comes from the talk by Alexandrescu
 1226|       |    // "Three Optimization Tips for C++". See speed-test for a comparison.
 1227|    325|    n -= 2;
 1228|    325|    write2digits(out + n, static_cast<unsigned>(value % 100));
 1229|    325|    value /= 100;
 1230|    325|  }
 1231|  14.7k|  if (value >= 10) {
  ------------------
  |  Branch (1231:7): [True: 14.7k, False: 0]
  ------------------
 1232|  14.7k|    n -= 2;
 1233|  14.7k|    write2digits(out + n, static_cast<unsigned>(value));
 1234|  14.7k|  } else {
 1235|      0|    out[--n] = static_cast<Char>('0' + value);
 1236|      0|  }
 1237|  14.7k|  return out + n;
 1238|  14.7k|}
_ZN3fmt3v126detail12count_digitsEj:
 1146|  25.2k|FMT_CONSTEXPR20 inline auto count_digits(uint32_t n) -> int {
 1147|  25.2k|#ifdef FMT_BUILTIN_CLZ
 1148|  25.2k|  if (!is_constant_evaluated() && !FMT_OPTIMIZE_SIZE) return do_count_digits(n);
  ------------------
  |  |  290|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1148:7): [True: 0, Folded]
  |  Branch (1148:35): [True: 0, Folded]
  ------------------
 1149|      0|#endif
 1150|      0|  return count_digits_fallback(n);
 1151|  25.2k|}
_ZN3fmt3v126detail15do_count_digitsEj:
 1123|  25.2k|FMT_INLINE auto do_count_digits(uint32_t n) -> int {
 1124|       |// An optimization by Kendall Willets from https://bit.ly/3uOIQrB.
 1125|       |// This increments the upper 32 bits (log10(T) - 1) when >= T is added.
 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
 1127|  25.2k|  static constexpr uint64_t table[] = {
 1128|  25.2k|      FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1129|  25.2k|      FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1130|  25.2k|      FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1131|  25.2k|      FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1132|  25.2k|      FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1133|  25.2k|      FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1134|  25.2k|      FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1135|  25.2k|      FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1136|  25.2k|      FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1137|  25.2k|      FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1138|  25.2k|      FMT_INC(1000000000), FMT_INC(1000000000)                        // 4B
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000)                        // 4B
  ------------------
  |  | 1126|  25.2k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1139|  25.2k|  };
 1140|  25.2k|  auto inc = table[FMT_BUILTIN_CLZ(n | 1) ^ 31];
  ------------------
  |  |  206|  25.2k|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1141|  25.2k|  return static_cast<int>((n + inc) >> 32);
 1142|  25.2k|}
_ZN3fmt3v126detail12write2digitsIcEEvPT_m:
 1206|   423k|FMT_CONSTEXPR20 FMT_INLINE void write2digits(Char* out, size_t value) {
 1207|   423k|  if (!is_constant_evaluated() && std::is_same<Char, char>::value &&
  ------------------
  |  Branch (1207:7): [True: 0, Folded]
  |  Branch (1207:35): [True: 0, Folded]
  ------------------
 1208|   423k|      !FMT_OPTIMIZE_SIZE) {
  ------------------
  |  |  290|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1208:7): [True: 0, Folded]
  ------------------
 1209|   423k|    memcpy(out, digits2(value), 2);
 1210|   423k|    return;
 1211|   423k|  }
 1212|      0|  *out++ = static_cast<Char>('0' + value / 10);
 1213|      0|  *out = static_cast<Char>('0' + value % 10);
 1214|      0|}
_ZN3fmt3v126detail7digits2Em:
 1036|   423k|inline auto digits2(size_t value) -> const char* {
 1037|       |  // Align data since unaligned access may be slower when crossing a
 1038|       |  // hardware-specific boundary.
 1039|   423k|  alignas(2) static const char data[] =
 1040|   423k|      "0001020304050607080910111213141516171819"
 1041|   423k|      "2021222324252627282930313233343536373839"
 1042|   423k|      "4041424344454647484950515253545556575859"
 1043|   423k|      "6061626364656667686970717273747576777879"
 1044|   423k|      "8081828384858687888990919293949596979899";
 1045|   423k|  return &data[value * 2];
 1046|   423k|}
_ZNK3fmt3v1210format_int4dataEv:
 4209|  8.38k|  FMT_CONSTEXPR20 auto data() const -> const char* { return str_; }
_ZNK3fmt3v1210format_int4sizeEv:
 4203|  4.19k|  FMT_CONSTEXPR20 auto size() const -> size_t {
 4204|  4.19k|    return detail::to_unsigned(buffer_ - str_ + buffer_size - 1);
 4205|  4.19k|  }
_ZN3fmt3v126detail6equal2EPKcS3_:
 1200|  1.48k|inline auto equal2(const char* lhs, const char* rhs) -> bool {
 1201|  1.48k|  return memcmp(lhs, rhs, 2) == 0;
 1202|  1.48k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclIiTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3660|  10.5k|  void operator()(T value) {
 3661|  10.5k|    write<Char>(out, value);
 3662|  10.5k|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEiTnNSt3__19enable_ifIXaaaasr11is_integralIT1_EE5valuentsr3std7is_sameIS7_bEE5valuentsr3std7is_sameIS7_T_EE5valueEiE4typeELi0EEET0_SB_S7_:
 2295|  10.5k|FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt {
 2296|  10.5k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2297|  10.5k|  bool negative = is_negative(value);
 2298|       |  // Don't do -abs_value since it trips unsigned-integer-overflow sanitizer.
 2299|  10.5k|  if (negative) abs_value = ~abs_value + 1;
  ------------------
  |  Branch (2299:7): [True: 0, False: 10.5k]
  ------------------
 2300|  10.5k|  int num_digits = count_digits(abs_value);
 2301|  10.5k|  auto size = (negative ? 1 : 0) + static_cast<size_t>(num_digits);
  ------------------
  |  Branch (2301:16): [True: 0, False: 10.5k]
  ------------------
 2302|  10.5k|  if (auto ptr = to_pointer<Char>(out, size)) {
  ------------------
  |  Branch (2302:12): [True: 10.5k, False: 0]
  ------------------
 2303|  10.5k|    if (negative) *ptr++ = static_cast<Char>('-');
  ------------------
  |  Branch (2303:9): [True: 0, False: 10.5k]
  ------------------
 2304|  10.5k|    format_decimal<Char>(ptr, abs_value, num_digits);
 2305|  10.5k|    return out;
 2306|  10.5k|  }
 2307|      0|  if (negative) *out++ = static_cast<Char>('-');
  ------------------
  |  Branch (2307:7): [True: 0, False: 0]
  ------------------
 2308|      0|  return format_decimal<Char>(out, abs_value, num_digits);
 2309|  10.5k|}
_ZN3fmt3v126detail11is_negativeIiTnNSt3__19enable_ifIXsr9is_signedIT_EE5valueEiE4typeELi0EEEbS5_:
 1011|  10.5k|constexpr auto is_negative(T value) -> bool {
 1012|  10.5k|  return value < 0;
 1013|  10.5k|}
_ZN3fmt3v126detail10to_pointerIcEEPT_NS0_14basic_appenderIS3_EEm:
  531|  46.7k|FMT_CONSTEXPR20 auto to_pointer(basic_appender<T> it, size_t n) -> T* {
  532|  46.7k|  buffer<T>& buf = get_container(it);
  533|  46.7k|  buf.try_reserve(buf.size() + n);
  534|  46.7k|  auto size = buf.size();
  535|  46.7k|  if (buf.capacity() < size + n) return nullptr;
  ------------------
  |  Branch (535:7): [True: 0, False: 46.7k]
  ------------------
  536|  46.7k|  buf.try_resize(size + n);
  537|  46.7k|  return buf.data() + size;
  538|  46.7k|}
_ZN3fmt3v126detail14format_decimalIcjEEPT_S4_T0_i:
 1242|  10.5k|                                             int num_digits) -> Char* {
 1243|  10.5k|  do_format_decimal(out, value, num_digits);
 1244|  10.5k|  return out + num_digits;
 1245|  10.5k|}
_ZN3fmt3v126detail12count_digitsEm:
 1096|  82.7k|FMT_CONSTEXPR20 inline auto count_digits(uint64_t n) -> int {
 1097|  82.7k|#ifdef FMT_BUILTIN_CLZLL
 1098|  82.7k|  if (!is_constant_evaluated() && !FMT_OPTIMIZE_SIZE) return do_count_digits(n);
  ------------------
  |  |  290|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1098:7): [True: 0, Folded]
  |  Branch (1098:35): [True: 0, Folded]
  ------------------
 1099|      0|#endif
 1100|      0|  return count_digits_fallback(n);
 1101|  82.7k|}
_ZN3fmt3v126detail15do_count_digitsEm:
 1076|  82.7k|inline auto do_count_digits(uint64_t n) -> int {
 1077|       |  // This has comparable performance to the version by Kendall Willets
 1078|       |  // (https://github.com/fmtlib/format-benchmark/blob/master/digits10)
 1079|       |  // but uses smaller tables.
 1080|       |  // Maps bsr(n) to ceil(log10(pow(2, bsr(n) + 1) - 1)).
 1081|  82.7k|  static constexpr uint8_t bsr2log10[] = {
 1082|  82.7k|      1,  1,  1,  2,  2,  2,  3,  3,  3,  4,  4,  4,  4,  5,  5,  5,
 1083|  82.7k|      6,  6,  6,  7,  7,  7,  7,  8,  8,  8,  9,  9,  9,  10, 10, 10,
 1084|  82.7k|      10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 15, 15,
 1085|  82.7k|      15, 16, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 19, 20};
 1086|  82.7k|  auto t = bsr2log10[FMT_BUILTIN_CLZLL(n | 1) ^ 63];
  ------------------
  |  |  209|  82.7k|#    define FMT_BUILTIN_CLZLL(n) __builtin_clzll(n)
  ------------------
 1087|  82.7k|  static constexpr uint64_t zero_or_powers_of_10[] = {
 1088|  82.7k|      0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL),
  ------------------
  |  | 1030|  82.7k|  factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, \
  |  | 1031|  82.7k|      (factor) * 100000, (factor) * 1000000, (factor) * 10000000, \
  |  | 1032|  82.7k|      (factor) * 100000000, (factor) * 1000000000
  ------------------
                    0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL),
  ------------------
  |  | 1030|  82.7k|  factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, \
  |  | 1031|  82.7k|      (factor) * 100000, (factor) * 1000000, (factor) * 10000000, \
  |  | 1032|  82.7k|      (factor) * 100000000, (factor) * 1000000000
  ------------------
 1089|  82.7k|      10000000000000000000ULL};
 1090|  82.7k|  return t - (n < zero_or_powers_of_10[t]);
 1091|  82.7k|}
_ZN3fmt3v126detail14format_decimalIcmEEPT_S4_T0_i:
 1242|  21.8k|                                             int num_digits) -> Char* {
 1243|  21.8k|  do_format_decimal(out, value, num_digits);
 1244|  21.8k|  return out + num_digits;
 1245|  21.8k|}
_ZN3fmt3v126detail17do_format_decimalIcmEEPT_S4_T0_i:
 1220|  53.5k|    -> Char* {
 1221|  53.5k|  FMT_ASSERT(size >= count_digits(value), "invalid digit count");
  ------------------
  |  |  395|  53.5k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 53.5k, False: 0]
  |  |  ------------------
  |  |  396|  53.5k|         ? (void)0                                                          \
  |  |  397|  53.5k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1222|  53.5k|  unsigned n = to_unsigned(size);
 1223|   431k|  while (value >= 100) {
  ------------------
  |  Branch (1223:10): [True: 377k, False: 53.5k]
  ------------------
 1224|       |    // Integer division is slow so do it for a group of two digits instead
 1225|       |    // of for every digit. The idea comes from the talk by Alexandrescu
 1226|       |    // "Three Optimization Tips for C++". See speed-test for a comparison.
 1227|   377k|    n -= 2;
 1228|   377k|    write2digits(out + n, static_cast<unsigned>(value % 100));
 1229|   377k|    value /= 100;
 1230|   377k|  }
 1231|  53.5k|  if (value >= 10) {
  ------------------
  |  Branch (1231:7): [True: 30.8k, False: 22.7k]
  ------------------
 1232|  30.8k|    n -= 2;
 1233|  30.8k|    write2digits(out + n, static_cast<unsigned>(value));
 1234|  30.8k|  } else {
 1235|  22.7k|    out[--n] = static_cast<Char>('0' + value);
 1236|  22.7k|  }
 1237|  53.5k|  return out + n;
 1238|  53.5k|}
_ZN3fmt3v126detail14format_decimalIcmNS0_14basic_appenderIcEETnNSt3__19enable_ifIXntsr3std10is_pointerINS5_9remove_cvINS5_16remove_referenceIT1_E4typeEE4typeEEE5valueEiE4typeELi0EEES9_S9_T0_i:
 1250|  7.28k|    -> OutputIt {
 1251|  7.28k|  if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
  ------------------
  |  Branch (1251:12): [True: 7.28k, False: 0]
  ------------------
 1252|  7.28k|    do_format_decimal(ptr, value, num_digits);
 1253|  7.28k|    return out;
 1254|  7.28k|  }
 1255|       |  // Buffer is large enough to hold all digits (digits10 + 1).
 1256|      0|  char buffer[digits10<UInt>() + 1];
 1257|      0|  if (is_constant_evaluated()) fill_n(buffer, sizeof(buffer), '\0');
  ------------------
  |  Branch (1257:7): [Folded, False: 0]
  ------------------
 1258|      0|  do_format_decimal(buffer, value, num_digits);
 1259|      0|  return copy_noinline<Char>(buffer, buffer + num_digits, out);
 1260|  7.28k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclIyTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3660|  21.8k|  void operator()(T value) {
 3661|  21.8k|    write<Char>(out, value);
 3662|  21.8k|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEyTnNSt3__19enable_ifIXaaaasr11is_integralIT1_EE5valuentsr3std7is_sameIS7_bEE5valuentsr3std7is_sameIS7_T_EE5valueEiE4typeELi0EEET0_SB_S7_:
 2295|  21.8k|FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt {
 2296|  21.8k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2297|  21.8k|  bool negative = is_negative(value);
 2298|       |  // Don't do -abs_value since it trips unsigned-integer-overflow sanitizer.
 2299|  21.8k|  if (negative) abs_value = ~abs_value + 1;
  ------------------
  |  Branch (2299:7): [True: 0, False: 21.8k]
  ------------------
 2300|  21.8k|  int num_digits = count_digits(abs_value);
 2301|  21.8k|  auto size = (negative ? 1 : 0) + static_cast<size_t>(num_digits);
  ------------------
  |  Branch (2301:16): [True: 0, False: 21.8k]
  ------------------
 2302|  21.8k|  if (auto ptr = to_pointer<Char>(out, size)) {
  ------------------
  |  Branch (2302:12): [True: 21.8k, False: 0]
  ------------------
 2303|  21.8k|    if (negative) *ptr++ = static_cast<Char>('-');
  ------------------
  |  Branch (2303:9): [True: 0, False: 21.8k]
  ------------------
 2304|  21.8k|    format_decimal<Char>(ptr, abs_value, num_digits);
 2305|  21.8k|    return out;
 2306|  21.8k|  }
 2307|      0|  if (negative) *out++ = static_cast<Char>('-');
  ------------------
  |  Branch (2307:7): [True: 0, False: 0]
  ------------------
 2308|      0|  return format_decimal<Char>(out, abs_value, num_digits);
 2309|  21.8k|}
_ZN3fmt3v126detail11is_negativeIyTnNSt3__19enable_ifIXntsr9is_signedIT_EE5valueEiE4typeELi0EEEbS5_:
 1015|   104k|constexpr auto is_negative(T) -> bool {
 1016|   104k|  return false;
 1017|   104k|}
_ZNK3fmt3v1212format_facetINSt3__16localeEE3putENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsE:
 3913|  14.7k|      -> bool {
 3914|  14.7k|    return do_put(out, val, specs);
 3915|  14.7k|  }
_ZN3fmt3v129loc_value5visitINS0_6detail10loc_writerIcEEEEDTclfp_Li0EEEOT_:
 3885|  14.7k|  template <typename Visitor> auto visit(Visitor&& vis) -> decltype(vis(0)) {
 3886|  14.7k|    return value_.visit(vis);
 3887|  14.7k|  }
_ZN3fmt3v126detail9write_intINS0_14basic_appenderIcEEmcEET_S5_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EE:
 1941|  14.7k|    -> OutputIt {
 1942|  14.7k|  static_assert(std::is_same<uint64_or_128_t<UInt>, UInt>::value, "");
 1943|  14.7k|  int num_digits = 0;
 1944|  14.7k|  auto buffer = memory_buffer();
 1945|  14.7k|  switch (specs.type()) {
 1946|      0|  default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  395|      0|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [Folded, False: 0]
  |  |  ------------------
  |  |  396|      0|         ? (void)0                                                          \
  |  |  397|      0|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
                default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1946:3): [True: 0, False: 14.7k]
  ------------------
 1947|  6.77k|  case presentation_type::none:
  ------------------
  |  Branch (1947:3): [True: 6.77k, False: 7.95k]
  ------------------
 1948|  7.28k|  case presentation_type::dec:
  ------------------
  |  Branch (1948:3): [True: 504, False: 14.2k]
  ------------------
 1949|  7.28k|    num_digits = count_digits(value);
 1950|  7.28k|    format_decimal<char>(appender(buffer), value, num_digits);
 1951|  7.28k|    break;
 1952|  2.44k|  case presentation_type::hex:
  ------------------
  |  Branch (1952:3): [True: 2.44k, False: 12.2k]
  ------------------
 1953|  2.44k|    if (specs.alt())
  ------------------
  |  Branch (1953:9): [True: 1.32k, False: 1.12k]
  ------------------
 1954|  1.32k|      prefix_append(prefix, unsigned(specs.upper() ? 'X' : 'x') << 8 | '0');
  ------------------
  |  Branch (1954:38): [True: 776, False: 544]
  ------------------
 1955|  2.44k|    num_digits = count_digits<4>(value);
 1956|  2.44k|    format_base2e<char>(4, appender(buffer), value, num_digits, specs.upper());
 1957|  2.44k|    break;
 1958|  2.76k|  case presentation_type::oct:
  ------------------
  |  Branch (1958:3): [True: 2.76k, False: 11.9k]
  ------------------
 1959|  2.76k|    num_digits = count_digits<3>(value);
 1960|       |    // Octal prefix '0' is counted as a digit, so only add it if precision
 1961|       |    // is not greater than the number of digits.
 1962|  2.76k|    if (specs.alt() && specs.precision <= num_digits && value != 0)
  ------------------
  |  Branch (1962:9): [True: 2.08k, False: 680]
  |  Branch (1962:24): [True: 2.08k, False: 0]
  |  Branch (1962:57): [True: 1.88k, False: 208]
  ------------------
 1963|  1.88k|      prefix_append(prefix, '0');
 1964|  2.76k|    format_base2e<char>(3, appender(buffer), value, num_digits);
 1965|  2.76k|    break;
 1966|  1.95k|  case presentation_type::bin:
  ------------------
  |  Branch (1966:3): [True: 1.95k, False: 12.7k]
  ------------------
 1967|  1.95k|    if (specs.alt())
  ------------------
  |  Branch (1967:9): [True: 1.22k, False: 728]
  ------------------
 1968|  1.22k|      prefix_append(prefix, unsigned(specs.upper() ? 'B' : 'b') << 8 | '0');
  ------------------
  |  Branch (1968:38): [True: 1.17k, False: 48]
  ------------------
 1969|  1.95k|    num_digits = count_digits<1>(value);
 1970|  1.95k|    format_base2e<char>(1, appender(buffer), value, num_digits);
 1971|  1.95k|    break;
 1972|    288|  case presentation_type::chr:
  ------------------
  |  Branch (1972:3): [True: 288, False: 14.4k]
  ------------------
 1973|    288|    return write_char<Char>(out, static_cast<Char>(value), specs);
 1974|  14.7k|  }
 1975|       |
 1976|  14.4k|  unsigned size = (prefix != 0 ? prefix >> 24 : 0) + to_unsigned(num_digits) +
  ------------------
  |  Branch (1976:20): [True: 4.42k, False: 10.0k]
  ------------------
 1977|  14.4k|                  to_unsigned(grouping.count_separators(num_digits));
 1978|  14.4k|  return write_padded<Char, align::right>(
 1979|  14.4k|      out, specs, size, size, [&](reserve_iterator<OutputIt> it) {
 1980|  14.4k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
 1981|  14.4k|          *it++ = static_cast<Char>(p & 0xff);
 1982|  14.4k|        return grouping.apply(it, string_view(buffer.data(), buffer.size()));
 1983|  14.4k|      });
 1984|  14.7k|}
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEEC2ERKS4_:
  840|  25.2k|      : detail::buffer<T>(grow), alloc_(alloc) {
  841|  25.2k|    this->set(store_, SIZE);
  842|  25.2k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (842:9): [Folded, False: 25.2k]
  ------------------
  843|  25.2k|  }
_ZN3fmt3v126detail13prefix_appendERjj:
 1932|  18.8k|FMT_CONSTEXPR inline void prefix_append(unsigned& prefix, unsigned value) {
 1933|  18.8k|  prefix |= prefix != 0 ? value << 8 : value;
  ------------------
  |  Branch (1933:13): [True: 0, False: 18.8k]
  ------------------
 1934|  18.8k|  prefix += (1u + (value > 0xff ? 1 : 0)) << 24;
  ------------------
  |  Branch (1934:20): [True: 15.4k, False: 3.34k]
  ------------------
 1935|  18.8k|}
_ZN3fmt3v126detail12count_digitsILi4EmEEiT0_:
 1105|  2.44k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1106|  2.44k|#ifdef FMT_BUILTIN_CLZ
 1107|  2.44k|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1107:7): [True: 0, Folded]
  |  Branch (1107:35): [Folded, False: 0]
  ------------------
 1108|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  206|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1109|  2.44k|#endif
 1110|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1111|  2.44k|  return [](UInt m) {
 1112|  2.44k|    int num_digits = 0;
 1113|  2.44k|    do {
 1114|  2.44k|      ++num_digits;
 1115|  2.44k|    } while ((m >>= BITS) != 0);
 1116|  2.44k|    return num_digits;
 1117|  2.44k|  }(n);
 1118|  2.44k|}
_ZZN3fmt3v126detail12count_digitsILi4EmEEiT0_ENKUlmE_clEm:
 1111|  2.44k|  return [](UInt m) {
 1112|  2.44k|    int num_digits = 0;
 1113|  36.0k|    do {
 1114|  36.0k|      ++num_digits;
 1115|  36.0k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1115:14): [True: 33.5k, False: 2.44k]
  ------------------
 1116|  2.44k|    return num_digits;
 1117|  2.44k|  }(n);
_ZN3fmt3v126detail13format_base2eIcNS0_14basic_appenderIcEEmTnNSt3__19enable_ifIXsr23is_back_insert_iteratorIT0_EE5valueEiE4typeELi0EEES7_iS7_T1_ib:
 1287|  7.16k|    -> OutputIt {
 1288|  7.16k|  if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
  ------------------
  |  Branch (1288:12): [True: 7.16k, False: 0]
  ------------------
 1289|  7.16k|    format_base2e(base_bits, ptr, value, num_digits, upper);
 1290|  7.16k|    return out;
 1291|  7.16k|  }
 1292|       |  // Make buffer large enough for any base.
 1293|      0|  char buffer[num_bits<UInt>()];
 1294|      0|  if (is_constant_evaluated()) fill_n(buffer, sizeof(buffer), '\0');
  ------------------
  |  Branch (1294:7): [Folded, False: 0]
  ------------------
 1295|      0|  format_base2e(base_bits, buffer, value, num_digits, upper);
 1296|      0|  return detail::copy_noinline<Char>(buffer, buffer + num_digits, out);
 1297|  7.16k|}
_ZN3fmt3v126detail13format_base2eIcmEEPT_iS4_T0_ib:
 1278|  7.16k|                                 int num_digits, bool upper = false) -> Char* {
 1279|  7.16k|  do_format_base2e(base_bits, out, value, num_digits, upper);
 1280|  7.16k|  return out + num_digits;
 1281|  7.16k|}
_ZN3fmt3v126detail16do_format_base2eIcmEEPT_iS4_T0_ib:
 1264|  33.2k|                                    int size, bool upper = false) -> Char* {
 1265|  33.2k|  out += size;
 1266|  1.12M|  do {
 1267|  1.12M|    const char* digits = upper ? "0123456789ABCDEF" : "0123456789abcdef";
  ------------------
  |  Branch (1267:26): [True: 62.7k, False: 1.06M]
  ------------------
 1268|  1.12M|    unsigned digit = static_cast<unsigned>(value & ((1u << base_bits) - 1));
 1269|  1.12M|    *--out = static_cast<Char>(base_bits < 4 ? static_cast<char>('0' + digit)
  ------------------
  |  Branch (1269:32): [True: 937k, False: 186k]
  ------------------
 1270|  1.12M|                                             : digits[digit]);
 1271|  1.12M|  } while ((value >>= base_bits) != 0);
  ------------------
  |  Branch (1271:12): [True: 1.09M, False: 33.2k]
  ------------------
 1272|  33.2k|  return out;
 1273|  33.2k|}
_ZN3fmt3v126detail12count_digitsILi3EmEEiT0_:
 1105|  2.76k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1106|  2.76k|#ifdef FMT_BUILTIN_CLZ
 1107|  2.76k|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1107:7): [True: 0, Folded]
  |  Branch (1107:35): [Folded, False: 0]
  ------------------
 1108|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  206|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1109|  2.76k|#endif
 1110|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1111|  2.76k|  return [](UInt m) {
 1112|  2.76k|    int num_digits = 0;
 1113|  2.76k|    do {
 1114|  2.76k|      ++num_digits;
 1115|  2.76k|    } while ((m >>= BITS) != 0);
 1116|  2.76k|    return num_digits;
 1117|  2.76k|  }(n);
 1118|  2.76k|}
_ZZN3fmt3v126detail12count_digitsILi3EmEEiT0_ENKUlmE_clEm:
 1111|  2.76k|  return [](UInt m) {
 1112|  2.76k|    int num_digits = 0;
 1113|  45.6k|    do {
 1114|  45.6k|      ++num_digits;
 1115|  45.6k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1115:14): [True: 42.8k, False: 2.76k]
  ------------------
 1116|  2.76k|    return num_digits;
 1117|  2.76k|  }(n);
_ZN3fmt3v126detail12count_digitsILi1EmEEiT0_:
 1105|  1.95k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1106|  1.95k|#ifdef FMT_BUILTIN_CLZ
 1107|  1.95k|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1107:7): [True: 0, Folded]
  |  Branch (1107:35): [Folded, False: 0]
  ------------------
 1108|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  206|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1109|  1.95k|#endif
 1110|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1111|  1.95k|  return [](UInt m) {
 1112|  1.95k|    int num_digits = 0;
 1113|  1.95k|    do {
 1114|  1.95k|      ++num_digits;
 1115|  1.95k|    } while ((m >>= BITS) != 0);
 1116|  1.95k|    return num_digits;
 1117|  1.95k|  }(n);
 1118|  1.95k|}
_ZZN3fmt3v126detail12count_digitsILi1EmEEiT0_ENKUlmE_clEm:
 1111|  1.95k|  return [](UInt m) {
 1112|  1.95k|    int num_digits = 0;
 1113|   117k|    do {
 1114|   117k|      ++num_digits;
 1115|   117k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1115:14): [True: 115k, False: 1.95k]
  ------------------
 1116|  1.95k|    return num_digits;
 1117|  1.95k|  }(n);
_ZN3fmt3v126detail10write_charIcNS0_14basic_appenderIcEEEET0_S5_T_RKNS0_12format_specsE:
 1859|  12.1k|                              const format_specs& specs) -> OutputIt {
 1860|  12.1k|  bool is_debug = specs.type() == presentation_type::debug;
 1861|  12.1k|  return write_padded<Char>(out, specs, 1, [=](reserve_iterator<OutputIt> it) {
 1862|  12.1k|    if (is_debug) return write_escaped_char(it, value);
 1863|  12.1k|    *it++ = value;
 1864|  12.1k|    return it;
 1865|  12.1k|  });
 1866|  12.1k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEEZNS1_10write_charIcS5_EET0_S7_T_RKNS0_12format_specsEEUlS5_E_EET1_SD_SB_mOT2_:
 1709|  12.1k|                            size_t size, F&& f) -> OutputIt {
 1710|  12.1k|  return write_padded<Char, default_align>(out, specs, size, size, f);
 1711|  12.1k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEERZNS1_10write_charIcS5_EET0_S7_T_RKNS0_12format_specsEEUlS5_E_EET1_SE_SB_mmOT2_:
 1688|  12.1k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  12.1k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  12.1k|                "");
 1691|  12.1k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  12.1k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 6.68k, False: 5.49k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  12.1k|  auto* shifts =
 1696|  12.1k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [True: 12.1k, Folded]
  ------------------
 1697|  12.1k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  12.1k|  size_t right_padding = padding - left_padding;
 1699|  12.1k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  12.1k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 5.61k, False: 6.56k]
  ------------------
 1701|  12.1k|  it = f(it);
 1702|  12.1k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 6.49k, False: 5.68k]
  ------------------
 1703|  12.1k|  return base_iterator(out, it);
 1704|  12.1k|}
_ZN3fmt3v126detail7reserveIcEENS0_14basic_appenderIT_EES5_m:
  506|   138k|    -> basic_appender<T> {
  507|   138k|  buffer<T>& buf = get_container(it);
  508|   138k|  buf.try_reserve(buf.size() + n);
  509|   138k|  return it;
  510|   138k|}
_ZN3fmt3v126detail4fillIcNS0_14basic_appenderIcEEEET0_S5_mRKNS0_11basic_specsE:
 1673|  37.2k|                                     const basic_specs& specs) -> OutputIt {
 1674|  37.2k|  auto fill_size = specs.fill_size();
 1675|  37.2k|  if (fill_size == 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
  ------------------
  |  Branch (1675:7): [True: 35.0k, False: 2.24k]
  ------------------
 1676|  2.24k|  if (const Char* data = specs.fill<Char>()) {
  ------------------
  |  Branch (1676:19): [True: 2.24k, False: 0]
  ------------------
 1677|   882M|    for (size_t i = 0; i < n; ++i) it = copy<Char>(data, data + fill_size, it);
  ------------------
  |  Branch (1677:24): [True: 882M, False: 2.24k]
  ------------------
 1678|  2.24k|  }
 1679|  2.24k|  return it;
 1680|  37.2k|}
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEmcEET_S5_T0_RKT1_:
  558|  35.0k|    -> OutputIt {
  559|  77.9G|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (559:20): [True: 77.9G, False: 35.0k]
  ------------------
  560|  35.0k|  return out;
  561|  35.0k|}
_ZZN3fmt3v126detail10write_charIcNS0_14basic_appenderIcEEEET0_S5_T_RKNS0_12format_specsEENKUlS4_E_clES4_:
 1861|  12.1k|  return write_padded<Char>(out, specs, 1, [=](reserve_iterator<OutputIt> it) {
 1862|  12.1k|    if (is_debug) return write_escaped_char(it, value);
  ------------------
  |  Branch (1862:9): [True: 0, False: 12.1k]
  ------------------
 1863|  12.1k|    *it++ = value;
 1864|  12.1k|    return it;
 1865|  12.1k|  });
_ZN3fmt3v126detail12needs_escapeEj:
 1740|   476M|inline auto needs_escape(uint32_t cp) -> bool {
 1741|   476M|  if (cp < 0x20 || cp == 0x7f || cp == '"' || cp == '\\') return true;
  ------------------
  |  Branch (1741:7): [True: 220M, False: 255M]
  |  Branch (1741:20): [True: 821k, False: 254M]
  |  Branch (1741:34): [True: 11.1M, False: 243M]
  |  Branch (1741:47): [True: 468k, False: 243M]
  ------------------
 1742|   243M|  if (const_check(FMT_OPTIMIZE_SIZE > 1)) return false;
  ------------------
  |  |  290|   243M|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1742:7): [Folded, False: 243M]
  ------------------
 1743|   243M|  return !is_printable(cp);
 1744|   243M|}
_ZN3fmt3v126detail16write_escaped_cpINS0_14basic_appenderIcEEcEET_S5_RKNS1_18find_escape_resultIT0_EE:
 1790|   161M|    -> OutputIt {
 1791|   161M|  auto c = static_cast<Char>(escape.cp);
 1792|   161M|  switch (escape.cp) {
 1793|  20.7M|  case '\n':
  ------------------
  |  Branch (1793:3): [True: 20.7M, False: 140M]
  ------------------
 1794|  20.7M|    *out++ = static_cast<Char>('\\');
 1795|  20.7M|    c = static_cast<Char>('n');
 1796|  20.7M|    break;
 1797|   600k|  case '\r':
  ------------------
  |  Branch (1797:3): [True: 600k, False: 160M]
  ------------------
 1798|   600k|    *out++ = static_cast<Char>('\\');
 1799|   600k|    c = static_cast<Char>('r');
 1800|   600k|    break;
 1801|   333k|  case '\t':
  ------------------
  |  Branch (1801:3): [True: 333k, False: 161M]
  ------------------
 1802|   333k|    *out++ = static_cast<Char>('\\');
 1803|   333k|    c = static_cast<Char>('t');
 1804|   333k|    break;
 1805|  4.22M|  case '"':  FMT_FALLTHROUGH;
  ------------------
  |  |  181|  4.22M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1805:3): [True: 4.22M, False: 157M]
  ------------------
 1806|  4.22M|  case '\'': FMT_FALLTHROUGH;
  ------------------
  |  |  181|  4.22M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1806:3): [True: 0, False: 161M]
  ------------------
 1807|  4.42M|  case '\\': *out++ = static_cast<Char>('\\'); break;
  ------------------
  |  Branch (1807:3): [True: 196k, False: 161M]
  ------------------
 1808|   135M|  default:
  ------------------
  |  Branch (1808:3): [True: 135M, False: 26.1M]
  ------------------
 1809|   135M|    if (escape.cp < 0x100) return write_codepoint<2, Char>(out, 'x', escape.cp);
  ------------------
  |  Branch (1809:9): [True: 96.6M, False: 38.5M]
  ------------------
 1810|  38.5M|    if (escape.cp < 0x10000)
  ------------------
  |  Branch (1810:9): [True: 460k, False: 38.1M]
  ------------------
 1811|   460k|      return write_codepoint<4, Char>(out, 'u', escape.cp);
 1812|  38.1M|    if (escape.cp < 0x110000)
  ------------------
  |  Branch (1812:9): [True: 310k, False: 37.7M]
  ------------------
 1813|   310k|      return write_codepoint<8, Char>(out, 'U', escape.cp);
 1814|  37.7M|    for (Char escape_char : basic_string_view<Char>(
  ------------------
  |  Branch (1814:27): [True: 37.7M, False: 37.7M]
  ------------------
 1815|  37.7M|             escape.begin, to_unsigned(escape.end - escape.begin))) {
 1816|  37.7M|      out = write_codepoint<2, Char>(out, 'x',
 1817|  37.7M|                                     static_cast<uint32_t>(escape_char) & 0xFF);
 1818|  37.7M|    }
 1819|  37.7M|    return out;
 1820|   161M|  }
 1821|  26.1M|  *out++ = c;
 1822|  26.1M|  return out;
 1823|   161M|}
_ZN3fmt3v126detail15write_codepointILm2EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1779|   134M|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|   134M|  *out++ = static_cast<Char>('\\');
 1781|   134M|  *out++ = static_cast<Char>(prefix);
 1782|   134M|  Char buf[width];
 1783|   134M|  fill_n(buf, width, static_cast<Char>('0'));
 1784|   134M|  format_base2e(4, buf, cp, width);
 1785|   134M|  return copy<Char>(buf, buf + width, out);
 1786|   134M|}
_ZN3fmt3v126detail6fill_nIcmEEPT_S4_T0_c:
  563|   286M|FMT_CONSTEXPR20 auto fill_n(T* out, Size count, char value) -> T* {
  564|   286M|  if (is_constant_evaluated()) return fill_n<T*, Size, T>(out, count, value);
  ------------------
  |  Branch (564:7): [Folded, False: 286M]
  ------------------
  565|   286M|  static_assert(sizeof(T) == 1,
  566|   286M|                "sizeof(T) must be 1 to use char for initialization");
  567|   286M|  std::memset(out, value, to_unsigned(count));
  568|   286M|  return out + count;
  569|   286M|}
_ZN3fmt3v126detail13format_base2eIcjEEPT_iS4_T0_ib:
 1278|   286M|                                 int num_digits, bool upper = false) -> Char* {
 1279|   286M|  do_format_base2e(base_bits, out, value, num_digits, upper);
 1280|   286M|  return out + num_digits;
 1281|   286M|}
_ZN3fmt3v126detail16do_format_base2eIcjEEPT_iS4_T0_ib:
 1264|   286M|                                    int size, bool upper = false) -> Char* {
 1265|   286M|  out += size;
 1266|   404M|  do {
 1267|   404M|    const char* digits = upper ? "0123456789ABCDEF" : "0123456789abcdef";
  ------------------
  |  Branch (1267:26): [True: 0, False: 404M]
  ------------------
 1268|   404M|    unsigned digit = static_cast<unsigned>(value & ((1u << base_bits) - 1));
 1269|   404M|    *--out = static_cast<Char>(base_bits < 4 ? static_cast<char>('0' + digit)
  ------------------
  |  Branch (1269:32): [True: 0, False: 404M]
  ------------------
 1270|   404M|                                             : digits[digit]);
 1271|   404M|  } while ((value >>= base_bits) != 0);
  ------------------
  |  Branch (1271:12): [True: 117M, False: 286M]
  ------------------
 1272|   286M|  return out;
 1273|   286M|}
_ZN3fmt3v126detail15write_codepointILm4EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1779|   460k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|   460k|  *out++ = static_cast<Char>('\\');
 1781|   460k|  *out++ = static_cast<Char>(prefix);
 1782|   460k|  Char buf[width];
 1783|   460k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|   460k|  format_base2e(4, buf, cp, width);
 1785|   460k|  return copy<Char>(buf, buf + width, out);
 1786|   460k|}
_ZN3fmt3v126detail15write_codepointILm8EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1779|   310k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|   310k|  *out++ = static_cast<Char>('\\');
 1781|   310k|  *out++ = static_cast<Char>(prefix);
 1782|   310k|  Char buf[width];
 1783|   310k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|   310k|  format_base2e(4, buf, cp, width);
 1785|   310k|  return copy<Char>(buf, buf + width, out);
 1786|   310k|}
_ZN3fmt3v126detail13base_iteratorINS0_14basic_appenderIcEEEET_S5_S5_:
  550|   123k|constexpr auto base_iterator(Iterator, Iterator it) -> Iterator {
  551|   123k|  return it;
  552|   123k|}
_ZNK3fmt3v126detail14digit_groupingIcE16count_separatorsEi:
 1901|  14.4k|  auto count_separators(int num_digits) const -> int {
 1902|  14.4k|    int count = 0;
 1903|  14.4k|    auto state = initial_state();
 1904|  14.4k|    while (num_digits > next(state)) ++count;
  ------------------
  |  Branch (1904:12): [True: 0, False: 14.4k]
  ------------------
 1905|  14.4k|    return count;
 1906|  14.4k|  }
_ZNK3fmt3v126detail14digit_groupingIcE13initial_stateEv:
 1877|  28.8k|  auto initial_state() const -> next_state { return {grouping_.begin(), 0}; }
_ZNK3fmt3v126detail14digit_groupingIcE4nextERNS3_10next_stateE:
 1880|  28.8k|  auto next(next_state& state) const -> int {
 1881|  28.8k|    if (thousands_sep_.empty()) return max_value<int>();
  ------------------
  |  Branch (1881:9): [True: 28.8k, False: 0]
  ------------------
 1882|      0|    if (state.group == grouping_.end()) return state.pos += grouping_.back();
  ------------------
  |  Branch (1882:9): [True: 0, False: 0]
  ------------------
 1883|      0|    if (*state.group <= 0 || *state.group == max_value<char>())
  ------------------
  |  Branch (1883:9): [True: 0, False: 0]
  |  Branch (1883:30): [True: 0, False: 0]
  ------------------
 1884|      0|      return max_value<int>();
 1885|      0|    state.pos += *state.group++;
 1886|      0|    return state.pos;
 1887|      0|  }
_ZN3fmt3v126detail9max_valueIiEET_v:
  427|  33.8k|template <typename T> constexpr auto max_value() -> T {
  428|  33.8k|  return (std::numeric_limits<T>::max)();
  429|  33.8k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_9write_intIS5_mcEET_S7_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EEEUlS5_E_EESD_SD_SB_mmOT2_:
 1688|  14.4k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  14.4k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  14.4k|                "");
 1691|  14.4k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  14.4k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 4.64k, False: 9.79k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  14.4k|  auto* shifts =
 1696|  14.4k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [Folded, False: 14.4k]
  ------------------
 1697|  14.4k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  14.4k|  size_t right_padding = padding - left_padding;
 1699|  14.4k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  14.4k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 1.33k, False: 13.1k]
  ------------------
 1701|  14.4k|  it = f(it);
 1702|  14.4k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 3.31k, False: 11.1k]
  ------------------
 1703|  14.4k|  return base_iterator(out, it);
 1704|  14.4k|}
_ZZN3fmt3v126detail9write_intINS0_14basic_appenderIcEEmcEET_S5_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EEENKUlS4_E_clES4_:
 1979|  14.4k|      out, specs, size, size, [&](reserve_iterator<OutputIt> it) {
 1980|  21.4k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (1980:46): [True: 6.96k, False: 14.4k]
  ------------------
 1981|  6.96k|          *it++ = static_cast<Char>(p & 0xff);
 1982|  14.4k|        return grouping.apply(it, string_view(buffer.data(), buffer.size()));
 1983|  14.4k|      });
_ZNK3fmt3v126detail14digit_groupingIcE5applyINS0_14basic_appenderIcEEcEET_S7_NS0_17basic_string_viewIT0_EE:
 1910|  14.4k|  auto apply(Out out, basic_string_view<C> digits) const -> Out {
 1911|  14.4k|    auto num_digits = static_cast<int>(digits.size());
 1912|  14.4k|    auto separators = basic_memory_buffer<int>();
 1913|  14.4k|    separators.push_back(0);
 1914|  14.4k|    auto state = initial_state();
 1915|  14.4k|    while (int i = next(state)) {
  ------------------
  |  Branch (1915:16): [True: 14.4k, False: 0]
  ------------------
 1916|  14.4k|      if (i >= num_digits) break;
  ------------------
  |  Branch (1916:11): [True: 14.4k, False: 0]
  ------------------
 1917|      0|      separators.push_back(i);
 1918|      0|    }
 1919|  14.4k|    for (int i = 0, sep_index = static_cast<int>(separators.size() - 1);
 1920|   290k|         i < num_digits; ++i) {
  ------------------
  |  Branch (1920:10): [True: 276k, False: 14.4k]
  ------------------
 1921|   276k|      if (num_digits - i == separators[sep_index]) {
  ------------------
  |  Branch (1921:11): [True: 0, False: 276k]
  ------------------
 1922|      0|        out = copy<Char>(thousands_sep_.data(),
 1923|      0|                         thousands_sep_.data() + thousands_sep_.size(), out);
 1924|      0|        --sep_index;
 1925|      0|      }
 1926|   276k|      *out++ = static_cast<Char>(digits[to_unsigned(i)]);
 1927|   276k|    }
 1928|  14.4k|    return out;
 1929|  14.4k|  }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEEC2ERKS4_:
  840|  14.4k|      : detail::buffer<T>(grow), alloc_(alloc) {
  841|  14.4k|    this->set(store_, SIZE);
  842|  14.4k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (842:9): [Folded, False: 14.4k]
  ------------------
  843|  14.4k|  }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEED2Ev:
  844|  14.4k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEE10deallocateEv:
  805|  14.4k|  FMT_CONSTEXPR20 void deallocate() {
  806|  14.4k|    T* data = this->data();
  807|  14.4k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (807:9): [True: 0, False: 14.4k]
  ------------------
  808|  14.4k|  }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEED2Ev:
  844|  25.2k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEE10deallocateEv:
  805|  25.2k|  FMT_CONSTEXPR20 void deallocate() {
  806|  25.2k|    T* data = this->data();
  807|  25.2k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (807:9): [True: 0, False: 25.2k]
  ------------------
  808|  25.2k|  }
_ZN3fmt3v126detail14digit_groupingIcEC2ENSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEESA_:
 1897|  14.7k|      : grouping_(std::move(grouping)), thousands_sep_(std::move(sep)) {}
_ZN3fmt3v126detail10loc_writerIcEclIyTnNSt3__19enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEbS7_:
 2027|  14.7k|  auto operator()(T value) -> bool {
 2028|  14.7k|    auto arg = make_write_int_arg(value, specs.sign());
 2029|  14.7k|    write_int(out, static_cast<uint64_or_128_t<T>>(arg.abs_value), arg.prefix,
 2030|  14.7k|              specs, digit_grouping<Char>(grouping, sep));
 2031|  14.7k|    return true;
 2032|  14.7k|  }
_ZN3fmt3v126detail18make_write_int_argIyEENS1_13write_int_argINSt3__111conditionalIXaalecl8num_bitsIT_EELi32EntLi0EEjNS5_IXlecl8num_bitsIS6_EELi64EEmoE4typeEE4typeEEES6_NS0_4signE:
 2006|  77.2k|    -> write_int_arg<uint32_or_64_or_128_t<T>> {
 2007|  77.2k|  auto prefix = 0u;
 2008|  77.2k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2009|  77.2k|  if (is_negative(value)) {
  ------------------
  |  Branch (2009:7): [True: 0, False: 77.2k]
  ------------------
 2010|      0|    prefix = 0x01000000 | '-';
 2011|      0|    abs_value = 0 - abs_value;
 2012|  77.2k|  } else {
 2013|  77.2k|    constexpr unsigned prefixes[4] = {0, 0, 0x1000000u | '+', 0x1000000u | ' '};
 2014|  77.2k|    prefix = prefixes[static_cast<int>(s)];
 2015|  77.2k|  }
 2016|  77.2k|  return {abs_value, prefix};
 2017|  77.2k|}
_ZN3fmt3v126detail12size_paddingC2EijRKNS0_12format_specsE:
 2047|  28.6k|      : size((prefix >> 24) + to_unsigned(num_digits)), padding(0) {
 2048|  28.6k|    if (specs.align() == align::numeric) {
  ------------------
  |  Branch (2048:9): [True: 9.32k, False: 19.3k]
  ------------------
 2049|  9.32k|      auto width = to_unsigned(specs.width);
 2050|  9.32k|      if (width > size) {
  ------------------
  |  Branch (2050:11): [True: 2.61k, False: 6.70k]
  ------------------
 2051|  2.61k|        padding = width - size;
 2052|  2.61k|        size = width;
 2053|  2.61k|      }
 2054|  19.3k|    } else if (specs.precision > num_digits) {
  ------------------
  |  Branch (2054:16): [True: 0, False: 19.3k]
  ------------------
 2055|      0|      size = (prefix >> 24) + to_unsigned(specs.precision);
 2056|      0|      padding = to_unsigned(specs.precision - num_digits);
 2057|      0|    }
 2058|  28.6k|  }
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEjcEET_S5_T0_RKT1_:
  558|  28.6k|    -> OutputIt {
  559|  5.51G|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (559:20): [True: 5.51G, False: 28.6k]
  ------------------
  560|  28.6k|  return out;
  561|  28.6k|}
_ZN3fmt3v126detail13copy_noinlineIcPKcNS0_14basic_appenderIcEEEET1_T0_S8_S7_:
  573|   299k|                                              OutputIt out) -> OutputIt {
  574|   299k|  return copy<OutChar>(begin, end, out);
  575|   299k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclIPKcTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3660|  21.0k|  void operator()(T value) {
 3661|  21.0k|    write<Char>(out, value);
 3662|  21.0k|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_PKT_:
 3621|  21.0k|FMT_CONSTEXPR20 auto write(OutputIt out, const Char* value) -> OutputIt {
 3622|  21.0k|  if (value) return write(out, basic_string_view<Char>(value));
  ------------------
  |  Branch (3622:7): [True: 21.0k, False: 0]
  ------------------
 3623|      0|  report_error("string pointer is null");
 3624|      0|  return out;
 3625|  21.0k|}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EE:
 3583|  25.1k|    -> OutputIt {
 3584|  25.1k|  return copy_noinline<Char>(value.begin(), value.end(), out);
 3585|  25.1k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3660|  4.10k|  void operator()(T value) {
 3661|  4.10k|    write<Char>(out, value);
 3662|  4.10k|  }
_ZN3fmt3v126detail21default_arg_formatterIcEclENS0_9monostateE:
 3657|    312|  void operator()(monostate) { report_error("argument not found"); }
_ZN3fmt3v126detail14format_handlerIcE7on_textEPKcS5_:
 3764|   273k|  void on_text(const Char* begin, const Char* end) {
 3765|   273k|    copy_noinline<Char>(begin, end, ctx.out());
 3766|   273k|  }
_ZN3fmt3v126detail14format_handlerIcE20on_replacement_fieldEiPKc:
 3780|  57.3k|  FMT_INLINE void on_replacement_field(int id, const Char*) {
 3781|  57.3k|    ctx.arg(id).visit(default_arg_formatter<Char>{ctx.out()});
 3782|  57.3k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEv:
 3768|  46.0k|  FMT_CONSTEXPR auto on_arg_id() -> int { return parse_ctx.next_arg_id(); }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEi:
 3769|   155k|  FMT_CONSTEXPR auto on_arg_id(int id) -> int {
 3770|   155k|    parse_ctx.check_arg_id(id);
 3771|   155k|    return id;
 3772|   155k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idENS0_17basic_string_viewIcEE:
 3773|    816|  FMT_CONSTEXPR auto on_arg_id(basic_string_view<Char> id) -> int {
 3774|    816|    parse_ctx.check_arg_id(id);
 3775|    816|    int arg_id = ctx.arg_id(id);
 3776|    816|    if (arg_id < 0) report_error("argument not found");
  ------------------
  |  Branch (3776:9): [True: 816, False: 0]
  ------------------
 3777|    816|    return arg_id;
 3778|    816|  }
_ZN3fmt3v126detail14format_handlerIcE15on_format_specsEiPKcS5_:
 3785|   143k|      -> const Char* {
 3786|   143k|    auto arg = ctx.arg(id);
 3787|   143k|    if (!arg) report_error("argument not found");
  ------------------
  |  Branch (3787:9): [True: 424, False: 143k]
  ------------------
 3788|       |    // Not using a visitor for custom types gives better codegen.
 3789|   143k|    if (arg.format_custom(begin, parse_ctx, ctx)) return parse_ctx.begin();
  ------------------
  |  Branch (3789:9): [True: 0, False: 143k]
  ------------------
 3790|       |
 3791|   143k|    auto specs = dynamic_format_specs<Char>();
 3792|   143k|    begin = parse_format_specs(begin, end, specs, parse_ctx, arg.type());
 3793|   143k|    if (specs.dynamic()) {
  ------------------
  |  Branch (3793:9): [True: 5.23k, False: 138k]
  ------------------
 3794|  5.23k|      handle_dynamic_spec(specs.dynamic_width(), specs.width, specs.width_ref,
 3795|  5.23k|                          ctx);
 3796|  5.23k|      handle_dynamic_spec(specs.dynamic_precision(), specs.precision,
 3797|  5.23k|                          specs.precision_ref, ctx);
 3798|  5.23k|    }
 3799|       |
 3800|   143k|    arg.visit(arg_formatter<Char>{ctx.out(), specs, ctx.locale()});
 3801|   143k|    return begin;
 3802|   143k|  }
_ZN3fmt3v126detail19handle_dynamic_specINS0_7contextEEEvNS0_11arg_id_kindERiRKNS1_7arg_refINT_9char_typeEEERS7_:
 3714|  9.80k|    const arg_ref<typename Context::char_type>& ref, Context& ctx) {
 3715|  9.80k|  if (kind == arg_id_kind::none) return;
  ------------------
  |  Branch (3715:7): [True: 4.57k, False: 5.23k]
  ------------------
 3716|  5.23k|  auto arg =
 3717|  5.23k|      kind == arg_id_kind::index ? ctx.arg(ref.index) : ctx.arg(ref.name);
  ------------------
  |  Branch (3717:7): [True: 5.21k, False: 16]
  ------------------
 3718|  5.23k|  if (!arg) report_error("argument not found");
  ------------------
  |  Branch (3718:7): [True: 248, False: 4.98k]
  ------------------
 3719|  5.23k|  unsigned long long result = arg.visit(dynamic_spec_getter());
 3720|  5.23k|  if (result > to_unsigned(max_value<int>()))
  ------------------
  |  Branch (3720:7): [True: 472, False: 4.76k]
  ------------------
 3721|    472|    report_error("width/precision is out of range");
 3722|  5.23k|  value = static_cast<int>(result);
 3723|  5.23k|}
_ZN3fmt3v126detail19dynamic_spec_getterclIyTnNSt3__19enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEyS6_:
 3700|  4.97k|  FMT_CONSTEXPR auto operator()(T value) -> unsigned long long {
 3701|  4.97k|    return is_negative(value) ? ~0ull : static_cast<unsigned long long>(value);
  ------------------
  |  Branch (3701:12): [True: 0, False: 4.97k]
  ------------------
 3702|  4.97k|  }
_ZN3fmt3v126detail19dynamic_spec_getterclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXntsr10is_integerIT_EE5valueEiE4typeELi0EEEyS8_:
 3705|      8|  FMT_CONSTEXPR auto operator()(T) -> unsigned long long {
 3706|      8|    report_error("width/precision is not integer");
 3707|      8|    return 0;
 3708|      8|  }
_ZN3fmt3v126detail18write_int_noinlineIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsE:
 2129|  62.4k|    -> OutputIt {
 2130|  62.4k|  return write_int<Char>(out, arg, specs);
 2131|  62.4k|}
_ZN3fmt3v126detail9write_intIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsE:
 2063|  62.4k|                                        const format_specs& specs) -> OutputIt {
 2064|  62.4k|  static_assert(std::is_same<T, uint32_or_64_or_128_t<T>>::value, "");
 2065|       |
 2066|  62.4k|  constexpr size_t buffer_size = num_bits<T>();
 2067|  62.4k|  char buffer[buffer_size];
 2068|  62.4k|  if (is_constant_evaluated()) fill_n(buffer, buffer_size, '\0');
  ------------------
  |  Branch (2068:7): [Folded, False: 62.4k]
  ------------------
 2069|  62.4k|  const char* begin = nullptr;
 2070|  62.4k|  const char* end = buffer + buffer_size;
 2071|       |
 2072|  62.4k|  auto abs_value = arg.abs_value;
 2073|  62.4k|  auto prefix = arg.prefix;
 2074|  62.4k|  switch (specs.type()) {
 2075|      0|  default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  395|      0|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [Folded, False: 0]
  |  |  ------------------
  |  |  396|      0|         ? (void)0                                                          \
  |  |  397|      0|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
                default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (2075:3): [True: 0, False: 62.4k]
  ------------------
 2076|  17.1k|  case presentation_type::none:
  ------------------
  |  Branch (2076:3): [True: 17.1k, False: 45.3k]
  ------------------
 2077|  24.4k|  case presentation_type::dec:
  ------------------
  |  Branch (2077:3): [True: 7.31k, False: 55.1k]
  ------------------
 2078|  24.4k|    begin = do_format_decimal(buffer, abs_value, buffer_size);
 2079|  24.4k|    break;
 2080|  9.53k|  case presentation_type::hex:
  ------------------
  |  Branch (2080:3): [True: 9.53k, False: 52.9k]
  ------------------
 2081|  9.53k|    begin = do_format_base2e(4, buffer, abs_value, buffer_size, specs.upper());
 2082|  9.53k|    if (specs.alt())
  ------------------
  |  Branch (2082:9): [True: 6.20k, False: 3.33k]
  ------------------
 2083|  6.20k|      prefix_append(prefix, unsigned(specs.upper() ? 'X' : 'x') << 8 | '0');
  ------------------
  |  Branch (2083:38): [True: 1.79k, False: 4.40k]
  ------------------
 2084|  9.53k|    break;
 2085|  4.88k|  case presentation_type::oct: {
  ------------------
  |  Branch (2085:3): [True: 4.88k, False: 57.6k]
  ------------------
 2086|  4.88k|    begin = do_format_base2e(3, buffer, abs_value, buffer_size);
 2087|       |    // Octal prefix '0' is counted as a digit, so only add it if precision
 2088|       |    // is not greater than the number of digits.
 2089|  4.88k|    auto num_digits = end - begin;
 2090|  4.88k|    if (specs.alt() && specs.precision <= num_digits && abs_value != 0)
  ------------------
  |  Branch (2090:9): [True: 1.66k, False: 3.22k]
  |  Branch (2090:24): [True: 1.66k, False: 0]
  |  Branch (2090:57): [True: 1.46k, False: 200]
  ------------------
 2091|  1.46k|      prefix_append(prefix, '0');
 2092|  4.88k|    break;
 2093|  17.1k|  }
 2094|  11.7k|  case presentation_type::bin:
  ------------------
  |  Branch (2094:3): [True: 11.7k, False: 50.7k]
  ------------------
 2095|  11.7k|    begin = do_format_base2e(1, buffer, abs_value, buffer_size);
 2096|  11.7k|    if (specs.alt())
  ------------------
  |  Branch (2096:9): [True: 6.71k, False: 4.99k]
  ------------------
 2097|  6.71k|      prefix_append(prefix, unsigned(specs.upper() ? 'B' : 'b') << 8 | '0');
  ------------------
  |  Branch (2097:38): [True: 1.38k, False: 5.32k]
  ------------------
 2098|  11.7k|    break;
 2099|  11.8k|  case presentation_type::chr:
  ------------------
  |  Branch (2099:3): [True: 11.8k, False: 50.6k]
  ------------------
 2100|  11.8k|    return write_char<Char>(out, static_cast<Char>(abs_value), specs);
 2101|  62.4k|  }
 2102|       |
 2103|       |  // Write an integer in the format
 2104|       |  //   <left-padding><prefix><numeric-padding><digits><right-padding>
 2105|       |  // prefix contains chars in three lower bytes and the size in the fourth byte.
 2106|  50.6k|  int num_digits = static_cast<int>(end - begin);
 2107|       |  // Slightly faster check for specs.width == 0 && specs.precision == -1.
 2108|  50.6k|  if ((specs.width | (specs.precision + 1)) == 0) {
  ------------------
  |  Branch (2108:7): [True: 21.9k, False: 28.6k]
  ------------------
 2109|  21.9k|    auto it = reserve(out, to_unsigned(num_digits) + (prefix >> 24));
 2110|  24.8k|    for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2110:42): [True: 2.96k, False: 21.9k]
  ------------------
 2111|  2.96k|      *it++ = static_cast<Char>(p & 0xff);
 2112|  21.9k|    return base_iterator(out, copy<Char>(begin, end, it));
 2113|  21.9k|  }
 2114|  28.6k|  auto sp = size_padding(num_digits, prefix, specs);
 2115|  28.6k|  unsigned padding = sp.padding;
 2116|  28.6k|  return write_padded<Char, align::right>(
 2117|  28.6k|      out, specs, sp.size, [=](reserve_iterator<OutputIt> it) {
 2118|  28.6k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
 2119|  28.6k|          *it++ = static_cast<Char>(p & 0xff);
 2120|  28.6k|        it = detail::fill_n(it, padding, static_cast<Char>('0'));
 2121|  28.6k|        return copy<Char>(begin, end, it);
 2122|  28.6k|      });
 2123|  50.6k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_9write_intIcS5_mEET0_S7_NS1_13write_int_argIT1_EERKNS0_12format_specsEEUlS5_E_EES9_S9_SD_mOT2_:
 1709|  28.6k|                            size_t size, F&& f) -> OutputIt {
 1710|  28.6k|  return write_padded<Char, default_align>(out, specs, size, size, f);
 1711|  28.6k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEERZNS1_9write_intIcS5_mEET0_S7_NS1_13write_int_argIT1_EERKNS0_12format_specsEEUlS5_E_EES9_S9_SD_mmOT2_:
 1688|  28.6k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  28.6k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  28.6k|                "");
 1691|  28.6k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  28.6k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 5.66k, False: 23.0k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  28.6k|  auto* shifts =
 1696|  28.6k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [Folded, False: 28.6k]
  ------------------
 1697|  28.6k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  28.6k|  size_t right_padding = padding - left_padding;
 1699|  28.6k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  28.6k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 4.77k, False: 23.9k]
  ------------------
 1701|  28.6k|  it = f(it);
 1702|  28.6k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 3.35k, False: 25.3k]
  ------------------
 1703|  28.6k|  return base_iterator(out, it);
 1704|  28.6k|}
_ZZN3fmt3v126detail9write_intIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsEENKUlS4_E_clES4_:
 2117|  28.6k|      out, specs, sp.size, [=](reserve_iterator<OutputIt> it) {
 2118|  53.0k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2118:46): [True: 24.3k, False: 28.6k]
  ------------------
 2119|  24.3k|          *it++ = static_cast<Char>(p & 0xff);
 2120|  28.6k|        it = detail::fill_n(it, padding, static_cast<Char>('0'));
 2121|  28.6k|        return copy<Char>(begin, end, it);
 2122|  28.6k|      });
_ZN3fmt3v126detail13arg_formatterIcEclIyTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3683|  77.2k|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 3684|  77.2k|    detail::write<Char>(out, value, specs, locale);
 3685|  77.2k|  }
_ZN3fmt3v126detail5writeIcyTnNSt3__19enable_ifIXaaaasr11is_integralIT0_EE5valuentsr3std7is_sameIS5_bEE5valuentsr3std7is_sameIS5_T_EE5valueEiE4typeELi0EEENS0_14basic_appenderIS6_EESA_S5_RKNS0_12format_specsENS0_10locale_refE:
 2139|  77.2k|    -> basic_appender<Char> {
 2140|  77.2k|  if (specs.localized() && write_loc(out, value, specs, loc)) return out;
  ------------------
  |  Branch (2140:7): [True: 14.7k, False: 62.4k]
  |  Branch (2140:28): [True: 14.7k, False: 0]
  ------------------
 2141|  62.4k|  return write_int_noinline<Char>(out, make_write_int_arg(value, specs.sign()),
 2142|  62.4k|                                  specs);
 2143|  77.2k|}
_ZN3fmt3v129loc_valueC2IyTnNSt3__19enable_ifIXntsr6detail11is_float128IT_EE5valueEiE4typeELi0EEES5_:
 3880|  14.7k|  loc_value(T value) : value_(value) {}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EERKNS0_12format_specsENS0_10locale_refE:
 2278|  61.2k|                         const format_specs& specs, locale_ref) -> OutputIt {
 2279|  61.2k|  return write<Char>(out, s, specs);
 2280|  61.2k|}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsE:
 2172|  61.2k|                         const format_specs& specs) -> OutputIt {
 2173|  61.2k|  bool is_debug = specs.type() == presentation_type::debug;
 2174|  61.2k|  if (specs.precision < 0 && specs.width == 0) {
  ------------------
  |  Branch (2174:7): [True: 49.5k, False: 11.6k]
  |  Branch (2174:30): [True: 14.9k, False: 34.6k]
  ------------------
 2175|  14.9k|    auto&& it = reserve(out, s.size());
 2176|  14.9k|    return is_debug ? write_escaped_string(it, s) : copy<char>(s, it);
  ------------------
  |  Branch (2176:12): [True: 10.6k, False: 4.30k]
  ------------------
 2177|  14.9k|  }
 2178|       |
 2179|  46.3k|  size_t display_width_limit =
 2180|  46.3k|      specs.precision < 0 ? SIZE_MAX : to_unsigned(specs.precision);
  ------------------
  |  Branch (2180:7): [True: 34.6k, False: 11.6k]
  ------------------
 2181|  46.3k|  size_t display_width =
 2182|  46.3k|      !is_debug || specs.precision == 0 ? 0 : 1;  // Account for opening '"'.
  ------------------
  |  Branch (2182:7): [True: 28.5k, False: 17.7k]
  |  Branch (2182:20): [True: 456, False: 17.2k]
  ------------------
 2183|  46.3k|  size_t size = !is_debug || specs.precision == 0 ? 0 : 1;
  ------------------
  |  Branch (2183:17): [True: 28.5k, False: 17.7k]
  |  Branch (2183:30): [True: 456, False: 17.2k]
  ------------------
 2184|  46.3k|  for_each_codepoint(s, [&](uint32_t cp, string_view sv) {
 2185|  46.3k|    if (is_debug && needs_escape(cp)) {
 2186|  46.3k|      counting_buffer<char> buf;
 2187|  46.3k|      write_escaped_cp(basic_appender<char>(buf),
 2188|  46.3k|                       find_escape_result<char>{sv.begin(), sv.end(), cp});
 2189|       |      // We're reinterpreting bytes as display width. That's okay
 2190|       |      // because write_escaped_cp() only writes ASCII characters.
 2191|  46.3k|      size_t cp_width = buf.count();
 2192|  46.3k|      if (display_width + cp_width <= display_width_limit) {
 2193|  46.3k|        display_width += cp_width;
 2194|  46.3k|        size += cp_width;
 2195|       |        // If this is the end of the string, account for closing '"'.
 2196|  46.3k|        if (display_width < display_width_limit && sv.end() == s.end()) {
 2197|  46.3k|          ++display_width;
 2198|  46.3k|          ++size;
 2199|  46.3k|        }
 2200|  46.3k|        return true;
 2201|  46.3k|      }
 2202|       |
 2203|  46.3k|      size += display_width_limit - display_width;
 2204|  46.3k|      display_width = display_width_limit;
 2205|  46.3k|      return false;
 2206|  46.3k|    }
 2207|       |
 2208|  46.3k|    size_t cp_width = display_width_of(cp);
 2209|  46.3k|    if (cp_width + display_width <= display_width_limit) {
 2210|  46.3k|      display_width += cp_width;
 2211|  46.3k|      size += sv.size();
 2212|       |      // If this is the end of the string, account for closing '"'.
 2213|  46.3k|      if (is_debug && display_width < display_width_limit &&
 2214|  46.3k|          sv.end() == s.end()) {
 2215|  46.3k|        ++display_width;
 2216|  46.3k|        ++size;
 2217|  46.3k|      }
 2218|  46.3k|      return true;
 2219|  46.3k|    }
 2220|       |
 2221|  46.3k|    return false;
 2222|  46.3k|  });
 2223|       |
 2224|  46.3k|  struct bounded_output_iterator {
 2225|  46.3k|    reserve_iterator<OutputIt> underlying_iterator;
 2226|  46.3k|    size_t bound;
 2227|       |
 2228|  46.3k|    FMT_CONSTEXPR auto operator*() -> bounded_output_iterator& { return *this; }
 2229|  46.3k|    FMT_CONSTEXPR auto operator++() -> bounded_output_iterator& {
 2230|  46.3k|      return *this;
 2231|  46.3k|    }
 2232|  46.3k|    FMT_CONSTEXPR auto operator++(int) -> bounded_output_iterator& {
 2233|  46.3k|      return *this;
 2234|  46.3k|    }
 2235|  46.3k|    FMT_CONSTEXPR auto operator=(char c) -> bounded_output_iterator& {
 2236|  46.3k|      if (bound > 0) {
 2237|  46.3k|        *underlying_iterator++ = c;
 2238|  46.3k|        --bound;
 2239|  46.3k|      }
 2240|  46.3k|      return *this;
 2241|  46.3k|    }
 2242|  46.3k|  };
 2243|       |
 2244|  46.3k|  return write_padded<char>(
 2245|  46.3k|      out, specs, size, display_width, [=](reserve_iterator<OutputIt> it) {
 2246|  46.3k|        return is_debug
 2247|  46.3k|                   ? write_escaped_string(bounded_output_iterator{it, size}, s)
 2248|  46.3k|                         .underlying_iterator
 2249|  46.3k|                   : copy<char>(s.data(), s.data() + size, it);
 2250|  46.3k|      });
 2251|  61.2k|}
_ZN3fmt3v126detail20write_escaped_stringIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EE:
 1827|  10.6k|    -> OutputIt {
 1828|  10.6k|  *out++ = static_cast<Char>('"');
 1829|  10.6k|  auto begin = str.begin(), end = str.end();
 1830|  63.8M|  do {
 1831|  63.8M|    auto escape = find_escape(begin, end);
 1832|  63.8M|    out = copy<Char>(begin, escape.begin, out);
 1833|  63.8M|    begin = escape.end;
 1834|  63.8M|    if (!begin) break;
  ------------------
  |  Branch (1834:9): [True: 5.16k, False: 63.8M]
  ------------------
 1835|  63.8M|    out = write_escaped_cp<OutputIt, Char>(out, escape);
 1836|  63.8M|  } while (begin != end);
  ------------------
  |  Branch (1836:12): [True: 63.8M, False: 5.47k]
  ------------------
 1837|  10.6k|  *out++ = static_cast<Char>('"');
 1838|  10.6k|  return out;
 1839|  10.6k|}
_ZN3fmt3v126detail11find_escapeEPKcS3_:
 1764|   227M|    -> find_escape_result<char> {
 1765|   227M|  if (const_check(!use_utf8)) return find_escape<char>(begin, end);
  ------------------
  |  Branch (1765:7): [Folded, False: 227M]
  ------------------
 1766|   227M|  auto result = find_escape_result<char>{end, nullptr, 0};
 1767|   227M|  for_each_codepoint(string_view(begin, to_unsigned(end - begin)),
 1768|   227M|                     [&](uint32_t cp, string_view sv) {
 1769|   227M|                       if (needs_escape(cp)) {
 1770|   227M|                         result = {sv.begin(), sv.end(), cp};
 1771|   227M|                         return false;
 1772|   227M|                       }
 1773|   227M|                       return true;
 1774|   227M|                     });
 1775|   227M|  return result;
 1776|   227M|}
_ZN3fmt3v126detail18for_each_codepointIZNS1_11find_escapeEPKcS4_EUljNS0_17basic_string_viewIcEEE_EEvS6_T_:
  636|   227M|FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
  637|   227M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|   227M|    auto cp = uint32_t();
  639|   227M|    auto error = 0;
  640|   227M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|   227M|    bool result = f(error ? invalid_code_point : cp,
  642|   227M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  643|   227M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  644|   227M|  };
  645|       |
  646|   227M|  auto p = s.data();
  647|   227M|  const size_t block_size = 4;  // utf8_decode always reads blocks of 4 chars.
  648|   227M|  if (s.size() >= block_size) {
  ------------------
  |  Branch (648:7): [True: 227M, False: 38.8k]
  ------------------
  649|   351M|    for (auto end = p + s.size() - block_size + 1; p < end;) {
  ------------------
  |  Branch (649:52): [True: 351M, False: 10.6k]
  ------------------
  650|   351M|      p = decode(p, p);
  651|   351M|      if (!p) return;
  ------------------
  |  Branch (651:11): [True: 227M, False: 123M]
  ------------------
  652|   351M|    }
  653|   227M|  }
  654|  49.4k|  auto num_chars_left = to_unsigned(s.data() + s.size() - p);
  655|  49.4k|  if (num_chars_left == 0) return;
  ------------------
  |  Branch (655:7): [True: 3.14k, False: 46.3k]
  ------------------
  656|       |
  657|       |  // Suppress bogus -Wstringop-overflow.
  658|  46.3k|  if (FMT_GCC_VERSION) num_chars_left &= 3;
  ------------------
  |  |   35|  46.3k|#  define FMT_GCC_VERSION 0
  |  |  ------------------
  |  |  |  Branch (35:27): [Folded, False: 46.3k]
  |  |  ------------------
  ------------------
  659|  46.3k|  char buf[2 * block_size - 1] = {};
  660|  46.3k|  copy<char>(p, p + num_chars_left, buf);
  661|  46.3k|  const char* buf_ptr = buf;
  662|  68.3k|  do {
  663|  68.3k|    auto end = decode(buf_ptr, p);
  664|  68.3k|    if (!end) return;
  ------------------
  |  Branch (664:9): [True: 35.7k, False: 32.6k]
  ------------------
  665|  32.6k|    p += end - buf_ptr;
  666|  32.6k|    buf_ptr = end;
  667|  32.6k|  } while (buf_ptr < buf + num_chars_left);
  ------------------
  |  Branch (667:12): [True: 22.0k, False: 10.5k]
  ------------------
  668|  46.3k|}
_ZZN3fmt3v126detail18for_each_codepointIZNS1_11find_escapeEPKcS4_EUljNS0_17basic_string_viewIcEEE_EEvS6_T_ENKUlS4_S4_E_clES4_S4_:
  637|   351M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|   351M|    auto cp = uint32_t();
  639|   351M|    auto error = 0;
  640|   351M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|   351M|    bool result = f(error ? invalid_code_point : cp,
  ------------------
  |  Branch (641:21): [True: 60.6M, False: 290M]
  ------------------
  642|   351M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  ------------------
  |  Branch (642:38): [True: 60.6M, False: 290M]
  ------------------
  643|   351M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  ------------------
  |  Branch (643:12): [True: 123M, False: 227M]
  |  Branch (643:22): [True: 0, False: 123M]
  ------------------
  644|   351M|  };
_ZN3fmt3v126detail11utf8_decodeEPKcPjPi:
  595|   544M|    -> const char* {
  596|   544M|  constexpr int masks[] = {0x00, 0x7f, 0x1f, 0x0f, 0x07};
  597|   544M|  constexpr uint32_t mins[] = {4194304, 0, 128, 2048, 65536};
  598|   544M|  constexpr int shiftc[] = {0, 18, 12, 6, 0};
  599|   544M|  constexpr int shifte[] = {0, 6, 4, 2, 0};
  600|       |
  601|   544M|  int len = "\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\0\0\0\0\0\0\0\0\2\2\2\2\3\3\4"
  602|   544M|      [static_cast<unsigned char>(*s) >> 3];
  603|       |  // Compute the pointer to the next character early so that the next
  604|       |  // iteration can start working on the next character. Neither Clang
  605|       |  // nor GCC figure out this reordering on their own.
  606|   544M|  const char* next = s + len + !len;
  607|       |
  608|   544M|  using uchar = unsigned char;
  609|       |
  610|       |  // Assume a four-byte character and load four bytes. Unused bits are
  611|       |  // shifted out.
  612|   544M|  *c = uint32_t(uchar(s[0]) & masks[len]) << 18;
  613|   544M|  *c |= uint32_t(uchar(s[1]) & 0x3f) << 12;
  614|   544M|  *c |= uint32_t(uchar(s[2]) & 0x3f) << 6;
  615|   544M|  *c |= uint32_t(uchar(s[3]) & 0x3f) << 0;
  616|   544M|  *c >>= shiftc[len];
  617|       |
  618|       |  // Accumulate the various error conditions.
  619|   544M|  *e = (*c < mins[len]) << 6;       // non-canonical encoding
  620|   544M|  *e |= ((*c >> 11) == 0x1b) << 7;  // surrogate half?
  621|   544M|  *e |= (*c > 0x10FFFF) << 8;       // out of range?
  622|   544M|  *e |= (uchar(s[1]) & 0xc0) >> 2;
  623|   544M|  *e |= (uchar(s[2]) & 0xc0) >> 4;
  624|   544M|  *e |= uchar(s[3]) >> 6;
  625|   544M|  *e ^= 0x2a;  // top two bits of each tail byte correct?
  626|   544M|  *e >>= shifte[len];
  627|       |
  628|   544M|  return next;
  629|   544M|}
_ZZN3fmt3v126detail11find_escapeEPKcS3_ENKUljNS0_17basic_string_viewIcEEE_clEjS5_:
 1768|   351M|                     [&](uint32_t cp, string_view sv) {
 1769|   351M|                       if (needs_escape(cp)) {
  ------------------
  |  Branch (1769:28): [True: 227M, False: 123M]
  ------------------
 1770|   227M|                         result = {sv.begin(), sv.end(), cp};
 1771|   227M|                         return false;
 1772|   227M|                       }
 1773|   123M|                       return true;
 1774|   351M|                     });
_ZN3fmt3v126detail18for_each_codepointIZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEEUljNSC_IcEEE_EEvSH_S8_:
  636|  46.3k|FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
  637|  46.3k|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|  46.3k|    auto cp = uint32_t();
  639|  46.3k|    auto error = 0;
  640|  46.3k|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|  46.3k|    bool result = f(error ? invalid_code_point : cp,
  642|  46.3k|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  643|  46.3k|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  644|  46.3k|  };
  645|       |
  646|  46.3k|  auto p = s.data();
  647|  46.3k|  const size_t block_size = 4;  // utf8_decode always reads blocks of 4 chars.
  648|  46.3k|  if (s.size() >= block_size) {
  ------------------
  |  Branch (648:7): [True: 39.1k, False: 7.12k]
  ------------------
  649|   192M|    for (auto end = p + s.size() - block_size + 1; p < end;) {
  ------------------
  |  Branch (649:52): [True: 192M, False: 30.4k]
  ------------------
  650|   192M|      p = decode(p, p);
  651|   192M|      if (!p) return;
  ------------------
  |  Branch (651:11): [True: 8.72k, False: 192M]
  ------------------
  652|   192M|    }
  653|  39.1k|  }
  654|  37.5k|  auto num_chars_left = to_unsigned(s.data() + s.size() - p);
  655|  37.5k|  if (num_chars_left == 0) return;
  ------------------
  |  Branch (655:7): [True: 4.74k, False: 32.8k]
  ------------------
  656|       |
  657|       |  // Suppress bogus -Wstringop-overflow.
  658|  32.8k|  if (FMT_GCC_VERSION) num_chars_left &= 3;
  ------------------
  |  |   35|  32.8k|#  define FMT_GCC_VERSION 0
  |  |  ------------------
  |  |  |  Branch (35:27): [Folded, False: 32.8k]
  |  |  ------------------
  ------------------
  659|  32.8k|  char buf[2 * block_size - 1] = {};
  660|  32.8k|  copy<char>(p, p + num_chars_left, buf);
  661|  32.8k|  const char* buf_ptr = buf;
  662|  88.2k|  do {
  663|  88.2k|    auto end = decode(buf_ptr, p);
  664|  88.2k|    if (!end) return;
  ------------------
  |  Branch (664:9): [True: 1.15k, False: 87.0k]
  ------------------
  665|  87.0k|    p += end - buf_ptr;
  666|  87.0k|    buf_ptr = end;
  667|  87.0k|  } while (buf_ptr < buf + num_chars_left);
  ------------------
  |  Branch (667:12): [True: 55.3k, False: 31.6k]
  ------------------
  668|  32.8k|}
_ZZN3fmt3v126detail18for_each_codepointIZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEEUljNSC_IcEEE_EEvSH_S8_ENKUlPKcSK_E_clESK_SK_:
  637|   192M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|   192M|    auto cp = uint32_t();
  639|   192M|    auto error = 0;
  640|   192M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|   192M|    bool result = f(error ? invalid_code_point : cp,
  ------------------
  |  Branch (641:21): [True: 34.8M, False: 158M]
  ------------------
  642|   192M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  ------------------
  |  Branch (642:38): [True: 34.8M, False: 158M]
  ------------------
  643|   192M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  ------------------
  |  Branch (643:12): [True: 192M, False: 9.88k]
  |  Branch (643:22): [True: 34.8M, False: 158M]
  ------------------
  644|   192M|  };
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEENKUljNSB_IcEEE_clEjSG_:
 2184|   192M|  for_each_codepoint(s, [&](uint32_t cp, string_view sv) {
 2185|   192M|    if (is_debug && needs_escape(cp)) {
  ------------------
  |  Branch (2185:9): [True: 124M, False: 67.9M]
  |  Branch (2185:21): [True: 97.4M, False: 27.4M]
  ------------------
 2186|  97.4M|      counting_buffer<char> buf;
 2187|  97.4M|      write_escaped_cp(basic_appender<char>(buf),
 2188|  97.4M|                       find_escape_result<char>{sv.begin(), sv.end(), cp});
 2189|       |      // We're reinterpreting bytes as display width. That's okay
 2190|       |      // because write_escaped_cp() only writes ASCII characters.
 2191|  97.4M|      size_t cp_width = buf.count();
 2192|  97.4M|      if (display_width + cp_width <= display_width_limit) {
  ------------------
  |  Branch (2192:11): [True: 97.4M, False: 3.82k]
  ------------------
 2193|  97.4M|        display_width += cp_width;
 2194|  97.4M|        size += cp_width;
 2195|       |        // If this is the end of the string, account for closing '"'.
 2196|  97.4M|        if (display_width < display_width_limit && sv.end() == s.end()) {
  ------------------
  |  Branch (2196:13): [True: 97.4M, False: 336]
  |  Branch (2196:52): [True: 7.82k, False: 97.4M]
  ------------------
 2197|  7.82k|          ++display_width;
 2198|  7.82k|          ++size;
 2199|  7.82k|        }
 2200|  97.4M|        return true;
 2201|  97.4M|      }
 2202|       |
 2203|  3.82k|      size += display_width_limit - display_width;
 2204|  3.82k|      display_width = display_width_limit;
 2205|  3.82k|      return false;
 2206|  97.4M|    }
 2207|       |
 2208|  95.3M|    size_t cp_width = display_width_of(cp);
 2209|  95.3M|    if (cp_width + display_width <= display_width_limit) {
  ------------------
  |  Branch (2209:9): [True: 95.3M, False: 6.05k]
  ------------------
 2210|  95.3M|      display_width += cp_width;
 2211|  95.3M|      size += sv.size();
 2212|       |      // If this is the end of the string, account for closing '"'.
 2213|  95.3M|      if (is_debug && display_width < display_width_limit &&
  ------------------
  |  Branch (2213:11): [True: 27.4M, False: 67.9M]
  |  Branch (2213:23): [True: 27.4M, False: 336]
  ------------------
 2214|  27.4M|          sv.end() == s.end()) {
  ------------------
  |  Branch (2214:11): [True: 4.52k, False: 27.4M]
  ------------------
 2215|  4.52k|        ++display_width;
 2216|  4.52k|        ++size;
 2217|  4.52k|      }
 2218|  95.3M|      return true;
 2219|  95.3M|    }
 2220|       |
 2221|  6.05k|    return false;
 2222|  95.3M|  });
_ZN3fmt3v126detail16display_width_ofEj:
  670|  95.3M|FMT_CONSTEXPR inline auto display_width_of(uint32_t cp) noexcept -> size_t {
  671|  95.3M|  return to_unsigned(
  672|  95.3M|      1 + (cp >= 0x1100 &&
  ------------------
  |  Branch (672:12): [True: 5.68M, False: 89.6M]
  ------------------
  673|  5.68M|           (cp <= 0x115f ||  // Hangul Jamo init. consonants
  ------------------
  |  Branch (673:13): [True: 5.80k, False: 5.68M]
  ------------------
  674|  5.68M|            cp == 0x2329 ||  // LEFT-POINTING ANGLE BRACKET
  ------------------
  |  Branch (674:13): [True: 4.60k, False: 5.67M]
  ------------------
  675|  5.67M|            cp == 0x232a ||  // RIGHT-POINTING ANGLE BRACKET
  ------------------
  |  Branch (675:13): [True: 488, False: 5.67M]
  ------------------
  676|       |            // CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE:
  677|  5.67M|            (cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) ||
  ------------------
  |  Branch (677:14): [True: 5.67M, False: 3.97k]
  |  Branch (677:30): [True: 18.7k, False: 5.65M]
  |  Branch (677:46): [True: 11.2k, False: 7.47k]
  ------------------
  678|  5.66M|            (cp >= 0xac00 && cp <= 0xd7a3) ||    // Hangul Syllables
  ------------------
  |  Branch (678:14): [True: 5.64M, False: 16.9k]
  |  Branch (678:30): [True: 10.4k, False: 5.63M]
  ------------------
  679|  5.65M|            (cp >= 0xf900 && cp <= 0xfaff) ||    // CJK Compatibility Ideographs
  ------------------
  |  Branch (679:14): [True: 5.62M, False: 29.7k]
  |  Branch (679:30): [True: 2.57k, False: 5.62M]
  ------------------
  680|  5.65M|            (cp >= 0xfe10 && cp <= 0xfe19) ||    // Vertical Forms
  ------------------
  |  Branch (680:14): [True: 5.61M, False: 32.4k]
  |  Branch (680:30): [True: 1.56k, False: 5.61M]
  ------------------
  681|  5.64M|            (cp >= 0xfe30 && cp <= 0xfe6f) ||    // CJK Compatibility Forms
  ------------------
  |  Branch (681:14): [True: 5.61M, False: 32.5k]
  |  Branch (681:30): [True: 6.90k, False: 5.61M]
  ------------------
  682|  5.64M|            (cp >= 0xff00 && cp <= 0xff60) ||    // Fullwidth Forms
  ------------------
  |  Branch (682:14): [True: 5.60M, False: 32.7k]
  |  Branch (682:30): [True: 5.68k, False: 5.60M]
  ------------------
  683|  5.63M|            (cp >= 0xffe0 && cp <= 0xffe6) ||    // Fullwidth Forms
  ------------------
  |  Branch (683:14): [True: 5.60M, False: 33.6k]
  |  Branch (683:30): [True: 9.40k, False: 5.59M]
  ------------------
  684|  5.62M|            (cp >= 0x20000 && cp <= 0x2fffd) ||  // CJK
  ------------------
  |  Branch (684:14): [True: 5.55M, False: 70.2k]
  |  Branch (684:31): [True: 14.9k, False: 5.54M]
  ------------------
  685|  5.61M|            (cp >= 0x30000 && cp <= 0x3fffd) ||
  ------------------
  |  Branch (685:14): [True: 5.54M, False: 70.3k]
  |  Branch (685:31): [True: 1.92k, False: 5.54M]
  ------------------
  686|       |            // Miscellaneous Symbols and Pictographs + Emoticons:
  687|  5.61M|            (cp >= 0x1f300 && cp <= 0x1f64f) ||
  ------------------
  |  Branch (687:14): [True: 5.56M, False: 48.9k]
  |  Branch (687:31): [True: 9.47k, False: 5.55M]
  ------------------
  688|       |            // Supplemental Symbols and Pictographs:
  689|  5.60M|            (cp >= 0x1f900 && cp <= 0x1f9ff))));
  ------------------
  |  Branch (689:14): [True: 5.54M, False: 55.7k]
  |  Branch (689:31): [True: 4.44k, False: 5.54M]
  ------------------
  690|  95.3M|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEEZNS1_5writeIcS5_TnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SC_NS0_17basic_string_viewIS9_EERKNS0_12format_specsEEUlS5_E_EET1_SJ_SH_mmOT2_:
 1688|  46.3k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  46.3k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  46.3k|                "");
 1691|  46.3k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  46.3k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 11.1k, False: 35.1k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  46.3k|  auto* shifts =
 1696|  46.3k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [True: 46.3k, Folded]
  ------------------
 1697|  46.3k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  46.3k|  size_t right_padding = padding - left_padding;
 1699|  46.3k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  46.3k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 2.38k, False: 43.9k]
  ------------------
 1701|  46.3k|  it = f(it);
 1702|  46.3k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 9.96k, False: 36.3k]
  ------------------
 1703|  46.3k|  return base_iterator(out, it);
 1704|  46.3k|}
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEENKUlS4_E_clES4_:
 2245|  46.3k|      out, specs, size, display_width, [=](reserve_iterator<OutputIt> it) {
 2246|  46.3k|        return is_debug
  ------------------
  |  Branch (2246:16): [True: 17.7k, False: 28.5k]
  ------------------
 2247|  46.3k|                   ? write_escaped_string(bounded_output_iterator{it, size}, s)
 2248|  17.7k|                         .underlying_iterator
 2249|  46.3k|                   : copy<char>(s.data(), s.data() + size, it);
 2250|  46.3k|      });
_ZN3fmt3v126detail20write_escaped_stringIcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEESB_SB_SD_:
 1827|  17.7k|    -> OutputIt {
 1828|  17.7k|  *out++ = static_cast<Char>('"');
 1829|  17.7k|  auto begin = str.begin(), end = str.end();
 1830|   163M|  do {
 1831|   163M|    auto escape = find_escape(begin, end);
 1832|   163M|    out = copy<Char>(begin, escape.begin, out);
 1833|   163M|    begin = escape.end;
 1834|   163M|    if (!begin) break;
  ------------------
  |  Branch (1834:9): [True: 8.52k, False: 163M]
  ------------------
 1835|   163M|    out = write_escaped_cp<OutputIt, Char>(out, escape);
 1836|   163M|  } while (begin != end);
  ------------------
  |  Branch (1836:12): [True: 163M, False: 9.18k]
  ------------------
 1837|  17.7k|  *out++ = static_cast<Char>('"');
 1838|  17.7k|  return out;
 1839|  17.7k|}
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratorppEi:
 2232|   671M|    FMT_CONSTEXPR auto operator++(int) -> bounded_output_iterator& {
 2233|   671M|      return *this;
 2234|   671M|    }
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratordeEv:
 2228|   671M|    FMT_CONSTEXPR auto operator*() -> bounded_output_iterator& { return *this; }
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratoraSEc:
 2235|   671M|    FMT_CONSTEXPR auto operator=(char c) -> bounded_output_iterator& {
 2236|   671M|      if (bound > 0) {
  ------------------
  |  Branch (2236:11): [True: 403M, False: 267M]
  ------------------
 2237|   403M|        *underlying_iterator++ = c;
 2238|   403M|        --bound;
 2239|   403M|      }
 2240|   671M|      return *this;
 2241|   671M|    }
_ZN3fmt3v126detail16write_escaped_cpIZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorcEES8_S8_RKNS1_18find_escape_resultISB_EE:
 1790|   163M|    -> OutputIt {
 1791|   163M|  auto c = static_cast<Char>(escape.cp);
 1792|   163M|  switch (escape.cp) {
 1793|  4.05M|  case '\n':
  ------------------
  |  Branch (1793:3): [True: 4.05M, False: 159M]
  ------------------
 1794|  4.05M|    *out++ = static_cast<Char>('\\');
 1795|  4.05M|    c = static_cast<Char>('n');
 1796|  4.05M|    break;
 1797|   836k|  case '\r':
  ------------------
  |  Branch (1797:3): [True: 836k, False: 163M]
  ------------------
 1798|   836k|    *out++ = static_cast<Char>('\\');
 1799|   836k|    c = static_cast<Char>('r');
 1800|   836k|    break;
 1801|   227k|  case '\t':
  ------------------
  |  Branch (1801:3): [True: 227k, False: 163M]
  ------------------
 1802|   227k|    *out++ = static_cast<Char>('\\');
 1803|   227k|    c = static_cast<Char>('t');
 1804|   227k|    break;
 1805|  6.87M|  case '"':  FMT_FALLTHROUGH;
  ------------------
  |  |  181|  6.87M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1805:3): [True: 6.87M, False: 156M]
  ------------------
 1806|  6.87M|  case '\'': FMT_FALLTHROUGH;
  ------------------
  |  |  181|  6.87M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1806:3): [True: 0, False: 163M]
  ------------------
 1807|  7.14M|  case '\\': *out++ = static_cast<Char>('\\'); break;
  ------------------
  |  Branch (1807:3): [True: 272k, False: 163M]
  ------------------
 1808|   151M|  default:
  ------------------
  |  Branch (1808:3): [True: 151M, False: 12.2M]
  ------------------
 1809|   151M|    if (escape.cp < 0x100) return write_codepoint<2, Char>(out, 'x', escape.cp);
  ------------------
  |  Branch (1809:9): [True: 98.1M, False: 53.4M]
  ------------------
 1810|  53.4M|    if (escape.cp < 0x10000)
  ------------------
  |  Branch (1810:9): [True: 716k, False: 52.6M]
  ------------------
 1811|   716k|      return write_codepoint<4, Char>(out, 'u', escape.cp);
 1812|  52.6M|    if (escape.cp < 0x110000)
  ------------------
  |  Branch (1812:9): [True: 445k, False: 52.2M]
  ------------------
 1813|   445k|      return write_codepoint<8, Char>(out, 'U', escape.cp);
 1814|  52.2M|    for (Char escape_char : basic_string_view<Char>(
  ------------------
  |  Branch (1814:27): [True: 52.2M, False: 52.2M]
  ------------------
 1815|  52.2M|             escape.begin, to_unsigned(escape.end - escape.begin))) {
 1816|  52.2M|      out = write_codepoint<2, Char>(out, 'x',
 1817|  52.2M|                                     static_cast<uint32_t>(escape_char) & 0xFF);
 1818|  52.2M|    }
 1819|  52.2M|    return out;
 1820|   163M|  }
 1821|  12.2M|  *out++ = c;
 1822|  12.2M|  return out;
 1823|   163M|}
_ZN3fmt3v126detail15write_codepointILm2EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1779|   150M|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|   150M|  *out++ = static_cast<Char>('\\');
 1781|   150M|  *out++ = static_cast<Char>(prefix);
 1782|   150M|  Char buf[width];
 1783|   150M|  fill_n(buf, width, static_cast<Char>('0'));
 1784|   150M|  format_base2e(4, buf, cp, width);
 1785|   150M|  return copy<Char>(buf, buf + width, out);
 1786|   150M|}
_ZN3fmt3v126detail15write_codepointILm4EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1779|   716k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|   716k|  *out++ = static_cast<Char>('\\');
 1781|   716k|  *out++ = static_cast<Char>(prefix);
 1782|   716k|  Char buf[width];
 1783|   716k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|   716k|  format_base2e(4, buf, cp, width);
 1785|   716k|  return copy<Char>(buf, buf + width, out);
 1786|   716k|}
_ZN3fmt3v126detail15write_codepointILm8EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1779|   445k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|   445k|  *out++ = static_cast<Char>('\\');
 1781|   445k|  *out++ = static_cast<Char>(prefix);
 1782|   445k|  Char buf[width];
 1783|   445k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|   445k|  format_base2e(4, buf, cp, width);
 1785|   445k|  return copy<Char>(buf, buf + width, out);
 1786|   445k|}
_ZN3fmt3v126detail13arg_formatterIcEclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3683|  61.2k|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 3684|  61.2k|    detail::write<Char>(out, value, specs, locale);
 3685|  61.2k|  }
_ZN3fmt3v126detail14format_handlerIcE8on_errorEPKc:
 3804|  11.8k|  FMT_NORETURN void on_error(const char* message) { report_error(message); }
_ZN3fmt3v129to_stringILm500EEENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERKNS0_19basic_memory_bufferIcXT_ENS0_6detail9allocatorIcEEEE:
  923|  10.5k|    -> std::string {
  924|  10.5k|  auto size = buf.size();
  925|  10.5k|  detail::assume(size < std::string().max_size());
  926|  10.5k|  return {buf.data(), size};
  927|  10.5k|}
_ZN3fmt3v126detail22compile_string_to_viewIcLm12EEENS0_17basic_string_viewIT_EERAT0__KS4_:
  997|  21.0k|    -> basic_string_view<Char> {
  998|       |  // Remove trailing NUL character if needed. Won't be present if this is used
  999|       |  // with a raw character array (i.e. not defined as a string).
 1000|  21.0k|  return {s, N - (std::char_traits<Char>::to_int_type(s[N - 1]) == 0 ? 1 : 0)};
  ------------------
  |  Branch (1000:19): [True: 21.0k, False: 0]
  ------------------
 1001|  21.0k|}
_ZN3fmt3v126formatIJPKcRS3_RiEEENSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEENS0_7fstringIJDpT_EE1tEDpOSE_:
 4348|  10.5k|    -> std::string {
 4349|  10.5k|  return vformat(fmt.str, vargs<T...>{{args...}});
 4350|  10.5k|}
_ZZN6spdlog6logger4log_IJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v1217basic_string_viewIcEEDpOT_ENKUlvE_clEv:
 4226|  10.5k|    [] {                                                                     \
 4227|  10.5k|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
 4228|  10.5k|      /* Use a macro-like name to avoid shadowing warnings. */               \
 4229|  10.5k|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
 4230|  10.5k|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
 4231|  10.5k|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
 4232|  10.5k|            const {                                                          \
 4233|  10.5k|          return fmt::detail::compile_string_to_view<char_type>(s);          \
 4234|  10.5k|        }                                                                    \
 4235|  10.5k|      };                                                                     \
 4236|  10.5k|      using FMT_STRING_VIEW =                                                \
 4237|  10.5k|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
 4238|  10.5k|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
 4239|  10.5k|      return FMT_COMPILE_STRING();                                           \
 4240|  10.5k|    }()
_ZZZN6spdlog6logger4log_IJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v1217basic_string_viewIcEEDpOT_ENKUlvE_clEvENK18FMT_COMPILE_STRINGcvSJ_Ev:
 4232|  21.0k|            const {                                                          \
 4233|  21.0k|          return fmt::detail::compile_string_to_view<char_type>(s);          \
 4234|  21.0k|        }                                                                    \

_ZN6spdlog9formatterD2Ev:
   13|      4|    virtual ~formatter() = default;

_ZNK6spdlog6logger4nameEv:
   68|    431|SPDLOG_INLINE const std::string &logger::name() const { return name_; }
_ZN6spdlog6logger8sink_it_ERKNS_7details7log_msgE:
  135|  7.73k|SPDLOG_INLINE void logger::sink_it_(const details::log_msg &msg) {
  136|  7.73k|    for (auto &sink : sinks_) {
  ------------------
  |  Branch (136:21): [True: 7.73k, False: 7.73k]
  ------------------
  137|  7.73k|        if (sink->should_log(msg.level)) {
  ------------------
  |  Branch (137:13): [True: 7.73k, False: 0]
  ------------------
  138|  7.73k|            SPDLOG_TRY { sink->log(msg); }
  ------------------
  |  |  116|  7.73k|#define SPDLOG_TRY try
  ------------------
  139|  7.73k|            SPDLOG_LOGGER_CATCH(msg.source)
  ------------------
  |  |   32|  7.73k|    catch (const std::exception &ex) {                                                \
  |  |   33|      0|        if (location.filename) {                                                      \
  |  |  ------------------
  |  |  |  Branch (33:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   34|      0|            err_handler_(fmt_lib::format(SPDLOG_FMT_STRING("{} [{}({})]"), ex.what(), \
  |  |  ------------------
  |  |  |  |   55|      0|#define SPDLOG_FMT_STRING(format_string) FMT_STRING(format_string)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4251|      0|#define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4226|      0|    [] {                                                                     \
  |  |  |  |  |  |  |  | 4227|      0|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  |  |  | 4228|      0|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  |  |  | 4229|      0|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  |  |  | 4230|      0|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  |  |  | 4231|      0|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  |  |  | 4232|      0|            const {                                                          \
  |  |  |  |  |  |  |  | 4233|      0|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  |  |  | 4234|      0|        }                                                                    \
  |  |  |  |  |  |  |  | 4235|      0|      };                                                                     \
  |  |  |  |  |  |  |  | 4236|      0|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  |  |  | 4237|      0|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  |  |  | 4238|      0|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  |  |  | 4239|      0|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  |  |  | 4240|      0|    }()
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   35|      0|                                         location.filename, location.line));          \
  |  |   36|      0|        } else {                                                                      \
  |  |   37|      0|            err_handler_(ex.what());                                                  \
  |  |   38|      0|        }                                                                             \
  |  |   39|      0|    }                                                                                 \
  |  |   40|  7.73k|    catch (...) {                                                                     \
  |  |   41|      0|        err_handler_("Rethrowing unknown exception in logger");                       \
  |  |   42|      0|        throw;                                                                        \
  |  |   43|      0|    }
  ------------------
  140|  7.73k|        }
  141|  7.73k|    }
  142|       |
  143|  7.73k|    if (should_flush_(msg)) {
  ------------------
  |  Branch (143:9): [True: 0, False: 7.73k]
  ------------------
  144|      0|        flush_();
  145|      0|    }
  146|  7.73k|}
_ZNK6spdlog6logger12err_handler_ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  170|  21.0k|SPDLOG_INLINE void logger::err_handler_(const std::string &msg) const {
  171|  21.0k|    if (custom_err_handler_) {
  ------------------
  |  Branch (171:9): [True: 0, False: 21.0k]
  ------------------
  172|      0|        custom_err_handler_(msg);
  173|  21.0k|    } else {
  174|  21.0k|        using std::chrono::system_clock;
  175|  21.0k|        static std::mutex mutex;
  176|  21.0k|        static std::chrono::system_clock::time_point last_report_time;
  177|  21.0k|        static size_t err_counter = 0;
  178|  21.0k|        std::lock_guard<std::mutex> lk{mutex};
  179|  21.0k|        auto now = system_clock::now();
  180|  21.0k|        err_counter++;
  181|  21.0k|        if (now - last_report_time < std::chrono::seconds(1)) {
  ------------------
  |  Branch (181:13): [True: 20.6k, False: 428]
  ------------------
  182|  20.6k|            return;
  183|  20.6k|        }
  184|    428|        last_report_time = now;
  185|    428|        auto tm_time = details::os::localtime(system_clock::to_time_t(now));
  186|    428|        char date_buf[64];
  187|    428|        std::strftime(date_buf, sizeof(date_buf), "%Y-%m-%d %H:%M:%S", &tm_time);
  188|       |#if defined(USING_R) && defined(R_R_H)  // if in R environment
  189|       |        REprintf("[*** LOG ERROR #%04zu ***] [%s] [%s] %s\n", err_counter, date_buf, name().c_str(),
  190|       |                 msg.c_str());
  191|       |#else
  192|       |        std::fprintf(stderr, "[*** LOG ERROR #%04zu ***] [%s] [%s] %s\n", err_counter, date_buf,
  193|    428|                     name().c_str(), msg.c_str());
  194|    428|#endif
  195|    428|    }
  196|  21.0k|}
_ZNK6spdlog6logger13should_flush_ERKNS_7details7log_msgE:
  166|  7.73k|SPDLOG_INLINE bool logger::should_flush_(const details::log_msg &msg) const {
  167|  7.73k|    return (msg.level >= flush_level()) && (msg.level != level::off);
  ------------------
  |  Branch (167:12): [True: 0, False: 7.73k]
  |  Branch (167:44): [True: 0, False: 0]
  ------------------
  168|  7.73k|}
_ZNK6spdlog6logger11flush_levelEv:
  102|  7.73k|SPDLOG_INLINE level::level_enum logger::flush_level() const {
  103|  7.73k|    return static_cast<level::level_enum>(flush_level_.load(std::memory_order_relaxed));
  104|  7.73k|}
_ZN6spdlog6logger13set_formatterENSt3__110unique_ptrINS_9formatterENS1_14default_deleteIS3_EEEE:
   72|      1|SPDLOG_INLINE void logger::set_formatter(std::unique_ptr<formatter> f) {
   73|      1|    for (auto it = sinks_.begin(); it != sinks_.end(); ++it) {
  ------------------
  |  Branch (73:36): [True: 1, False: 0]
  ------------------
   74|      1|        if (std::next(it) == sinks_.end()) {
  ------------------
  |  Branch (74:13): [True: 1, False: 0]
  ------------------
   75|       |            // last element - we can be move it.
   76|      1|            (*it)->set_formatter(std::move(f));
   77|      1|            break;  // to prevent clang-tidy warning
   78|      1|        } else {
   79|      0|            (*it)->set_formatter(f->clone());
   80|      0|        }
   81|      1|    }
   82|      1|}
_ZN6spdlog6logger9set_levelENS_5level10level_enumE:
   62|      1|SPDLOG_INLINE void logger::set_level(level::level_enum log_level) { level_.store(log_level); }
_ZN6spdlog6logger8flush_onENS_5level10level_enumE:
  100|      1|SPDLOG_INLINE void logger::flush_on(level::level_enum log_level) { flush_level_.store(log_level); }
_ZN6spdlog6logger7log_it_ERKNS_7details7log_msgEbb:
  126|  7.73k|                                   bool traceback_enabled) {
  127|  7.73k|    if (log_enabled) {
  ------------------
  |  Branch (127:9): [True: 7.73k, False: 0]
  ------------------
  128|  7.73k|        sink_it_(log_msg);
  129|  7.73k|    }
  130|  7.73k|    if (traceback_enabled) {
  ------------------
  |  Branch (130:9): [True: 0, False: 7.73k]
  ------------------
  131|      0|        tracer_.push_back(log_msg);
  132|      0|    }
  133|  7.73k|}

_ZN6spdlog6loggerC2ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS1_10shared_ptrINS_5sinks4sinkEEE:
   65|      2|        : logger(std::move(name), {std::move(single_sink)}) {}
_ZN6spdlog6loggerC2ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEESt16initializer_listINS1_10shared_ptrINS_5sinks4sinkEEEE:
   69|      2|        : logger(std::move(name), sinks.begin(), sinks.end()) {}
_ZN6spdlog6loggerC2IPKNSt3__110shared_ptrINS_5sinks4sinkEEEEENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEET_SF_:
   60|      2|        : name_(std::move(name)),
   61|      2|          sinks_(begin, end) {}
_ZN6spdlog6loggerD2Ev:
   71|      2|    virtual ~logger() = default;
_ZN6spdlog6logger4infoIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSG_:
  143|  3.59k|    void info(format_string_t<Args...> fmt, Args &&...args) {
  144|  3.59k|        log(level::info, fmt, std::forward<Args>(args)...);
  145|  3.59k|    }
_ZN6spdlog6logger3logIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_5level10level_enumEN3fmt3v127fstringIJDpT_EE1tEDpOSI_:
   88|  21.5k|    void log(level::level_enum lvl, format_string_t<Args...> fmt, Args &&...args) {
   89|  21.5k|        log(source_loc{}, lvl, fmt, std::forward<Args>(args)...);
   90|  21.5k|    }
_ZN6spdlog6logger5traceIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSG_:
  133|  3.59k|    void trace(format_string_t<Args...> fmt, Args &&...args) {
  134|  3.59k|        log(level::trace, fmt, std::forward<Args>(args)...);
  135|  3.59k|    }
_ZN6spdlog6logger5debugIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSG_:
  138|  3.59k|    void debug(format_string_t<Args...> fmt, Args &&...args) {
  139|  3.59k|        log(level::debug, fmt, std::forward<Args>(args)...);
  140|  3.59k|    }
_ZN6spdlog6logger5errorIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSG_:
  153|  3.59k|    void error(format_string_t<Args...> fmt, Args &&...args) {
  154|  3.59k|        log(level::err, fmt, std::forward<Args>(args)...);
  155|  3.59k|    }
_ZN6spdlog6logger4warnIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSG_:
  148|  3.59k|    void warn(format_string_t<Args...> fmt, Args &&...args) {
  149|  3.59k|        log(level::warn, fmt, std::forward<Args>(args)...);
  150|  3.59k|    }
_ZN6spdlog6logger8criticalIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSG_:
  158|  3.59k|    void critical(format_string_t<Args...> fmt, Args &&...args) {
  159|  3.59k|        log(level::critical, fmt, std::forward<Args>(args)...);
  160|  3.59k|    }
_ZN6spdlog6logger3logIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v127fstringIJDpT_EE1tEDpOSJ_:
   79|  35.9k|    void log(source_loc loc, level::level_enum lvl, format_string_t<Args...> fmt, Args &&...args) {
   80|       |#if defined(SPDLOG_USE_STD_FORMAT) && __cpp_lib_format < 202207L
   81|       |        log_(loc, lvl, fmt, std::forward<Args>(args)...);
   82|       |#else
   83|  35.9k|        log_(loc, lvl, fmt.get(), std::forward<Args>(args)...);
   84|  35.9k|#endif
   85|  35.9k|    }
_ZN6spdlog6logger4log_IJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v1217basic_string_viewIcEEDpOT_:
  325|  35.9k|    void log_(source_loc loc, level::level_enum lvl, string_view_t fmt, Args &&...args) {
  326|  35.9k|        bool log_enabled = should_log(lvl);
  327|  35.9k|        bool traceback_enabled = tracer_.enabled();
  328|  35.9k|        if (!log_enabled && !traceback_enabled) {
  ------------------
  |  Branch (328:13): [True: 7.19k, False: 28.7k]
  |  Branch (328:29): [True: 7.19k, False: 0]
  ------------------
  329|  7.19k|            return;
  330|  7.19k|        }
  331|  28.7k|        SPDLOG_TRY {
  ------------------
  |  |  116|  28.7k|#define SPDLOG_TRY try
  ------------------
  332|  28.7k|            memory_buf_t buf;
  333|       |#ifdef SPDLOG_USE_STD_FORMAT
  334|       |            fmt_lib::vformat_to(std::back_inserter(buf), fmt, fmt_lib::make_format_args(args...));
  335|       |#else
  336|  28.7k|            fmt::vformat_to(fmt::appender(buf), fmt, fmt::make_format_args(args...));
  337|  28.7k|#endif
  338|       |
  339|  28.7k|            details::log_msg log_msg(loc, name_, lvl, string_view_t(buf.data(), buf.size()));
  340|  28.7k|            log_it_(log_msg, log_enabled, traceback_enabled);
  341|  28.7k|        }
  342|  28.7k|        SPDLOG_LOGGER_CATCH(loc)
  ------------------
  |  |   32|  28.7k|    catch (const std::exception &ex) {                                                \
  |  |   33|  21.0k|        if (location.filename) {                                                      \
  |  |  ------------------
  |  |  |  Branch (33:13): [True: 10.5k, False: 10.5k]
  |  |  ------------------
  |  |   34|  10.5k|            err_handler_(fmt_lib::format(SPDLOG_FMT_STRING("{} [{}({})]"), ex.what(), \
  |  |  ------------------
  |  |  |  |   55|  10.5k|#define SPDLOG_FMT_STRING(format_string) FMT_STRING(format_string)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4251|  10.5k|#define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4226|  10.5k|    [] {                                                                     \
  |  |  |  |  |  |  |  | 4227|  10.5k|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  |  |  | 4228|  10.5k|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  |  |  | 4229|  10.5k|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  |  |  | 4230|  10.5k|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  |  |  | 4231|  10.5k|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  |  |  | 4232|  10.5k|            const {                                                          \
  |  |  |  |  |  |  |  | 4233|  10.5k|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  |  |  | 4234|  10.5k|        }                                                                    \
  |  |  |  |  |  |  |  | 4235|  10.5k|      };                                                                     \
  |  |  |  |  |  |  |  | 4236|  10.5k|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  |  |  | 4237|  10.5k|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  |  |  | 4238|  10.5k|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  |  |  | 4239|  10.5k|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  |  |  | 4240|  10.5k|    }()
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   35|  10.5k|                                         location.filename, location.line));          \
  |  |   36|  10.5k|        } else {                                                                      \
  |  |   37|  10.5k|            err_handler_(ex.what());                                                  \
  |  |   38|  10.5k|        }                                                                             \
  |  |   39|  21.0k|    }                                                                                 \
  |  |   40|  28.7k|    catch (...) {                                                                     \
  |  |   41|      0|        err_handler_("Rethrowing unknown exception in logger");                       \
  |  |   42|      0|        throw;                                                                        \
  |  |   43|      0|    }
  ------------------
  343|  28.7k|    }
_ZNK6spdlog6logger10should_logENS_5level10level_enumE:
  270|  35.9k|    bool should_log(level::level_enum msg_level) const {
  271|  35.9k|        return msg_level >= level_.load(std::memory_order_relaxed);
  272|  35.9k|    }

_ZN6spdlog3mdc11get_contextEv:
   46|  7.73k|    static mdc_map_t &get_context() {
   47|  7.73k|        static thread_local mdc_map_t context;
   48|  7.73k|        return context;
   49|  7.73k|    }

_ZNK6spdlog17pattern_formatter5cloneEv:
  977|      1|SPDLOG_INLINE std::unique_ptr<formatter> pattern_formatter::clone() const {
  978|      1|    custom_flags cloned_custom_formatters;
  979|      1|    for (auto &it : custom_handlers_) {
  ------------------
  |  Branch (979:19): [True: 0, False: 1]
  ------------------
  980|      0|        cloned_custom_formatters[it.first] = it.second->clone();
  981|      0|    }
  982|      1|    auto cloned = details::make_unique<pattern_formatter>(pattern_, pattern_time_type_, eol_,
  983|      1|                                                          std::move(cloned_custom_formatters));
  984|      1|    cloned->need_localtime(need_localtime_);
  985|      1|#if defined(__GNUC__) && __GNUC__ < 5
  986|      1|    return std::move(cloned);
  987|       |#else
  988|       |    return cloned;
  989|       |#endif
  990|      1|}
_ZN6spdlog17pattern_formatter14need_localtimeEb:
 1015|      1|SPDLOG_INLINE void pattern_formatter::need_localtime(bool need) { need_localtime_ = need; }
_ZN6spdlog17pattern_formatterC2ENS_17pattern_time_typeENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  968|      3|    : pattern_("%+"),
  969|      3|      eol_(std::move(eol)),
  970|      3|      pattern_time_type_(time_type),
  971|      3|      need_localtime_(true),
  972|      3|      last_log_secs_(0) {
  973|      3|    std::memset(&cached_tm_, 0, sizeof(cached_tm_));
  974|      3|    formatters_.push_back(details::make_unique<details::full_formatter>(details::padding_info{}));
  975|      3|}
_ZN6spdlog7details14full_formatterC2ENS0_12padding_infoE:
  856|      4|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13mdc_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  816|      4|        : flag_formatter(padinfo) {}
_ZN6spdlog7details14full_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  858|  7.73k|    void format(const details::log_msg &msg, const std::tm &tm_time, memory_buf_t &dest) override {
  859|  7.73k|        using std::chrono::duration_cast;
  860|  7.73k|        using std::chrono::milliseconds;
  861|  7.73k|        using std::chrono::seconds;
  862|       |
  863|       |        // cache the date/time part for the next second.
  864|  7.73k|        auto duration = msg.time.time_since_epoch();
  865|  7.73k|        auto secs = duration_cast<seconds>(duration);
  866|       |
  867|  7.73k|        if (cache_timestamp_ != secs || cached_datetime_.size() == 0) {
  ------------------
  |  Branch (867:13): [True: 325, False: 7.41k]
  |  Branch (867:41): [True: 0, False: 7.41k]
  ------------------
  868|    325|            cached_datetime_.clear();
  869|    325|            cached_datetime_.push_back('[');
  870|    325|            fmt_helper::append_int(tm_time.tm_year + 1900, cached_datetime_);
  871|    325|            cached_datetime_.push_back('-');
  872|       |
  873|    325|            fmt_helper::pad2(tm_time.tm_mon + 1, cached_datetime_);
  874|    325|            cached_datetime_.push_back('-');
  875|       |
  876|    325|            fmt_helper::pad2(tm_time.tm_mday, cached_datetime_);
  877|    325|            cached_datetime_.push_back(' ');
  878|       |
  879|    325|            fmt_helper::pad2(tm_time.tm_hour, cached_datetime_);
  880|    325|            cached_datetime_.push_back(':');
  881|       |
  882|    325|            fmt_helper::pad2(tm_time.tm_min, cached_datetime_);
  883|    325|            cached_datetime_.push_back(':');
  884|       |
  885|    325|            fmt_helper::pad2(tm_time.tm_sec, cached_datetime_);
  886|    325|            cached_datetime_.push_back('.');
  887|       |
  888|    325|            cache_timestamp_ = secs;
  889|    325|        }
  890|  7.73k|        dest.append(cached_datetime_.begin(), cached_datetime_.end());
  891|       |
  892|  7.73k|        auto millis = fmt_helper::time_fraction<milliseconds>(msg.time);
  893|  7.73k|        fmt_helper::pad3(static_cast<uint32_t>(millis.count()), dest);
  894|  7.73k|        dest.push_back(']');
  895|  7.73k|        dest.push_back(' ');
  896|       |
  897|       |        // append logger name if exists
  898|  7.73k|        if (msg.logger_name.size() > 0) {
  ------------------
  |  Branch (898:13): [True: 7.73k, False: 0]
  ------------------
  899|  7.73k|            dest.push_back('[');
  900|  7.73k|            fmt_helper::append_string_view(msg.logger_name, dest);
  901|  7.73k|            dest.push_back(']');
  902|  7.73k|            dest.push_back(' ');
  903|  7.73k|        }
  904|       |
  905|  7.73k|        dest.push_back('[');
  906|       |        // wrap the level name with color
  907|  7.73k|        msg.color_range_start = dest.size();
  908|       |        // fmt_helper::append_string_view(level::to_c_str(msg.level), dest);
  909|  7.73k|        fmt_helper::append_string_view(level::to_string_view(msg.level), dest);
  910|  7.73k|        msg.color_range_end = dest.size();
  911|  7.73k|        dest.push_back(']');
  912|  7.73k|        dest.push_back(' ');
  913|       |
  914|       |        // add source location if present
  915|  7.73k|        if (!msg.source.empty()) {
  ------------------
  |  Branch (915:13): [True: 3.86k, False: 3.86k]
  ------------------
  916|  3.86k|            dest.push_back('[');
  917|  3.86k|            const char *filename =
  918|  3.86k|                details::short_filename_formatter<details::null_scoped_padder>::basename(
  919|  3.86k|                    msg.source.filename);
  920|  3.86k|            fmt_helper::append_string_view(filename, dest);
  921|  3.86k|            dest.push_back(':');
  922|  3.86k|            fmt_helper::append_int(msg.source.line, dest);
  923|  3.86k|            dest.push_back(']');
  924|  3.86k|            dest.push_back(' ');
  925|  3.86k|        }
  926|       |
  927|  7.73k|#ifndef SPDLOG_NO_TLS
  928|       |        // add mdc if present
  929|  7.73k|        auto &mdc_map = mdc::get_context();
  930|  7.73k|        if (!mdc_map.empty()) {
  ------------------
  |  Branch (930:13): [True: 0, False: 7.73k]
  ------------------
  931|      0|            dest.push_back('[');
  932|      0|            mdc_formatter_.format_mdc(mdc_map, dest);
  933|      0|            dest.push_back(']');
  934|      0|            dest.push_back(' ');
  935|      0|        }
  936|  7.73k|#endif
  937|       |        // fmt_helper::append_string_view(msg.msg(), dest);
  938|  7.73k|        fmt_helper::append_string_view(msg.payload, dest);
  939|  7.73k|    }
_ZN6spdlog7details24short_filename_formatterINS0_18null_scoped_padderEE8basenameEPKc:
  717|  3.86k|    static const char *basename(const char *filename) {
  718|       |        // if the size is 2 (1 character + null terminator) we can use the more efficient strrchr
  719|       |        // the branch will be elided by optimizations
  720|  3.86k|        if (sizeof(os::folder_seps) == 2) {
  ------------------
  |  Branch (720:13): [True: 3.86k, Folded]
  ------------------
  721|  3.86k|            const char *rv = std::strrchr(filename, os::folder_seps[0]);
  722|  3.86k|            return rv != nullptr ? rv + 1 : filename;
  ------------------
  |  Branch (722:20): [True: 3.86k, False: 0]
  ------------------
  723|  3.86k|        } else {
  724|      0|            const std::reverse_iterator<const char *> begin(filename + std::strlen(filename));
  725|      0|            const std::reverse_iterator<const char *> end(filename);
  726|       |
  727|      0|            const auto it = std::find_first_of(begin, end, std::begin(os::folder_seps),
  728|      0|                                               std::end(os::folder_seps) - 1);
  729|      0|            return it != end ? it.base() : filename;
  ------------------
  |  Branch (729:20): [True: 0, False: 0]
  ------------------
  730|      0|        }
  731|  3.86k|    }
_ZN6spdlog17pattern_formatterC2ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_17pattern_time_typeES7_NS1_13unordered_mapIcNS1_10unique_ptrINS_21custom_flag_formatterENS1_14default_deleteISB_EEEENS1_4hashIcEENS1_8equal_toIcEENS5_INS1_4pairIKcSE_EEEEEE:
  956|      1|    : pattern_(std::move(pattern)),
  957|      1|      eol_(std::move(eol)),
  958|      1|      pattern_time_type_(time_type),
  959|      1|      need_localtime_(false),
  960|      1|      last_log_secs_(0),
  961|      1|      custom_handlers_(std::move(custom_user_flags)) {
  962|      1|    std::memset(&cached_tm_, 0, sizeof(cached_tm_));
  963|      1|    compile_pattern_(pattern_);
  964|      1|}
_ZN6spdlog17pattern_formatter16compile_pattern_ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 1318|      1|SPDLOG_INLINE void pattern_formatter::compile_pattern_(const std::string &pattern) {
 1319|      1|    auto end = pattern.end();
 1320|      1|    std::unique_ptr<details::aggregate_formatter> user_chars;
 1321|      1|    formatters_.clear();
 1322|      2|    for (auto it = pattern.begin(); it != end; ++it) {
  ------------------
  |  Branch (1322:37): [True: 1, False: 1]
  ------------------
 1323|      1|        if (*it == '%') {
  ------------------
  |  Branch (1323:13): [True: 1, False: 0]
  ------------------
 1324|      1|            if (user_chars)  // append user chars found so far
  ------------------
  |  Branch (1324:17): [True: 0, False: 1]
  ------------------
 1325|      0|            {
 1326|      0|                formatters_.push_back(std::move(user_chars));
 1327|      0|            }
 1328|       |
 1329|      1|            auto padding = handle_padspec_(++it, end);
 1330|       |
 1331|      1|            if (it != end) {
  ------------------
  |  Branch (1331:17): [True: 1, False: 0]
  ------------------
 1332|      1|                if (padding.enabled()) {
  ------------------
  |  Branch (1332:21): [True: 0, False: 1]
  ------------------
 1333|      0|                    handle_flag_<details::scoped_padder>(*it, padding);
 1334|      1|                } else {
 1335|      1|                    handle_flag_<details::null_scoped_padder>(*it, padding);
 1336|      1|                }
 1337|      1|            } else {
 1338|      0|                break;
 1339|      0|            }
 1340|      1|        } else  // chars not following the % sign should be displayed as is
 1341|      0|        {
 1342|      0|            if (!user_chars) {
  ------------------
  |  Branch (1342:17): [True: 0, False: 0]
  ------------------
 1343|      0|                user_chars = details::make_unique<details::aggregate_formatter>();
 1344|      0|            }
 1345|      0|            user_chars->add_ch(*it);
 1346|      0|        }
 1347|      1|    }
 1348|      1|    if (user_chars)  // append raw chars found so far
  ------------------
  |  Branch (1348:9): [True: 0, False: 1]
  ------------------
 1349|      0|    {
 1350|      0|        formatters_.push_back(std::move(user_chars));
 1351|      0|    }
 1352|      1|}
_ZN6spdlog17pattern_formatter15handle_padspec_ERNSt3__111__wrap_iterIPKcEES5_:
 1274|      1|    std::string::const_iterator &it, std::string::const_iterator end) {
 1275|      1|    using details::padding_info;
 1276|      1|    using details::scoped_padder;
 1277|      1|    const size_t max_width = 64;
 1278|      1|    if (it == end) {
  ------------------
  |  Branch (1278:9): [True: 0, False: 1]
  ------------------
 1279|      0|        return padding_info{};
 1280|      0|    }
 1281|       |
 1282|      1|    padding_info::pad_side side;
 1283|      1|    switch (*it) {
 1284|      0|        case '-':
  ------------------
  |  Branch (1284:9): [True: 0, False: 1]
  ------------------
 1285|      0|            side = padding_info::pad_side::right;
 1286|      0|            ++it;
 1287|      0|            break;
 1288|      0|        case '=':
  ------------------
  |  Branch (1288:9): [True: 0, False: 1]
  ------------------
 1289|      0|            side = padding_info::pad_side::center;
 1290|      0|            ++it;
 1291|      0|            break;
 1292|      1|        default:
  ------------------
  |  Branch (1292:9): [True: 1, False: 0]
  ------------------
 1293|      1|            side = details::padding_info::pad_side::left;
 1294|      1|            break;
 1295|      1|    }
 1296|       |
 1297|      1|    if (it == end || !std::isdigit(static_cast<unsigned char>(*it))) {
  ------------------
  |  Branch (1297:9): [True: 0, False: 1]
  |  Branch (1297:22): [True: 1, False: 0]
  ------------------
 1298|      1|        return padding_info{};  // no padding if no digit found here
 1299|      1|    }
 1300|       |
 1301|      0|    auto width = static_cast<size_t>(*it) - '0';
 1302|      0|    for (++it; it != end && std::isdigit(static_cast<unsigned char>(*it)); ++it) {
  ------------------
  |  Branch (1302:16): [True: 0, False: 0]
  |  Branch (1302:29): [True: 0, False: 0]
  ------------------
 1303|      0|        auto digit = static_cast<size_t>(*it) - '0';
 1304|      0|        width = width * 10 + digit;
 1305|      0|    }
 1306|       |
 1307|       |    // search for the optional truncate marker '!'
 1308|      0|    bool truncate;
 1309|      0|    if (it != end && *it == '!') {
  ------------------
  |  Branch (1309:9): [True: 0, False: 0]
  |  Branch (1309:22): [True: 0, False: 0]
  ------------------
 1310|      0|        truncate = true;
 1311|      0|        ++it;
 1312|      0|    } else {
 1313|      0|        truncate = false;
 1314|      0|    }
 1315|      0|    return details::padding_info{std::min<size_t>(width, max_width), side, truncate};
 1316|      1|}
_ZN6spdlog17pattern_formatter12handle_flag_INS_7details18null_scoped_padderEEEvcNS2_12padding_infoE:
 1025|      1|SPDLOG_INLINE void pattern_formatter::handle_flag_(char flag, details::padding_info padding) {
 1026|       |    // process custom flags
 1027|      1|    auto it = custom_handlers_.find(flag);
 1028|      1|    if (it != custom_handlers_.end()) {
  ------------------
  |  Branch (1028:9): [True: 0, False: 1]
  ------------------
 1029|      0|        auto custom_handler = it->second->clone();
 1030|      0|        custom_handler->set_padding_info(padding);
 1031|      0|        formatters_.push_back(std::move(custom_handler));
 1032|      0|        return;
 1033|      0|    }
 1034|       |
 1035|       |    // process built-in flags
 1036|      1|    switch (flag) {
 1037|      1|        case ('+'):  // default formatter
  ------------------
  |  Branch (1037:9): [True: 1, False: 0]
  ------------------
 1038|      1|            formatters_.push_back(details::make_unique<details::full_formatter>(padding));
 1039|      1|            need_localtime_ = true;
 1040|      1|            break;
 1041|       |
 1042|      0|        case 'n':  // logger name
  ------------------
  |  Branch (1042:9): [True: 0, False: 1]
  ------------------
 1043|      0|            formatters_.push_back(details::make_unique<details::name_formatter<Padder>>(padding));
 1044|      0|            break;
 1045|       |
 1046|      0|        case 'l':  // level
  ------------------
  |  Branch (1046:9): [True: 0, False: 1]
  ------------------
 1047|      0|            formatters_.push_back(details::make_unique<details::level_formatter<Padder>>(padding));
 1048|      0|            break;
 1049|       |
 1050|      0|        case 'L':  // short level
  ------------------
  |  Branch (1050:9): [True: 0, False: 1]
  ------------------
 1051|      0|            formatters_.push_back(
 1052|      0|                details::make_unique<details::short_level_formatter<Padder>>(padding));
 1053|      0|            break;
 1054|       |
 1055|      0|        case ('t'):  // thread id
  ------------------
  |  Branch (1055:9): [True: 0, False: 1]
  ------------------
 1056|      0|            formatters_.push_back(details::make_unique<details::t_formatter<Padder>>(padding));
 1057|      0|            break;
 1058|       |
 1059|      0|        case ('v'):  // the message text
  ------------------
  |  Branch (1059:9): [True: 0, False: 1]
  ------------------
 1060|      0|            formatters_.push_back(details::make_unique<details::v_formatter<Padder>>(padding));
 1061|      0|            break;
 1062|       |
 1063|      0|        case ('a'):  // weekday
  ------------------
  |  Branch (1063:9): [True: 0, False: 1]
  ------------------
 1064|      0|            formatters_.push_back(details::make_unique<details::a_formatter<Padder>>(padding));
 1065|      0|            need_localtime_ = true;
 1066|      0|            break;
 1067|       |
 1068|      0|        case ('A'):  // short weekday
  ------------------
  |  Branch (1068:9): [True: 0, False: 1]
  ------------------
 1069|      0|            formatters_.push_back(details::make_unique<details::A_formatter<Padder>>(padding));
 1070|      0|            need_localtime_ = true;
 1071|      0|            break;
 1072|       |
 1073|      0|        case ('b'):
  ------------------
  |  Branch (1073:9): [True: 0, False: 1]
  ------------------
 1074|      0|        case ('h'):  // month
  ------------------
  |  Branch (1074:9): [True: 0, False: 1]
  ------------------
 1075|      0|            formatters_.push_back(details::make_unique<details::b_formatter<Padder>>(padding));
 1076|      0|            need_localtime_ = true;
 1077|      0|            break;
 1078|       |
 1079|      0|        case ('B'):  // short month
  ------------------
  |  Branch (1079:9): [True: 0, False: 1]
  ------------------
 1080|      0|            formatters_.push_back(details::make_unique<details::B_formatter<Padder>>(padding));
 1081|      0|            need_localtime_ = true;
 1082|      0|            break;
 1083|       |
 1084|      0|        case ('c'):  // datetime
  ------------------
  |  Branch (1084:9): [True: 0, False: 1]
  ------------------
 1085|      0|            formatters_.push_back(details::make_unique<details::c_formatter<Padder>>(padding));
 1086|      0|            need_localtime_ = true;
 1087|      0|            break;
 1088|       |
 1089|      0|        case ('C'):  // year 2 digits
  ------------------
  |  Branch (1089:9): [True: 0, False: 1]
  ------------------
 1090|      0|            formatters_.push_back(details::make_unique<details::C_formatter<Padder>>(padding));
 1091|      0|            need_localtime_ = true;
 1092|      0|            break;
 1093|       |
 1094|      0|        case ('Y'):  // year 4 digits
  ------------------
  |  Branch (1094:9): [True: 0, False: 1]
  ------------------
 1095|      0|            formatters_.push_back(details::make_unique<details::Y_formatter<Padder>>(padding));
 1096|      0|            need_localtime_ = true;
 1097|      0|            break;
 1098|       |
 1099|      0|        case ('D'):
  ------------------
  |  Branch (1099:9): [True: 0, False: 1]
  ------------------
 1100|      0|        case ('x'):  // datetime MM/DD/YY
  ------------------
  |  Branch (1100:9): [True: 0, False: 1]
  ------------------
 1101|      0|            formatters_.push_back(details::make_unique<details::D_formatter<Padder>>(padding));
 1102|      0|            need_localtime_ = true;
 1103|      0|            break;
 1104|       |
 1105|      0|        case ('m'):  // month 1-12
  ------------------
  |  Branch (1105:9): [True: 0, False: 1]
  ------------------
 1106|      0|            formatters_.push_back(details::make_unique<details::m_formatter<Padder>>(padding));
 1107|      0|            need_localtime_ = true;
 1108|      0|            break;
 1109|       |
 1110|      0|        case ('d'):  // day of month 1-31
  ------------------
  |  Branch (1110:9): [True: 0, False: 1]
  ------------------
 1111|      0|            formatters_.push_back(details::make_unique<details::d_formatter<Padder>>(padding));
 1112|      0|            need_localtime_ = true;
 1113|      0|            break;
 1114|       |
 1115|      0|        case ('H'):  // hours 24
  ------------------
  |  Branch (1115:9): [True: 0, False: 1]
  ------------------
 1116|      0|            formatters_.push_back(details::make_unique<details::H_formatter<Padder>>(padding));
 1117|      0|            need_localtime_ = true;
 1118|      0|            break;
 1119|       |
 1120|      0|        case ('I'):  // hours 12
  ------------------
  |  Branch (1120:9): [True: 0, False: 1]
  ------------------
 1121|      0|            formatters_.push_back(details::make_unique<details::I_formatter<Padder>>(padding));
 1122|      0|            need_localtime_ = true;
 1123|      0|            break;
 1124|       |
 1125|      0|        case ('M'):  // minutes
  ------------------
  |  Branch (1125:9): [True: 0, False: 1]
  ------------------
 1126|      0|            formatters_.push_back(details::make_unique<details::M_formatter<Padder>>(padding));
 1127|      0|            need_localtime_ = true;
 1128|      0|            break;
 1129|       |
 1130|      0|        case ('S'):  // seconds
  ------------------
  |  Branch (1130:9): [True: 0, False: 1]
  ------------------
 1131|      0|            formatters_.push_back(details::make_unique<details::S_formatter<Padder>>(padding));
 1132|      0|            need_localtime_ = true;
 1133|      0|            break;
 1134|       |
 1135|      0|        case ('e'):  // milliseconds
  ------------------
  |  Branch (1135:9): [True: 0, False: 1]
  ------------------
 1136|      0|            formatters_.push_back(details::make_unique<details::e_formatter<Padder>>(padding));
 1137|      0|            break;
 1138|       |
 1139|      0|        case ('f'):  // microseconds
  ------------------
  |  Branch (1139:9): [True: 0, False: 1]
  ------------------
 1140|      0|            formatters_.push_back(details::make_unique<details::f_formatter<Padder>>(padding));
 1141|      0|            break;
 1142|       |
 1143|      0|        case ('F'):  // nanoseconds
  ------------------
  |  Branch (1143:9): [True: 0, False: 1]
  ------------------
 1144|      0|            formatters_.push_back(details::make_unique<details::F_formatter<Padder>>(padding));
 1145|      0|            break;
 1146|       |
 1147|      0|        case ('E'):  // seconds since epoch
  ------------------
  |  Branch (1147:9): [True: 0, False: 1]
  ------------------
 1148|      0|            formatters_.push_back(details::make_unique<details::E_formatter<Padder>>(padding));
 1149|      0|            break;
 1150|       |
 1151|      0|        case ('p'):  // am/pm
  ------------------
  |  Branch (1151:9): [True: 0, False: 1]
  ------------------
 1152|      0|            formatters_.push_back(details::make_unique<details::p_formatter<Padder>>(padding));
 1153|      0|            need_localtime_ = true;
 1154|      0|            break;
 1155|       |
 1156|      0|        case ('r'):  // 12 hour clock 02:55:02 pm
  ------------------
  |  Branch (1156:9): [True: 0, False: 1]
  ------------------
 1157|      0|            formatters_.push_back(details::make_unique<details::r_formatter<Padder>>(padding));
 1158|      0|            need_localtime_ = true;
 1159|      0|            break;
 1160|       |
 1161|      0|        case ('R'):  // 24-hour HH:MM time
  ------------------
  |  Branch (1161:9): [True: 0, False: 1]
  ------------------
 1162|      0|            formatters_.push_back(details::make_unique<details::R_formatter<Padder>>(padding));
 1163|      0|            need_localtime_ = true;
 1164|      0|            break;
 1165|       |
 1166|      0|        case ('T'):
  ------------------
  |  Branch (1166:9): [True: 0, False: 1]
  ------------------
 1167|      0|        case ('X'):  // ISO 8601 time format (HH:MM:SS)
  ------------------
  |  Branch (1167:9): [True: 0, False: 1]
  ------------------
 1168|      0|            formatters_.push_back(details::make_unique<details::T_formatter<Padder>>(padding));
 1169|      0|            need_localtime_ = true;
 1170|      0|            break;
 1171|      0|        case ('z'):  // timezone
  ------------------
  |  Branch (1171:9): [True: 0, False: 1]
  ------------------
 1172|      0|            formatters_.push_back(
 1173|      0|                details::make_unique<details::z_formatter<Padder>>(padding, pattern_time_type_));
 1174|      0|            need_localtime_ = true;
 1175|      0|            break;
 1176|      0|        case ('P'):  // pid
  ------------------
  |  Branch (1176:9): [True: 0, False: 1]
  ------------------
 1177|      0|            formatters_.push_back(details::make_unique<details::pid_formatter<Padder>>(padding));
 1178|      0|            break;
 1179|       |
 1180|      0|        case ('^'):  // color range start
  ------------------
  |  Branch (1180:9): [True: 0, False: 1]
  ------------------
 1181|      0|            formatters_.push_back(details::make_unique<details::color_start_formatter>(padding));
 1182|      0|            break;
 1183|       |
 1184|      0|        case ('$'):  // color range end
  ------------------
  |  Branch (1184:9): [True: 0, False: 1]
  ------------------
 1185|      0|            formatters_.push_back(details::make_unique<details::color_stop_formatter>(padding));
 1186|      0|            break;
 1187|       |
 1188|      0|        case ('@'):  // source location (filename:filenumber)
  ------------------
  |  Branch (1188:9): [True: 0, False: 1]
  ------------------
 1189|      0|            formatters_.push_back(
 1190|      0|                details::make_unique<details::source_location_formatter<Padder>>(padding));
 1191|      0|            break;
 1192|       |
 1193|      0|        case ('s'):  // short source filename - without directory name
  ------------------
  |  Branch (1193:9): [True: 0, False: 1]
  ------------------
 1194|      0|            formatters_.push_back(
 1195|      0|                details::make_unique<details::short_filename_formatter<Padder>>(padding));
 1196|      0|            break;
 1197|       |
 1198|      0|        case ('g'):  // full source filename
  ------------------
  |  Branch (1198:9): [True: 0, False: 1]
  ------------------
 1199|      0|            formatters_.push_back(
 1200|      0|                details::make_unique<details::source_filename_formatter<Padder>>(padding));
 1201|      0|            break;
 1202|       |
 1203|      0|        case ('#'):  // source line number
  ------------------
  |  Branch (1203:9): [True: 0, False: 1]
  ------------------
 1204|      0|            formatters_.push_back(
 1205|      0|                details::make_unique<details::source_linenum_formatter<Padder>>(padding));
 1206|      0|            break;
 1207|       |
 1208|      0|        case ('!'):  // source funcname
  ------------------
  |  Branch (1208:9): [True: 0, False: 1]
  ------------------
 1209|      0|            formatters_.push_back(
 1210|      0|                details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1211|      0|            break;
 1212|       |
 1213|      0|        case ('%'):  // % char
  ------------------
  |  Branch (1213:9): [True: 0, False: 1]
  ------------------
 1214|      0|            formatters_.push_back(details::make_unique<details::ch_formatter>('%'));
 1215|      0|            break;
 1216|       |
 1217|      0|        case ('u'):  // elapsed time since last log message in nanos
  ------------------
  |  Branch (1217:9): [True: 0, False: 1]
  ------------------
 1218|      0|            formatters_.push_back(
 1219|      0|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::nanoseconds>>(
 1220|      0|                    padding));
 1221|      0|            break;
 1222|       |
 1223|      0|        case ('i'):  // elapsed time since last log message in micros
  ------------------
  |  Branch (1223:9): [True: 0, False: 1]
  ------------------
 1224|      0|            formatters_.push_back(
 1225|      0|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::microseconds>>(
 1226|      0|                    padding));
 1227|      0|            break;
 1228|       |
 1229|      0|        case ('o'):  // elapsed time since last log message in millis
  ------------------
  |  Branch (1229:9): [True: 0, False: 1]
  ------------------
 1230|      0|            formatters_.push_back(
 1231|      0|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::milliseconds>>(
 1232|      0|                    padding));
 1233|      0|            break;
 1234|       |
 1235|      0|        case ('O'):  // elapsed time since last log message in seconds
  ------------------
  |  Branch (1235:9): [True: 0, False: 1]
  ------------------
 1236|      0|            formatters_.push_back(
 1237|      0|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::seconds>>(
 1238|      0|                    padding));
 1239|      0|            break;
 1240|       |
 1241|      0|#ifndef SPDLOG_NO_TLS  // mdc formatter requires TLS support
 1242|      0|        case ('&'):
  ------------------
  |  Branch (1242:9): [True: 0, False: 1]
  ------------------
 1243|      0|            formatters_.push_back(details::make_unique<details::mdc_formatter<Padder>>(padding));
 1244|      0|            break;
 1245|      0|#endif
 1246|       |
 1247|      0|        default:  // Unknown flag appears as is
  ------------------
  |  Branch (1247:9): [True: 0, False: 1]
  ------------------
 1248|      0|            auto unknown_flag = details::make_unique<details::aggregate_formatter>();
 1249|       |
 1250|      0|            if (!padding.truncate_) {
  ------------------
  |  Branch (1250:17): [True: 0, False: 0]
  ------------------
 1251|      0|                unknown_flag->add_ch('%');
 1252|      0|                unknown_flag->add_ch(flag);
 1253|      0|                formatters_.push_back((std::move(unknown_flag)));
 1254|      0|            }
 1255|       |            // fix issue #1617 (prev char was '!' and should have been treated as funcname flag
 1256|       |            // instead of truncating flag) spdlog::set_pattern("[%10!] %v") => "[      main] some
 1257|       |            // message" spdlog::set_pattern("[%3!!] %v") => "[mai] some message"
 1258|      0|            else {
 1259|      0|                padding.truncate_ = false;
 1260|      0|                formatters_.push_back(
 1261|      0|                    details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1262|      0|                unknown_flag->add_ch(flag);
 1263|      0|                formatters_.push_back((std::move(unknown_flag)));
 1264|      0|            }
 1265|       |
 1266|      0|            break;
 1267|      1|    }
 1268|      1|}
_ZN6spdlog17pattern_formatter6formatERKNS_7details7log_msgERN3fmt3v1219basic_memory_bufferIcLm250ENS6_6detail9allocatorIcEEEE:
  992|  7.73k|SPDLOG_INLINE void pattern_formatter::format(const details::log_msg &msg, memory_buf_t &dest) {
  993|  7.73k|    if (need_localtime_) {
  ------------------
  |  Branch (993:9): [True: 7.73k, False: 0]
  ------------------
  994|  7.73k|        const auto secs =
  995|  7.73k|            std::chrono::duration_cast<std::chrono::seconds>(msg.time.time_since_epoch());
  996|  7.73k|        if (secs != last_log_secs_ || cached_tm_.tm_mday == 0) {
  ------------------
  |  Branch (996:13): [True: 325, False: 7.41k]
  |  Branch (996:39): [True: 0, False: 7.41k]
  ------------------
  997|    325|            cached_tm_ = get_time_(msg);
  998|    325|            last_log_secs_ = secs;
  999|    325|        }
 1000|  7.73k|    }
 1001|       |
 1002|  7.73k|    for (auto &f : formatters_) {
  ------------------
  |  Branch (1002:18): [True: 7.73k, False: 7.73k]
  ------------------
 1003|  7.73k|        f->format(msg, cached_tm_, dest);
 1004|  7.73k|    }
 1005|       |    // write eol
 1006|  7.73k|    details::fmt_helper::append_string_view(eol_, dest);
 1007|  7.73k|}
_ZNK6spdlog17pattern_formatter9get_time_ERKNS_7details7log_msgE:
 1017|    325|SPDLOG_INLINE std::tm pattern_formatter::get_time_(const details::log_msg &msg) const {
 1018|    325|    if (pattern_time_type_ == pattern_time_type::local) {
  ------------------
  |  Branch (1018:9): [True: 325, False: 0]
  ------------------
 1019|    325|        return details::os::localtime(log_clock::to_time_t(msg.time));
 1020|    325|    }
 1021|      0|    return details::os::gmtime(log_clock::to_time_t(msg.time));
 1022|    325|}

_ZN6spdlog7details14flag_formatterC2ENS0_12padding_infoE:
   43|      8|        : padinfo_(padinfo) {}
_ZN6spdlog7details14flag_formatterD2Ev:
   45|      8|    virtual ~flag_formatter() = default;
_ZN6spdlog7details12padding_infoC2Ev:
   26|      8|    padding_info() = default;
_ZNK6spdlog7details12padding_info7enabledEv:
   33|      1|    bool enabled() const { return enabled_; }

_ZN6spdlog5sinks21ansicolor_stdout_sinkINS_7details13console_mutexEEC2ENS_10color_modeE:
  134|      1|    : ansicolor_sink<ConsoleMutex>(stdout, mode) {}
_ZN6spdlog5sinks14ansicolor_sinkINS_7details13console_mutexEEC2EP8_IO_FILENS_10color_modeE:
   18|      1|    : target_file_(target_file),
   19|      1|      mutex_(ConsoleMutex::mutex()),
   20|      1|      formatter_(details::make_unique<pattern_formatter>())
   21|       |
   22|      1|{
   23|      1|    set_color_mode_(mode);
   24|      1|    colors_.at(level::trace) = to_string_(white);
   25|      1|    colors_.at(level::debug) = to_string_(cyan);
   26|      1|    colors_.at(level::info) = to_string_(green);
   27|      1|    colors_.at(level::warn) = to_string_(yellow_bold);
   28|      1|    colors_.at(level::err) = to_string_(red_bold);
   29|      1|    colors_.at(level::critical) = to_string_(bold_on_red);
   30|      1|    colors_.at(level::off) = to_string_(reset);
   31|      1|}
_ZN6spdlog5sinks14ansicolor_sinkINS_7details13console_mutexEE15set_color_mode_ENS_10color_modeE:
   96|      1|SPDLOG_INLINE void ansicolor_sink<ConsoleMutex>::set_color_mode_(color_mode mode) {
   97|      1|    switch (mode) {
   98|      0|        case color_mode::always:
  ------------------
  |  Branch (98:9): [True: 0, False: 1]
  ------------------
   99|      0|            should_do_colors_ = true;
  100|      0|            return;
  101|      1|        case color_mode::automatic:
  ------------------
  |  Branch (101:9): [True: 1, False: 0]
  ------------------
  102|      1|            should_do_colors_ =
  103|      1|                details::os::in_terminal(target_file_) && details::os::is_color_terminal();
  ------------------
  |  Branch (103:17): [True: 0, False: 1]
  |  Branch (103:59): [True: 0, False: 0]
  ------------------
  104|      1|            return;
  105|      0|        case color_mode::never:
  ------------------
  |  Branch (105:9): [True: 0, False: 1]
  ------------------
  106|      0|            should_do_colors_ = false;
  107|      0|            return;
  108|      0|        default:
  ------------------
  |  Branch (108:9): [True: 0, False: 1]
  ------------------
  109|      0|            should_do_colors_ = false;
  110|      1|    }
  111|      1|}
_ZN6spdlog5sinks14ansicolor_sinkINS_7details13console_mutexEE10to_string_ERKN3fmt3v1217basic_string_viewIcEE:
  127|      7|SPDLOG_INLINE std::string ansicolor_sink<ConsoleMutex>::to_string_(const string_view_t &sv) {
  128|      7|    return std::string(sv.data(), sv.size());
  129|      7|}

_ZN6spdlog5sinks14ansicolor_sinkINS_7details13console_mutexEED2Ev:
   29|      1|    ~ansicolor_sink() override = default;

_ZN6spdlog5sinks9base_sinkINSt3__15mutexEEC2Ev:
   20|      1|    : formatter_{details::make_unique<pattern_formatter>()} {}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE3logERKNS_7details7log_msgE:
   28|  7.73k|void SPDLOG_INLINE sinks::base_sink<Mutex>::log(const details::log_msg &msg) {
   29|  7.73k|    std::lock_guard<Mutex> lock(mutex_);
   30|  7.73k|    sink_it_(msg);
   31|  7.73k|}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE13set_formatterENS2_10unique_ptrINS_9formatterENS2_14default_deleteIS6_EEEE:
   47|      1|sinks::base_sink<Mutex>::set_formatter(std::unique_ptr<formatter> sink_formatter) {
   48|      1|    std::lock_guard<Mutex> lock(mutex_);
   49|      1|    set_formatter_(std::move(sink_formatter));
   50|      1|}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE14set_formatter_ENS2_10unique_ptrINS_9formatterENS2_14default_deleteIS6_EEEE:
   59|      1|sinks::base_sink<Mutex>::set_formatter_(std::unique_ptr<formatter> sink_formatter) {
   60|      1|    formatter_ = std::move(sink_formatter);
   61|      1|}

_ZN6spdlog5sinks9base_sinkINSt3__15mutexEED2Ev:
   23|      1|    ~base_sink() override = default;

_ZN6spdlog5sinks15basic_file_sinkINSt3__15mutexEEC2ERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbRKNS_19file_event_handlersEm:
   21|      1|    : file_helper_{event_handlers} {
   22|      1|    file_helper_.set_buffer_size(buffer_size);
   23|      1|    file_helper_.open(filename, truncate);
   24|      1|}
_ZN6spdlog5sinks15basic_file_sinkINSt3__15mutexEE8sink_it_ERKNS_7details7log_msgE:
   50|  7.73k|SPDLOG_INLINE void basic_file_sink<Mutex>::sink_it_(const details::log_msg &msg) {
   51|  7.73k|    memory_buf_t formatted;
   52|  7.73k|    base_sink<Mutex>::formatter_->format(msg, formatted);
   53|  7.73k|    file_helper_.write(formatted);
   54|  7.73k|}

_ZN6spdlog15basic_logger_mtINS_19synchronous_factoryEEENSt3__110shared_ptrINS_6loggerEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEESD_bRKNS_19file_event_handlersEm:
   52|      1|                                               size_t buffer_size = 0) {
   53|      1|    return Factory::template create<sinks::basic_file_sink_mt>(logger_name, filename, truncate,
   54|      1|                                                               event_handlers, buffer_size);
   55|      1|}

_ZNK6spdlog5sinks4sink10should_logENS_5level10level_enumE:
   14|  7.73k|SPDLOG_INLINE bool sinks::sink::should_log(level::level_enum msg_level) const {
   15|  7.73k|    return msg_level >= level_.load(std::memory_order_relaxed);
   16|  7.73k|}

_ZN6spdlog5sinks4sinkD2Ev:
   14|      2|    virtual ~sink() = default;

_ZN6spdlog18set_default_loggerENSt3__110shared_ptrINS_6loggerEEE:
   92|      1|SPDLOG_INLINE void set_default_logger(std::shared_ptr<logger> default_logger) {
   93|      1|    details::registry::instance().set_default_logger(std::move(default_logger));
   94|      1|}
_ZN6spdlog18default_logger_rawEv:
   88|  35.9k|SPDLOG_INLINE logger *default_logger_raw() {
   89|  35.9k|    return details::registry::instance().get_default_raw();
   90|  35.9k|}

_ZN6spdlog4infoIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  175|  3.59k|inline void info(format_string_t<Args...> fmt, Args &&...args) {
  176|  3.59k|    default_logger_raw()->info(fmt, std::forward<Args>(args)...);
  177|  3.59k|}
_ZN6spdlog5traceIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  165|  3.59k|inline void trace(format_string_t<Args...> fmt, Args &&...args) {
  166|  3.59k|    default_logger_raw()->trace(fmt, std::forward<Args>(args)...);
  167|  3.59k|}
_ZN6spdlog5debugIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  170|  3.59k|inline void debug(format_string_t<Args...> fmt, Args &&...args) {
  171|  3.59k|    default_logger_raw()->debug(fmt, std::forward<Args>(args)...);
  172|  3.59k|}
_ZN6spdlog5errorIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  185|  3.59k|inline void error(format_string_t<Args...> fmt, Args &&...args) {
  186|  3.59k|    default_logger_raw()->error(fmt, std::forward<Args>(args)...);
  187|  3.59k|}
_ZN6spdlog4warnIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  180|  3.59k|inline void warn(format_string_t<Args...> fmt, Args &&...args) {
  181|  3.59k|    default_logger_raw()->warn(fmt, std::forward<Args>(args)...);
  182|  3.59k|}
_ZN6spdlog8criticalIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  190|  3.59k|inline void critical(format_string_t<Args...> fmt, Args &&...args) {
  191|  3.59k|    default_logger_raw()->critical(fmt, std::forward<Args>(args)...);
  192|  3.59k|}

