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

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

_ZN6spdlog19file_event_handlersC2Ev:
  330|      1|        : before_open(nullptr),
  331|      1|          after_open(nullptr),
  332|      1|          before_close(nullptr),
  333|      1|          after_close(nullptr) {}
_ZNK6spdlog10source_loc5emptyEv:
  322|  1.80k|    SPDLOG_CONSTEXPR bool empty() const SPDLOG_NOEXCEPT { return line <= 0; }
_ZN6spdlog10source_locC2EPKciS2_:
  318|  3.04k|        : filename{filename_in},
  319|  3.04k|          line{line_in},
  320|  3.04k|          funcname{funcname_in} {}
_ZN6spdlog10source_locC2Ev:
  316|  4.56k|    SPDLOG_CONSTEXPR source_loc() = default;

_ZNK6spdlog7details10backtracer7enabledEv:
   41|  7.60k|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_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");
  ------------------
  |  |  138|      1|#define SPDLOG_FILENAME_T(s) s
  ------------------
   31|      1|    auto *trunc_mode = SPDLOG_FILENAME_T("wb");
  ------------------
  |  |  138|      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 (event_handlers_.after_open) {
  ------------------
  |  Branch (51:17): [True: 0, False: 1]
  ------------------
   52|      0|                event_handlers_.after_open(filename_, fd_);
   53|      0|            }
   54|      1|            return;
   55|      1|        }
   56|       |
   57|      0|        details::os::sleep_for_millis(open_interval_);
   58|      0|    }
   59|       |
   60|      0|    throw_spdlog_ex("Failed opening file " + os::filename_to_str(filename_) + " for writing",
   61|       |                    errno);
   62|      0|}
_ZN6spdlog7details11file_helper5closeEv:
   83|      2|SPDLOG_INLINE void file_helper::close() {
   84|      2|    if (fd_ != nullptr) {
  ------------------
  |  Branch (84:9): [True: 1, False: 1]
  ------------------
   85|      1|        if (event_handlers_.before_close) {
  ------------------
  |  Branch (85:13): [True: 0, False: 1]
  ------------------
   86|      0|            event_handlers_.before_close(filename_, fd_);
   87|      0|        }
   88|       |
   89|      1|        std::fclose(fd_);
   90|      1|        fd_ = nullptr;
   91|       |
   92|      1|        if (event_handlers_.after_close) {
  ------------------
  |  Branch (92:13): [True: 0, False: 1]
  ------------------
   93|      0|            event_handlers_.after_close(filename_);
   94|      0|        }
   95|      1|    }
   96|      2|}
_ZN6spdlog7details11file_helperD2Ev:
   24|      1|SPDLOG_INLINE file_helper::~file_helper() { close(); }
_ZN6spdlog7details11file_helper5writeERKN3fmt3v1219basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   98|  1.80k|SPDLOG_INLINE void file_helper::write(const memory_buf_t &buf) {
   99|  1.80k|    if (fd_ == nullptr) return;
  ------------------
  |  Branch (99:9): [True: 0, False: 1.80k]
  ------------------
  100|  1.80k|    size_t msg_size = buf.size();
  101|  1.80k|    auto data = buf.data();
  102|       |
  103|  1.80k|    if (!details::os::fwrite_bytes(data, msg_size, fd_)) {
  ------------------
  |  Branch (103:9): [True: 0, False: 1.80k]
  ------------------
  104|       |        throw_spdlog_ex("Failed writing to file " + os::filename_to_str(filename_), errno);
  105|      0|    }
  106|  1.80k|}

_ZN6spdlog7details10fmt_helper18append_string_viewEN3fmt3v1217basic_string_viewIcEERNS3_19basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   21|  8.10k|inline void append_string_view(spdlog::string_view_t view, memory_buf_t &dest) {
   22|  8.10k|    auto *buf_ptr = view.data();
   23|  8.10k|    dest.append(buf_ptr, buf_ptr + view.size());
   24|  8.10k|}
_ZN6spdlog7details10fmt_helper10append_intIiEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|    955|inline void append_int(T n, memory_buf_t &dest) {
   43|    955|    fmt::format_int i(n);
   44|    955|    dest.append(i.data(), i.data() + i.size());
   45|    955|}
_ZN6spdlog7details10fmt_helper4pad2EiRN3fmt3v1219basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   84|    275|inline void pad2(int n, memory_buf_t &dest) {
   85|    275|    if (n >= 0 && n < 100)  // 0-99
  ------------------
  |  Branch (85:9): [True: 275, False: 0]
  |  Branch (85:19): [True: 275, False: 0]
  ------------------
   86|    275|    {
   87|    275|        dest.push_back(static_cast<char>('0' + n / 10));
   88|    275|        dest.push_back(static_cast<char>('0' + n % 10));
   89|    275|    } 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|    275|}
_ZN6spdlog7details10fmt_helper13time_fractionINSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEEET_NS4_10time_pointINS4_12system_clockENS5_IxNS6_ILl1ELl1000000EEEEEEE:
  131|  1.80k|inline ToDuration time_fraction(log_clock::time_point tp) {
  132|  1.80k|    using std::chrono::duration_cast;
  133|  1.80k|    using std::chrono::seconds;
  134|  1.80k|    auto duration = tp.time_since_epoch();
  135|  1.80k|    auto secs = duration_cast<seconds>(duration);
  136|  1.80k|    return duration_cast<ToDuration>(duration) - duration_cast<ToDuration>(secs);
  137|  1.80k|}
_ZN6spdlog7details10fmt_helper4pad3IjEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
  105|  1.80k|inline void pad3(T n, memory_buf_t &dest) {
  106|  1.80k|    static_assert(std::is_unsigned<T>::value, "pad3 must get unsigned T");
  107|  1.80k|    if (n < 1000) {
  ------------------
  |  Branch (107:9): [True: 1.80k, False: 0]
  ------------------
  108|  1.80k|        dest.push_back(static_cast<char>(n / 100 + '0'));
  109|  1.80k|        n = n % 100;
  110|  1.80k|        dest.push_back(static_cast<char>((n / 10) + '0'));
  111|  1.80k|        dest.push_back(static_cast<char>((n % 10) + '0'));
  112|  1.80k|    } else {
  113|      0|        append_int(n, dest);
  114|      0|    }
  115|  1.80k|}

_ZN6spdlog7details7log_msgC2ENS_10source_locEN3fmt3v1217basic_string_viewIcEENS_5level10level_enumES6_:
   36|  1.80k|    : 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|  1.80k|    : logger_name(a_logger_name),
   21|  1.80k|      level(lvl),
   22|  1.80k|      time(log_time)
   23|       |#ifndef SPDLOG_NO_THREAD_ID
   24|       |      ,
   25|  1.80k|      thread_id(os::thread_id())
   26|       |#endif
   27|       |      ,
   28|  1.80k|      source(loc),
   29|  1.80k|      payload(msg) {
   30|  1.80k|}

_ZN6spdlog7details2os11in_terminalEP8_IO_FILE:
  396|      1|SPDLOG_INLINE bool in_terminal(FILE *file) SPDLOG_NOEXCEPT {
  397|       |#ifdef _WIN32
  398|       |    return ::_isatty(_fileno(file)) != 0;
  399|       |#else
  400|      1|    return ::isatty(fileno(file)) != 0;
  401|      1|#endif
  402|      1|}
_ZN6spdlog7details2os12fwrite_bytesEPKvmP8_IO_FILE:
  558|  1.80k|SPDLOG_INLINE bool fwrite_bytes(const void *ptr, const size_t n_bytes, FILE *fp) {
  559|       |#if defined(_WIN32) && defined(SPDLOG_FWRITE_UNLOCKED)
  560|       |    return _fwrite_nolock(ptr, 1, n_bytes, fp) == n_bytes;
  561|       |#elif defined(SPDLOG_FWRITE_UNLOCKED)
  562|       |    return ::fwrite_unlocked(ptr, 1, n_bytes, fp) == n_bytes;
  563|       |#else
  564|  1.80k|    return std::fwrite(ptr, 1, n_bytes, fp) == n_bytes;
  565|  1.80k|#endif
  566|  1.80k|}
_ZN6spdlog7details2os9localtimeERKl:
   87|    140|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|    140|    std::tm tm;
   93|    140|    ::localtime_r(&time_tt, &tm);
   94|    140|#endif
   95|    140|    return tm;
   96|    140|}
_ZN6spdlog7details2os10create_dirERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  482|      1|SPDLOG_INLINE bool create_dir(const filename_t &path) {
  483|      1|    if (path_exists(path)) {
  ------------------
  |  Branch (483:9): [True: 1, False: 0]
  ------------------
  484|      1|        return true;
  485|      1|    }
  486|       |
  487|      0|    if (path.empty()) {
  ------------------
  |  Branch (487:9): [True: 0, False: 0]
  ------------------
  488|      0|        return false;
  489|      0|    }
  490|       |
  491|      0|    size_t search_offset = 0;
  492|      0|    do {
  493|      0|        auto token_pos = path.find_first_of(folder_seps_filename, search_offset);
  494|       |        // treat the entire path as a folder if no folder separator not found
  495|      0|        if (token_pos == filename_t::npos) {
  ------------------
  |  Branch (495:13): [True: 0, False: 0]
  ------------------
  496|      0|            token_pos = path.size();
  497|      0|        }
  498|       |
  499|      0|        auto subdir = path.substr(0, token_pos);
  500|       |#ifdef _WIN32
  501|       |        // if subdir is just a drive letter, add a slash e.g. "c:"=>"c:\",
  502|       |        // otherwise path_exists(subdir) returns false (issue #3079)
  503|       |        const bool is_drive = subdir.length() == 2 && subdir[1] == ':';
  504|       |        if (is_drive) {
  505|       |            subdir += '\\';
  506|       |            token_pos++;
  507|       |        }
  508|       |#endif
  509|       |
  510|      0|        if (!subdir.empty() && !path_exists(subdir) && !mkdir_(subdir)) {
  ------------------
  |  Branch (510:13): [True: 0, False: 0]
  |  Branch (510:32): [True: 0, False: 0]
  |  Branch (510:56): [True: 0, False: 0]
  ------------------
  511|      0|            return false;  // return error if failed creating dir
  512|      0|        }
  513|      0|        search_offset = token_pos + 1;
  514|      0|    } while (search_offset < path.size());
  ------------------
  |  Branch (514:14): [True: 0, False: 0]
  ------------------
  515|       |
  516|      0|    return true;
  517|      0|}
_ZN6spdlog7details2os11path_existsERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  177|      1|SPDLOG_INLINE bool path_exists(const filename_t &filename) SPDLOG_NOEXCEPT {
  178|       |#ifdef _WIN32
  179|       |    struct _stat buffer;
  180|       |#ifdef SPDLOG_WCHAR_FILENAMES
  181|       |    return (::_wstat(filename.c_str(), &buffer) == 0);
  182|       |#else
  183|       |    return (::_stat(filename.c_str(), &buffer) == 0);
  184|       |#endif
  185|       |#else  // common linux/unix all have the stat system call
  186|      1|    struct stat buffer;
  187|      1|    return (::stat(filename.c_str(), &buffer) == 0);
  188|      1|#endif
  189|      1|}
_ZN6spdlog7details2os8dir_nameERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  524|      1|SPDLOG_INLINE filename_t dir_name(const filename_t &path) {
  525|      1|    auto pos = path.find_last_of(folder_seps_filename);
  526|      1|    return pos != filename_t::npos ? path.substr(0, pos) : filename_t{};
  ------------------
  |  Branch (526:12): [True: 1, False: 0]
  ------------------
  527|      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|  1.80k|SPDLOG_INLINE spdlog::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|  1.80k|    return log_clock::now();
   85|  1.80k|#endif
   86|  1.80k|}
_ZN6spdlog7details2os9thread_idEv:
  325|  1.80k|SPDLOG_INLINE size_t thread_id() SPDLOG_NOEXCEPT {
  326|       |#if defined(SPDLOG_NO_TLS)
  327|       |    return _thread_id();
  328|       |#else  // cache thread id in tls
  329|  1.80k|    static thread_local const size_t tid = _thread_id();
  330|  1.80k|    return tid;
  331|  1.80k|#endif
  332|  1.80k|}
_ZN6spdlog7details2os10_thread_idEv:
  274|      1|SPDLOG_INLINE size_t _thread_id() SPDLOG_NOEXCEPT {
  275|       |#ifdef _WIN32
  276|       |    return static_cast<size_t>(::GetCurrentThreadId());
  277|       |#elif defined(__linux__)
  278|       |#if defined(__ANDROID__) && defined(__ANDROID_API__) && (__ANDROID_API__ < 21)
  279|       |#define SYS_gettid __NR_gettid
  280|       |#endif
  281|      1|    return static_cast<size_t>(::syscall(SYS_gettid));
  282|       |#elif defined(_AIX)
  283|       |    struct __pthrdsinfo buf;
  284|       |    int reg_size = 0;
  285|       |    pthread_t pt = pthread_self();
  286|       |    int retval = pthread_getthrds_np(&pt, PTHRDSINFO_QUERY_TID, &buf, sizeof(buf), NULL, &reg_size);
  287|       |    int tid = (!retval) ? buf.__pi_tid : 0;
  288|       |    return static_cast<size_t>(tid);
  289|       |#elif defined(__DragonFly__) || defined(__FreeBSD__)
  290|       |    return static_cast<size_t>(::pthread_getthreadid_np());
  291|       |#elif defined(__NetBSD__)
  292|       |    return static_cast<size_t>(::_lwp_self());
  293|       |#elif defined(__OpenBSD__)
  294|       |    return static_cast<size_t>(::getthrid());
  295|       |#elif defined(__sun)
  296|       |    return static_cast<size_t>(::thr_self());
  297|       |#elif __APPLE__
  298|       |    uint64_t tid;
  299|       |// There is no pthread_threadid_np prior to Mac OS X 10.6, and it is not supported on any PPC,
  300|       |// including 10.6.8 Rosetta. __POWERPC__ is Apple-specific define encompassing ppc and ppc64.
  301|       |#ifdef MAC_OS_X_VERSION_MAX_ALLOWED
  302|       |    {
  303|       |#if (MAC_OS_X_VERSION_MAX_ALLOWED < 1060) || defined(__POWERPC__)
  304|       |        tid = pthread_mach_thread_np(pthread_self());
  305|       |#elif MAC_OS_X_VERSION_MIN_REQUIRED < 1060
  306|       |        if (&pthread_threadid_np) {
  307|       |            pthread_threadid_np(nullptr, &tid);
  308|       |        } else {
  309|       |            tid = pthread_mach_thread_np(pthread_self());
  310|       |        }
  311|       |#else
  312|       |        pthread_threadid_np(nullptr, &tid);
  313|       |#endif
  314|       |    }
  315|       |#else
  316|       |    pthread_threadid_np(nullptr, &tid);
  317|       |#endif
  318|       |    return static_cast<size_t>(tid);
  319|       |#else  // Default to standard C++11 (other Unix)
  320|       |    return static_cast<size_t>(std::hash<std::thread::id>()(std::this_thread::get_id()));
  321|       |#endif
  322|      1|}

_ZN6spdlog7details8registry8instanceEv:
  241|  7.60k|SPDLOG_INLINE registry &registry::instance() {
  242|  7.60k|    static registry s_instance;
  243|  7.60k|    return s_instance;
  244|  7.60k|}
_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<spdlog::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|  7.60k|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_handlersEEEENS4_10shared_ptrINS_6loggerEEESC_DpOT0_:
   15|      1|    static std::shared_ptr<spdlog::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<spdlog::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|  21.9k|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZNK3fmt3v126detail6bufferIcE8capacityEv:
 1818|  68.8k|  constexpr auto capacity() const noexcept -> size_t { return capacity_; }
_ZN3fmt3v126detail6bufferIcE4dataEv:
 1821|   112k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZNK3fmt3v126detail6bufferIcE4sizeEv:
 1815|  66.8M|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIcEC2EPFvRS3_mEPcmm:
 1790|  66.5M|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIcE3setEPcm:
 1796|  50.9k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1797|  50.9k|    ptr_ = buf_data;
 1798|  50.9k|    capacity_ = buf_capacity;
 1799|  50.9k|  }
_ZNK3fmt3v1217basic_string_viewIcE4dataEv:
  564|   160M|  constexpr auto data() const noexcept -> const Char* { return data_; }
_ZN3fmt3v126detail6bufferIcE6appendIcEEvPKT_S7_:
 1855|   166M|      append(const U* begin, const U* end) {
 1856|   280M|    while (begin != end) {
  ------------------
  |  Branch (1856:12): [True: 113M, False: 166M]
  ------------------
 1857|   113M|      auto size = size_;
 1858|   113M|      auto free_cap = capacity_ - size;
 1859|   113M|      auto count = to_unsigned(end - begin);
 1860|   113M|      if (free_cap < count) {
  ------------------
  |  Branch (1860:11): [True: 8.22k, False: 113M]
  ------------------
 1861|  8.22k|        grow_(*this, size + count);
 1862|  8.22k|        size = size_;
 1863|  8.22k|        free_cap = capacity_ - size;
 1864|  8.22k|        count = count < free_cap ? count : free_cap;
  ------------------
  |  Branch (1864:17): [True: 6.58k, False: 1.64k]
  ------------------
 1865|  8.22k|      }
 1866|       |      // A loop is faster than memcpy on small sizes.
 1867|   113M|      T* out = ptr_ + size;
 1868|  1.43G|      for (size_t i = 0; i < count; ++i) out[i] = begin[i];
  ------------------
  |  Branch (1868:26): [True: 1.32G, False: 113M]
  ------------------
 1869|   113M|      size_ += count;
 1870|   113M|      begin += count;
 1871|   113M|    }
 1872|   166M|  }
_ZN3fmt3v126detail11to_unsignedIlEENSt3__113make_unsignedIT_E4typeES5_:
  439|   643M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  440|   643M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  395|  1.28G|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [Folded, False: 643M]
  |  |  |  Branch (395:7): [True: 643M, False: 0]
  |  |  ------------------
  |  |  396|   643M|         ? (void)0                                                          \
  |  |  397|   643M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  441|   643M|  return static_cast<make_unsigned_t<Int>>(value);
  442|   643M|}
_ZNK3fmt3v1217basic_string_viewIcE4sizeEv:
  567|   421M|  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|  9.68k|      : data_(s.data()), size_(s.size()) {}
_ZN3fmt3v1217basic_string_viewIcEC2EPKc:
  543|  12.8k|  FMT_CONSTEXPR20 basic_string_view(const Char* s) : data_(s) {
  544|  12.8k|#if FMT_HAS_BUILTIN(__builtin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION
  545|  12.8k|    if (std::is_same<Char, char>::value && !detail::is_constant_evaluated()) {
  ------------------
  |  Branch (545:9): [True: 0, Folded]
  |  Branch (545:44): [True: 0, Folded]
  ------------------
  546|  12.8k|      size_ = __builtin_strlen(detail::narrow(s));  // strlen is not constexpr.
  547|  12.8k|      return;
  548|  12.8k|    }
  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|  12.8k|constexpr FMT_ALWAYS_INLINE auto narrow(const char* s) -> const char* {
  470|  12.8k|  return s;
  471|  12.8k|}
_ZN3fmt3v126detail6bufferIcE5clearEv:
 1825|     55|  FMT_CONSTEXPR void clear() { size_ = 0; }
_ZN3fmt3v126detail6bufferIcE9push_backERKc:
 1842|  4.99G|  FMT_CONSTEXPR void push_back(const T& value) {
 1843|  4.99G|    try_reserve(size_ + 1);
 1844|  4.99G|    ptr_[size_++] = value;
 1845|  4.99G|  }
_ZN3fmt3v126detail6bufferIcE11try_reserveEm:
 1838|  4.99G|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1839|  4.99G|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1839:9): [True: 13.7k, False: 4.99G]
  ------------------
 1840|  4.99G|  }
_ZN3fmt3v126detail11to_unsignedIiEENSt3__113make_unsignedIT_E4typeES5_:
  439|   100M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  440|   100M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  395|   201M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [Folded, False: 100M]
  |  |  |  Branch (395:7): [True: 100M, False: 0]
  |  |  ------------------
  |  |  396|   100M|         ? (void)0                                                          \
  |  |  397|   100M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  441|   100M|  return static_cast<make_unsigned_t<Int>>(value);
  442|   100M|}
_ZN3fmt3v1214basic_appenderIcEC2ERNS0_6detail6bufferIcEE:
 2491|  66.5M|  FMT_CONSTEXPR basic_appender(detail::buffer<T>& buf) : container(&buf) {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE3getEi:
 2646|   154k|  FMT_CONSTEXPR auto get(int id) const -> format_arg {
 2647|   154k|    auto arg = format_arg();
 2648|   154k|    if (!is_packed()) {
  ------------------
  |  Branch (2648:9): [True: 0, False: 154k]
  ------------------
 2649|      0|      if (id < max_size()) arg = args_[id];
  ------------------
  |  Branch (2649:11): [True: 0, False: 0]
  ------------------
 2650|      0|      return arg;
 2651|      0|    }
 2652|   154k|    if (static_cast<unsigned>(id) >= detail::max_packed_args) return arg;
  ------------------
  |  Branch (2652:9): [True: 40, False: 154k]
  ------------------
 2653|   154k|    arg.type_ = type(id);
 2654|   154k|    if (arg.type_ != detail::type::none_type) arg.value_ = values_[id];
  ------------------
  |  Branch (2654:9): [True: 154k, False: 64]
  ------------------
 2655|   154k|    return arg;
 2656|   154k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2Ev:
 2526|   154k|  constexpr basic_format_arg() : type_(detail::type::none_type) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ev:
 2201|   154k|  constexpr FMT_INLINE value() : no_value() {}
_ZN3fmt3v129monostateC2Ev:
  335|   154k|  constexpr monostate() {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE9is_packedEv:
 2602|   154k|  constexpr auto is_packed() const -> bool {
 2603|   154k|    return (desc_ & detail::is_unpacked_bit) == 0;
 2604|   154k|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE4typeEi:
 2609|   154k|  FMT_CONSTEXPR auto type(int index) const -> detail::type {
 2610|   154k|    int shift = index * detail::packed_arg_bits;
 2611|   154k|    unsigned mask = (1 << detail::packed_arg_bits) - 1;
 2612|   154k|    return static_cast<detail::type>((desc_ >> shift) & mask);
 2613|   154k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail21default_arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2544|  31.5k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|  31.5k|    using detail::map;
 2546|  31.5k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 31.5k, False: 0]
  ------------------
 2547|     16|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 16, False: 31.5k]
  ------------------
 2548|  2.14k|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 2.14k, False: 29.4k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 31.5k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 31.5k]
  ------------------
 2551|  19.7k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 19.7k, False: 11.8k]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 31.5k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 31.5k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 31.5k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 31.5k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 31.5k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 31.5k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 31.5k]
  ------------------
 2559|  4.28k|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 4.28k, False: 27.2k]
  ------------------
 2560|  5.39k|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 5.39k, False: 26.1k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 31.5k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 31.5k]
  ------------------
 2563|  31.5k|    }
 2564|     16|    return vis(monostate());
 2565|  31.5k|  }
_ZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_:
  503|   166M|    typename OutputIt::container_type& {
  504|   166M|  struct accessor : OutputIt {
  505|   166M|    FMT_CONSTEXPR20 accessor(OutputIt base) : OutputIt(base) {}
  506|   166M|    using OutputIt::container;
  507|   166M|  };
  508|   166M|  return *accessor(it).container;
  509|   166M|}
_ZZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_EN8accessorC2ES4_:
  505|   166M|    FMT_CONSTEXPR20 accessor(OutputIt base) : OutputIt(base) {}
_ZN3fmt3v126detail6bufferIcE10try_resizeEm:
 1829|  40.7k|  FMT_CONSTEXPR void try_resize(size_t count) {
 1830|  40.7k|    try_reserve(count);
 1831|  40.7k|    size_ = min_of(count, capacity_);
 1832|  40.7k|  }
_ZN3fmt3v126min_ofImEET_S2_S2_:
  347|  40.7k|template <typename T> constexpr auto min_of(T a, T b) -> T {
  348|  40.7k|  return a < b ? a : b;
  ------------------
  |  Branch (348:10): [True: 40.6k, False: 16]
  ------------------
  349|  40.7k|}
_ZN3fmt3v1214basic_appenderIcEppEi:
 2499|  4.99G|  FMT_CONSTEXPR20 auto operator++(int) -> basic_appender { return *this; }
_ZN3fmt3v1214basic_appenderIcEdeEv:
 2497|  4.99G|  FMT_CONSTEXPR20 auto operator*() -> basic_appender& { return *this; }
_ZN3fmt3v1214basic_appenderIcEaSEc:
 2493|  4.99G|  FMT_CONSTEXPR20 auto operator=(T c) -> basic_appender& {
 2494|  4.99G|    container->push_back(c);
 2495|  4.99G|    return *this;
 2496|  4.99G|  }
_ZN3fmt3v126detail4copyIcPcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaasr23is_back_insert_iteratorIT1_EE5valuesr41has_back_insert_iterator_container_appendIS8_T0_EE5valueEiE4typeELi0EEES8_S9_S9_S8_:
 2084|  97.6M|    -> OutputIt {
 2085|  97.6M|  get_container(out).append(begin, end);
 2086|  97.6M|  return out;
 2087|  97.6M|}
_ZNK3fmt3v1211basic_specs4typeEv:
  744|   123k|  constexpr auto type() const -> presentation_type {
  745|   123k|    return static_cast<presentation_type>(data_ & type_mask);
  746|   123k|  }
_ZNK3fmt3v1211basic_specs9localizedEv:
  792|  74.8k|  constexpr auto localized() const -> bool {
  793|  74.8k|    return (data_ & localized_mask) != 0;
  794|  74.8k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitIRNS0_6detail10loc_writerIcEEEEDTclfp_Li0EEEOT_:
 2544|  19.0k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|  19.0k|    using detail::map;
 2546|  19.0k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 19.0k, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 19.0k]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 19.0k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 19.0k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 19.0k]
  ------------------
 2551|  19.0k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 19.0k, False: 0]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 19.0k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 19.0k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 19.0k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 19.0k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 19.0k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 19.0k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 19.0k]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 19.0k]
  ------------------
 2560|      0|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 0, False: 19.0k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 19.0k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 19.0k]
  ------------------
 2563|  19.0k|    }
 2564|      0|    return vis(monostate());
 2565|  19.0k|  }
_ZNK3fmt3v1211basic_specs3altEv:
  788|  46.4k|  constexpr auto alt() const -> bool { return (data_ & alternate_mask) != 0; }
_ZNK3fmt3v1211basic_specs5upperEv:
  785|  36.1k|  constexpr auto upper() const -> bool { return (data_ & uppercase_mask) != 0; }
_ZNK3fmt3v1211basic_specs5alignEv:
  751|   132k|  constexpr auto align() const -> align {
  752|   132k|    return static_cast<fmt::align>((data_ & align_mask) >> align_shift);
  753|   132k|  }
_ZNK3fmt3v1211basic_specs9fill_sizeEv:
  797|   105k|  constexpr auto fill_size() const -> size_t {
  798|   105k|    return (data_ & fill_size_mask) >> fill_size_shift;
  799|   105k|  }
_ZNK3fmt3v1211basic_specs9fill_unitIcEET_v:
  810|  16.7k|  template <typename Char> constexpr auto fill_unit() const -> Char {
  811|  16.7k|    using uchar = unsigned char;
  812|  16.7k|    return static_cast<Char>(static_cast<uchar>(fill_data_[0]) |
  813|  16.7k|                             (static_cast<uchar>(fill_data_[1]) << 8) |
  814|  16.7k|                             (static_cast<uchar>(fill_data_[2]) << 16));
  815|  16.7k|  }
_ZNK3fmt3v1211basic_specs4fillIcTnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEEPKS5_v:
  802|  1.27k|  constexpr auto fill() const -> const Char* {
  803|  1.27k|    return fill_data_;
  804|  1.27k|  }
_ZN3fmt3v126detail4copyIcPKcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaasr23is_back_insert_iteratorIT1_EE5valuesr41has_back_insert_iterator_container_appendIS9_T0_EE5valueEiE4typeELi0EEES9_SA_SA_S9_:
 2084|  69.1M|    -> OutputIt {
 2085|  69.1M|  get_container(out).append(begin, end);
 2086|  69.1M|  return out;
 2087|  69.1M|}
_ZN3fmt3v126detail11to_unsignedImEENSt3__113make_unsignedIT_E4typeES5_:
  439|   197M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  440|   197M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  395|   197M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [True: 197M, Folded]
  |  |  |  Branch (395:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  396|   197M|         ? (void)0                                                          \
  |  |  397|   197M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  441|   197M|  return static_cast<make_unsigned_t<Int>>(value);
  442|   197M|}
_ZN3fmt3v1217basic_string_viewIcEC2EPKcm:
  535|   592M|      : data_(s), size_(count) {}
_ZNK3fmt3v1217basic_string_viewIcE5beginEv:
  569|   282M|  constexpr auto begin() const noexcept -> iterator { return data_; }
_ZNK3fmt3v1217basic_string_viewIcE3endEv:
  570|   462M|  constexpr auto end() const noexcept -> iterator { return data_ + size_; }
_ZN3fmt3v126detail6bufferIiE4dataEv:
 1821|  18.8k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail6bufferIiEC2EPFvRS3_mEPimm:
 1790|  18.8k|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIiE3setEPim:
 1796|  18.8k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1797|  18.8k|    ptr_ = buf_data;
 1798|  18.8k|    capacity_ = buf_capacity;
 1799|  18.8k|  }
_ZN3fmt3v126detail6bufferIiE9push_backERKi:
 1842|  18.8k|  FMT_CONSTEXPR void push_back(const T& value) {
 1843|  18.8k|    try_reserve(size_ + 1);
 1844|  18.8k|    ptr_[size_++] = value;
 1845|  18.8k|  }
_ZN3fmt3v126detail6bufferIiE11try_reserveEm:
 1838|  18.8k|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1839|  18.8k|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1839:9): [True: 0, False: 18.8k]
  ------------------
 1840|  18.8k|  }
_ZNK3fmt3v126detail6bufferIiE4sizeEv:
 1815|  18.8k|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIiEixIiEERiT_:
 1874|   413k|  template <typename Idx> FMT_CONSTEXPR auto operator[](Idx index) -> T& {
 1875|   413k|    return ptr_[index];
 1876|   413k|  }
_ZNK3fmt3v1217basic_string_viewIcEixEm:
  572|   423k|  constexpr auto operator[](size_t pos) const noexcept -> const Char& {
  573|   423k|    return data_[pos];
  574|   423k|  }
_ZNK3fmt3v1211basic_specs4signEv:
  778|  74.8k|  constexpr auto sign() const -> sign {
  779|  74.8k|    return static_cast<fmt::sign>((data_ & sign_mask) >> sign_shift);
  780|  74.8k|  }
_ZN3fmt3v1212format_specsC2Ev:
  850|   121k|  constexpr format_specs() : width(0), precision(-1) {}
_ZN3fmt3v1211basic_specs8set_fillEc:
  817|  11.0k|  FMT_CONSTEXPR void set_fill(char c) {
  818|  11.0k|    fill_data_[0] = c;
  819|  11.0k|    set_fill_size(1);
  820|  11.0k|  }
_ZN3fmt3v1211basic_specs13set_fill_sizeEm:
  738|  19.1k|  FMT_CONSTEXPR void set_fill_size(size_t size) {
  739|  19.1k|    data_ = (data_ & ~fill_size_mask) |
  740|  19.1k|            (static_cast<unsigned>(size) << fill_size_shift);
  741|  19.1k|  }
_ZN3fmt3v1211basic_specs7set_altEv:
  789|  28.8k|  FMT_CONSTEXPR void set_alt() { data_ |= alternate_mask; }
_ZNK3fmt3v126detail12string_valueIcE3strEv:
 2155|  50.8k|  auto str() const -> basic_string_view<Char> { return {data, size}; }
_ZN3fmt3v126detail19parse_format_stringIcNS1_14format_handlerIcEEEEvNS0_17basic_string_viewIT_EEOT0_:
 1657|  8.22k|                                       Handler&& handler) {
 1658|  8.22k|  auto begin = fmt.data(), end = begin + fmt.size();
 1659|  8.22k|  auto p = begin;
 1660|  51.7M|  while (p != end) {
  ------------------
  |  Branch (1660:10): [True: 51.7M, False: 7.78k]
  ------------------
 1661|  51.7M|    auto c = *p++;
 1662|  51.7M|    if (c == '{') {
  ------------------
  |  Branch (1662:9): [True: 175k, False: 51.5M]
  ------------------
 1663|   175k|      handler.on_text(begin, p - 1);
 1664|   175k|      begin = p = parse_replacement_field(p - 1, end, handler);
 1665|  51.5M|    } else if (c == '}') {
  ------------------
  |  Branch (1665:16): [True: 7.23k, False: 51.5M]
  ------------------
 1666|  7.23k|      if (p == end || *p != '}')
  ------------------
  |  Branch (1666:11): [True: 24, False: 7.20k]
  |  Branch (1666:23): [True: 408, False: 6.80k]
  ------------------
 1667|    432|        return handler.on_error("unmatched '}' in format string");
 1668|  6.80k|      handler.on_text(begin, p);
 1669|  6.80k|      begin = ++p;
 1670|  6.80k|    }
 1671|  51.7M|  }
 1672|  7.78k|  handler.on_text(begin, end);
 1673|  7.78k|}
_ZNK3fmt3v127context3outEv:
 2713|   358k|  FMT_CONSTEXPR auto out() const -> iterator { return out_; }
_ZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_:
 1612|   175k|    -> const Char* {
 1613|   175k|  ++begin;
 1614|   175k|  if (begin == end) {
  ------------------
  |  Branch (1614:7): [True: 96, False: 175k]
  ------------------
 1615|     96|    handler.on_error("invalid format string");
 1616|     96|    return end;
 1617|     96|  }
 1618|   175k|  int arg_id = 0;
 1619|   175k|  switch (*begin) {
 1620|  6.67k|  case '}':
  ------------------
  |  Branch (1620:3): [True: 6.67k, False: 168k]
  ------------------
 1621|  6.67k|    handler.on_replacement_field(handler.on_arg_id(), begin);
 1622|  6.67k|    return begin + 1;
 1623|  20.8k|  case '{': handler.on_text(begin, begin + 1); return begin + 1;
  ------------------
  |  Branch (1623:3): [True: 20.8k, False: 154k]
  ------------------
 1624|    960|  case ':': arg_id = handler.on_arg_id(); break;
  ------------------
  |  Branch (1624:3): [True: 960, False: 174k]
  ------------------
 1625|   146k|  default:  {
  ------------------
  |  Branch (1625:3): [True: 146k, False: 28.4k]
  ------------------
 1626|   146k|    struct id_adapter {
 1627|   146k|      Handler& handler;
 1628|   146k|      int arg_id;
 1629|       |
 1630|   146k|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
 1631|   146k|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1632|   146k|        arg_id = handler.on_arg_id(id);
 1633|   146k|      }
 1634|   146k|    } adapter = {handler, 0};
 1635|   146k|    begin = parse_arg_id(begin, end, adapter);
 1636|   146k|    arg_id = adapter.arg_id;
 1637|   146k|    Char c = begin != end ? *begin : Char();
  ------------------
  |  Branch (1637:14): [True: 145k, False: 1.04k]
  ------------------
 1638|   146k|    if (c == '}') {
  ------------------
  |  Branch (1638:9): [True: 24.9k, False: 121k]
  ------------------
 1639|  24.9k|      handler.on_replacement_field(arg_id, begin);
 1640|  24.9k|      return begin + 1;
 1641|  24.9k|    }
 1642|   121k|    if (c != ':') {
  ------------------
  |  Branch (1642:9): [True: 0, False: 121k]
  ------------------
 1643|      0|      handler.on_error("missing '}' in format string");
 1644|      0|      return end;
 1645|      0|    }
 1646|   121k|    break;
 1647|   121k|  }
 1648|   175k|  }
 1649|   121k|  begin = handler.on_format_specs(arg_id, begin + 1, end);
 1650|   121k|  if (begin == end || *begin != '}')
  ------------------
  |  Branch (1650:7): [True: 1.76k, False: 119k]
  |  Branch (1650:23): [True: 680, False: 118k]
  ------------------
 1651|  1.32k|    return handler.on_error("unknown format specifier"), end;
 1652|   120k|  return begin + 1;
 1653|   121k|}
_ZNK3fmt3v127context3argEi:
 2703|   154k|  FMT_CONSTEXPR auto arg(int id) const -> format_arg { return args_.get(id); }
_ZN3fmt3v1213parse_contextIcE11next_arg_idEv:
  888|  7.77k|  FMT_CONSTEXPR auto next_arg_id() -> int {
  889|  7.77k|    if (next_arg_id_ < 0) {
  ------------------
  |  Branch (889:9): [True: 248, False: 7.52k]
  ------------------
  890|    248|      report_error("cannot switch from manual to automatic argument indexing");
  891|    248|      return 0;
  892|    248|    }
  893|  7.52k|    int id = next_arg_id_++;
  894|  7.52k|    do_check_arg_id(id);
  895|  7.52k|    return id;
  896|  7.77k|  }
_ZN3fmt3v1213parse_contextIcE15do_check_arg_idEi:
 2464|   154k|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|   154k|  if (detail::is_constant_evaluated() && use_constexpr_cast) {
  ------------------
  |  Branch (2467:7): [Folded, False: 154k]
  |  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|   154k|}
_ZN3fmt3v126detail12parse_arg_idIcRZNS1_23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S9_S9_OT0_E10id_adapterEES9_S9_S9_SB_:
 1359|   146k|                                Handler&& handler) -> const Char* {
 1360|   146k|  Char c = *begin;
 1361|   146k|  if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (1361:7): [True: 146k, False: 200]
  |  Branch (1361:19): [True: 146k, False: 416]
  ------------------
 1362|   146k|    int index = 0;
 1363|   146k|    if (c != '0')
  ------------------
  |  Branch (1363:9): [True: 78.8k, False: 67.1k]
  ------------------
 1364|  78.8k|      index = parse_nonnegative_int(begin, end, INT_MAX);
 1365|  67.1k|    else
 1366|  67.1k|      ++begin;
 1367|   146k|    if (begin == end || (*begin != '}' && *begin != ':'))
  ------------------
  |  Branch (1367:9): [True: 128, False: 145k]
  |  Branch (1367:26): [True: 120k, False: 24.9k]
  |  Branch (1367:43): [True: 296, False: 120k]
  ------------------
 1368|    424|      report_error("invalid format string");
 1369|   145k|    else
 1370|   145k|      handler.on_index(index);
 1371|   146k|    return begin;
 1372|   146k|  }
 1373|    616|  if (FMT_OPTIMIZE_SIZE > 1 || !is_name_start(c)) {
  ------------------
  |  |  290|    616|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1373:7): [Folded, False: 616]
  |  Branch (1373:32): [True: 376, False: 240]
  ------------------
 1374|    376|    report_error("invalid format string");
 1375|    376|    return begin;
 1376|    376|  }
 1377|    240|  auto it = begin;
 1378|  21.0M|  do {
 1379|  21.0M|    ++it;
 1380|  21.0M|  } while (it != end && (is_name_start(*it) || ('0' <= *it && *it <= '9')));
  ------------------
  |  Branch (1380:12): [True: 21.0M, False: 64]
  |  Branch (1380:26): [True: 21.0M, False: 1.23k]
  |  Branch (1380:49): [True: 1.15k, False: 80]
  |  Branch (1380:63): [True: 1.05k, False: 96]
  ------------------
 1381|    240|  handler.on_name({begin, to_unsigned(it - begin)});
 1382|    240|  return it;
 1383|    616|}
_ZN3fmt3v126detail21parse_nonnegative_intIcEEiRPKT_S5_i:
 1323|   155k|                                         int error_value) noexcept -> int {
 1324|   155k|  FMT_ASSERT(begin != end && '0' <= *begin && *begin <= '9', "");
  ------------------
  |  |  395|   620k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [True: 155k, False: 0]
  |  |  |  Branch (395:7): [True: 155k, False: 0]
  |  |  |  Branch (395:7): [True: 155k, False: 0]
  |  |  ------------------
  |  |  396|   155k|         ? (void)0                                                          \
  |  |  397|   155k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1325|   155k|  unsigned value = 0, prev = 0;
 1326|   155k|  auto p = begin;
 1327|   260k|  do {
 1328|   260k|    prev = value;
 1329|   260k|    value = value * 10 + unsigned(*p - '0');
 1330|   260k|    ++p;
 1331|   260k|  } while (p != end && '0' <= *p && *p <= '9');
  ------------------
  |  Branch (1331:12): [True: 260k, False: 336]
  |  Branch (1331:24): [True: 256k, False: 4.12k]
  |  Branch (1331:37): [True: 105k, False: 150k]
  ------------------
 1332|   155k|  auto num_digits = p - begin;
 1333|   155k|  begin = p;
 1334|   155k|  int digits10 = static_cast<int>(sizeof(int) * CHAR_BIT * 3 / 10);
 1335|   155k|  if (num_digits <= digits10) return static_cast<int>(value);
  ------------------
  |  Branch (1335:7): [True: 154k, False: 224]
  ------------------
 1336|       |  // Check for overflow.
 1337|    224|  unsigned max = INT_MAX;
 1338|    224|  return num_digits == digits10 + 1 &&
  ------------------
  |  Branch (1338:10): [True: 144, False: 80]
  ------------------
 1339|    144|                 prev * 10ull + unsigned(p[-1] - '0') <= max
  ------------------
  |  Branch (1339:18): [True: 136, False: 8]
  ------------------
 1340|    224|             ? static_cast<int>(value)
 1341|    224|             : error_value;
 1342|   155k|}
_ZZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_EN10id_adapter8on_indexEi:
 1630|   145k|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
_ZN3fmt3v1213parse_contextIcE12check_arg_idEi:
  900|   146k|  FMT_CONSTEXPR void check_arg_id(int id) {
  901|   146k|    if (next_arg_id_ > 0) {
  ------------------
  |  Branch (901:9): [True: 24, False: 146k]
  ------------------
  902|     24|      report_error("cannot switch from automatic to manual argument indexing");
  903|     24|      return;
  904|     24|    }
  905|   146k|    next_arg_id_ = -1;
  906|   146k|    do_check_arg_id(id);
  907|   146k|  }
_ZN3fmt3v126detail13is_name_startIcEEbT_:
 1353|  37.5M|template <typename Char> constexpr auto is_name_start(Char c) -> bool {
 1354|  37.5M|  return ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '_';
  ------------------
  |  Branch (1354:11): [True: 37.5M, False: 14.2k]
  |  Branch (1354:23): [True: 37.5M, False: 96]
  |  Branch (1354:37): [True: 12.1k, False: 2.18k]
  |  Branch (1354:49): [True: 7.15k, False: 4.96k]
  |  Branch (1354:62): [True: 4.77k, False: 2.37k]
  ------------------
 1355|  37.5M|}
_ZZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_EN10id_adapter7on_nameENS0_17basic_string_viewIcEE:
 1631|    240|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1632|    240|        arg_id = handler.on_arg_id(id);
 1633|    240|      }
_ZN3fmt3v1213parse_contextIcE12check_arg_idENS0_17basic_string_viewIcEE:
  908|    448|  FMT_CONSTEXPR void check_arg_id(basic_string_view<Char>) {
  909|    448|    next_arg_id_ = -1;
  910|    448|  }
_ZNK3fmt3v127context6arg_idENS0_17basic_string_viewIcEE:
 2707|    240|  FMT_CONSTEXPR auto arg_id(string_view name) const -> int {
 2708|    240|    return args_.get_id(name);
 2709|    240|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE6get_idIcEEiNS0_17basic_string_viewIT_EE:
 2665|    256|  FMT_CONSTEXPR auto get_id(basic_string_view<Char> name) const -> int {
 2666|    256|    if (!has_named_args()) return -1;
  ------------------
  |  Branch (2666:9): [True: 256, 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|    256|  constexpr auto has_named_args() const -> bool {
 2606|    256|    return (desc_ & detail::has_named_args_bit) != 0;
 2607|    256|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEEcvbEv:
 2533|   122k|  constexpr explicit operator bool() const noexcept {
 2534|   122k|    return type_ != detail::type::none_type;
 2535|   122k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEE13format_customEPKcRNS0_13parse_contextIcEERS2_:
 2569|   121k|      -> bool {
 2570|   121k|    if (type_ != detail::type::custom_type) return false;
  ------------------
  |  Branch (2570:9): [True: 121k, 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|   121k|  }
_ZN3fmt3v126detail7arg_refIcEC2Ei:
 1290|   244k|  FMT_CONSTEXPR arg_ref(int idx = 0) : index(idx) {}
_ZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeE:
 1474|   121k|    -> const Char* {
 1475|   121k|  auto c = '\0';
 1476|   121k|  if (end - begin > 1) {
  ------------------
  |  Branch (1476:7): [True: 120k, False: 448]
  ------------------
 1477|   120k|    auto next = to_ascii(begin[1]);
 1478|   120k|    c = parse_align(next) == align::none ? to_ascii(*begin) : '\0';
  ------------------
  |  Branch (1478:9): [True: 113k, False: 7.16k]
  ------------------
 1479|   120k|  } else {
 1480|    448|    if (begin == end) return begin;
  ------------------
  |  Branch (1480:9): [True: 184, False: 264]
  ------------------
 1481|    264|    c = to_ascii(*begin);
 1482|    264|  }
 1483|       |
 1484|   121k|  struct {
 1485|   121k|    state current_state = state::start;
 1486|   121k|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1487|   121k|      if (current_state >= s || !valid)
 1488|   121k|        report_error("invalid format specifier");
 1489|   121k|      current_state = s;
 1490|   121k|    }
 1491|   121k|  } enter_state;
 1492|       |
 1493|   121k|  using pres = presentation_type;
 1494|   121k|  constexpr auto integral_set = sint_set | uint_set | bool_set | char_set;
 1495|   121k|  struct {
 1496|   121k|    const Char*& begin;
 1497|   121k|    format_specs& specs;
 1498|   121k|    type arg_type;
 1499|       |
 1500|   121k|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1501|   121k|      if (!in(arg_type, set)) report_error("invalid format specifier");
 1502|   121k|      specs.set_type(pres_type);
 1503|   121k|      return begin + 1;
 1504|   121k|    }
 1505|   121k|  } parse_presentation_type{begin, specs, arg_type};
 1506|       |
 1507|   276k|  for (;;) {
 1508|   276k|    switch (c) {
 1509|    368|    case '<':
  ------------------
  |  Branch (1509:5): [True: 368, False: 276k]
  ------------------
 1510|  2.72k|    case '>':
  ------------------
  |  Branch (1510:5): [True: 2.36k, False: 274k]
  ------------------
 1511|  10.2k|    case '^':
  ------------------
  |  Branch (1511:5): [True: 7.56k, False: 269k]
  ------------------
 1512|  10.2k|      enter_state(state::align);
 1513|  10.2k|      specs.set_align(parse_align(c));
 1514|  10.2k|      ++begin;
 1515|  10.2k|      break;
 1516|      0|    case '+':
  ------------------
  |  Branch (1516:5): [True: 0, False: 276k]
  ------------------
 1517|     16|    case ' ':
  ------------------
  |  Branch (1517:5): [True: 16, False: 276k]
  ------------------
 1518|     16|      specs.set_sign(c == ' ' ? sign::space : sign::plus);
  ------------------
  |  Branch (1518:22): [True: 16, False: 0]
  ------------------
 1519|     16|      FMT_FALLTHROUGH;
  ------------------
  |  |  181|     16|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
 1520|     16|    case '-':
  ------------------
  |  Branch (1520:5): [True: 0, False: 276k]
  ------------------
 1521|     16|      enter_state(state::sign, in(arg_type, sint_set | float_set));
 1522|     16|      ++begin;
 1523|     16|      break;
 1524|  28.9k|    case '#':
  ------------------
  |  Branch (1524:5): [True: 28.9k, False: 247k]
  ------------------
 1525|  28.9k|      enter_state(state::hash, is_arithmetic_type(arg_type));
 1526|  28.9k|      specs.set_alt();
 1527|  28.9k|      ++begin;
 1528|  28.9k|      break;
 1529|  12.2k|    case '0':
  ------------------
  |  Branch (1529:5): [True: 12.2k, False: 264k]
  ------------------
 1530|  12.2k|      enter_state(state::zero);
 1531|  12.2k|      if (!is_arithmetic_type(arg_type))
  ------------------
  |  Branch (1531:11): [True: 0, False: 12.2k]
  ------------------
 1532|      0|        report_error("format specifier requires numeric argument");
 1533|  12.2k|      if (specs.align() == align::none) {
  ------------------
  |  Branch (1533:11): [True: 11.0k, False: 1.20k]
  ------------------
 1534|       |        // Ignore 0 if align is specified for compatibility with std::format.
 1535|  11.0k|        specs.set_align(align::numeric);
 1536|  11.0k|        specs.set_fill('0');
 1537|  11.0k|      }
 1538|  12.2k|      ++begin;
 1539|  12.2k|      break;
 1540|       |      // clang-format off
 1541|  45.0k|    case '1': case '2': case '3': case '4': case '5':
  ------------------
  |  Branch (1541:5): [True: 10.1k, False: 266k]
  |  Branch (1541:15): [True: 14.0k, False: 262k]
  |  Branch (1541:25): [True: 6.17k, False: 270k]
  |  Branch (1541:35): [True: 1.95k, False: 274k]
  |  Branch (1541:45): [True: 12.8k, False: 264k]
  ------------------
 1542|  68.0k|    case '6': case '7': case '8': case '9': case '{':
  ------------------
  |  Branch (1542:5): [True: 5.33k, False: 271k]
  |  Branch (1542:15): [True: 480, False: 276k]
  |  Branch (1542:25): [True: 9.24k, False: 267k]
  |  Branch (1542:35): [True: 6.96k, False: 269k]
  |  Branch (1542:45): [True: 992, False: 275k]
  ------------------
 1543|       |      // clang-format on
 1544|  68.0k|      enter_state(state::width);
 1545|  68.0k|      begin = parse_width(begin, end, specs, specs.width_ref, ctx);
 1546|  68.0k|      break;
 1547|  9.76k|    case '.':
  ------------------
  |  Branch (1547:5): [True: 9.76k, False: 267k]
  ------------------
 1548|  9.76k|      enter_state(state::precision,
 1549|  9.76k|                  in(arg_type, float_set | string_set | cstring_set));
 1550|  9.76k|      begin = parse_precision(begin, end, specs, specs.precision_ref, ctx);
 1551|  9.76k|      break;
 1552|  19.0k|    case 'L':
  ------------------
  |  Branch (1552:5): [True: 19.0k, False: 257k]
  ------------------
 1553|  19.0k|      enter_state(state::locale, is_arithmetic_type(arg_type));
 1554|  19.0k|      specs.set_localized();
 1555|  19.0k|      ++begin;
 1556|  19.0k|      break;
 1557|  10.1k|    case 'd': return parse_presentation_type(pres::dec, integral_set);
  ------------------
  |  Branch (1557:5): [True: 10.1k, False: 266k]
  ------------------
 1558|  4.21k|    case 'X': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|  4.21k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1558:5): [True: 4.21k, False: 272k]
  ------------------
 1559|  16.2k|    case 'x': return parse_presentation_type(pres::hex, integral_set);
  ------------------
  |  Branch (1559:5): [True: 12.0k, False: 264k]
  ------------------
 1560|  16.1k|    case 'o': return parse_presentation_type(pres::oct, integral_set);
  ------------------
  |  Branch (1560:5): [True: 16.1k, False: 260k]
  ------------------
 1561|  2.80k|    case 'B': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|  2.80k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1561:5): [True: 2.80k, False: 274k]
  ------------------
 1562|  14.0k|    case 'b': return parse_presentation_type(pres::bin, integral_set);
  ------------------
  |  Branch (1562:5): [True: 11.2k, False: 265k]
  ------------------
 1563|      0|    case 'E': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1563:5): [True: 0, False: 276k]
  ------------------
 1564|     16|    case 'e': return parse_presentation_type(pres::exp, float_set);
  ------------------
  |  Branch (1564:5): [True: 16, False: 276k]
  ------------------
 1565|      8|    case 'F': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      8|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1565:5): [True: 8, False: 276k]
  ------------------
 1566|     40|    case 'f': return parse_presentation_type(pres::fixed, float_set);
  ------------------
  |  Branch (1566:5): [True: 32, False: 276k]
  ------------------
 1567|      0|    case 'G': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1567:5): [True: 0, False: 276k]
  ------------------
 1568|      0|    case 'g': return parse_presentation_type(pres::general, float_set);
  ------------------
  |  Branch (1568:5): [True: 0, False: 276k]
  ------------------
 1569|      0|    case 'A': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1569:5): [True: 0, False: 276k]
  ------------------
 1570|      0|    case 'a': return parse_presentation_type(pres::hexfloat, float_set);
  ------------------
  |  Branch (1570:5): [True: 0, False: 276k]
  ------------------
 1571|  3.04k|    case 'c':
  ------------------
  |  Branch (1571:5): [True: 3.04k, False: 273k]
  ------------------
 1572|  3.04k|      if (arg_type == type::bool_type) report_error("invalid format specifier");
  ------------------
  |  Branch (1572:11): [True: 0, False: 3.04k]
  ------------------
 1573|  3.04k|      return parse_presentation_type(pres::chr, integral_set);
 1574|    168|    case 's':
  ------------------
  |  Branch (1574:5): [True: 168, False: 276k]
  ------------------
 1575|    168|      return parse_presentation_type(pres::string,
 1576|    168|                                     bool_set | string_set | cstring_set);
 1577|      0|    case 'p':
  ------------------
  |  Branch (1577:5): [True: 0, False: 276k]
  ------------------
 1578|      0|      return parse_presentation_type(pres::pointer, pointer_set | cstring_set);
 1579|  20.7k|    case '?':
  ------------------
  |  Branch (1579:5): [True: 20.7k, False: 256k]
  ------------------
 1580|  20.7k|      return parse_presentation_type(pres::debug,
 1581|  20.7k|                                     char_set | string_set | cstring_set);
 1582|  39.1k|    case '}': return begin;
  ------------------
  |  Branch (1582:5): [True: 39.1k, False: 237k]
  ------------------
 1583|  8.63k|    default:  {
  ------------------
  |  Branch (1583:5): [True: 8.63k, False: 268k]
  ------------------
 1584|  8.63k|      if (*begin == '}') return begin;
  ------------------
  |  Branch (1584:11): [True: 168, False: 8.46k]
  ------------------
 1585|       |      // Parse fill and alignment.
 1586|  8.46k|      auto fill_end = begin + code_point_length(begin);
 1587|  8.46k|      if (end - fill_end <= 0) {
  ------------------
  |  Branch (1587:11): [True: 16, False: 8.44k]
  ------------------
 1588|     16|        report_error("invalid format specifier");
 1589|     16|        return begin;
 1590|     16|      }
 1591|  8.44k|      if (*begin == '{') {
  ------------------
  |  Branch (1591:11): [True: 0, False: 8.44k]
  ------------------
 1592|      0|        report_error("invalid fill character '{'");
 1593|      0|        return begin;
 1594|      0|      }
 1595|  8.44k|      auto alignment = parse_align(to_ascii(*fill_end));
 1596|  8.44k|      enter_state(state::align, alignment != align::none);
 1597|  8.44k|      specs.set_fill(
 1598|  8.44k|          basic_string_view<Char>(begin, to_unsigned(fill_end - begin)));
 1599|  8.44k|      specs.set_align(alignment);
 1600|  8.44k|      begin = fill_end + 1;
 1601|  8.44k|    }
 1602|   276k|    }
 1603|   156k|    if (begin == end) return begin;
  ------------------
  |  Branch (1603:9): [True: 296, False: 155k]
  ------------------
 1604|   155k|    c = to_ascii(*begin);
 1605|   155k|  }
 1606|   121k|}
_ZN3fmt3v126detail8to_asciiIcTnNSt3__19enable_ifIXsr3std11is_integralIT_EE5valueEiE4typeELi0EEEcS5_:
 1307|   398k|constexpr auto to_ascii(Char c) -> char {
 1308|   398k|  return c <= 0xff ? static_cast<char>(c) : '\0';
  ------------------
  |  Branch (1308:10): [True: 398k, False: 0]
  ------------------
 1309|   398k|}
_ZN3fmt3v126detail11parse_alignEc:
 1344|   139k|FMT_CONSTEXPR inline auto parse_align(char c) -> align {
 1345|   139k|  switch (c) {
  ------------------
  |  Branch (1345:11): [True: 25.5k, False: 114k]
  ------------------
 1346|  5.65k|  case '<': return align::left;
  ------------------
  |  Branch (1346:3): [True: 5.65k, False: 133k]
  ------------------
 1347|  8.60k|  case '>': return align::right;
  ------------------
  |  Branch (1347:3): [True: 8.60k, False: 130k]
  ------------------
 1348|  11.2k|  case '^': return align::center;
  ------------------
  |  Branch (1348:3): [True: 11.2k, False: 128k]
  ------------------
 1349|   139k|  }
 1350|   114k|  return align::none;
 1351|   139k|}
_ZZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeEENUt_clENS1_5stateEb:
 1486|   156k|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1487|   156k|      if (current_state >= s || !valid)
  ------------------
  |  Branch (1487:11): [True: 272, False: 156k]
  |  Branch (1487:33): [True: 192, False: 156k]
  ------------------
 1488|    464|        report_error("invalid format specifier");
 1489|   156k|      current_state = s;
 1490|   156k|    }
_ZN3fmt3v1211basic_specs9set_alignENS0_5alignE:
  754|  29.4k|  FMT_CONSTEXPR void set_align(fmt::align a) {
  755|  29.4k|    data_ = (data_ & ~align_mask) | (static_cast<unsigned>(a) << align_shift);
  756|  29.4k|  }
_ZN3fmt3v1211basic_specs8set_signENS0_4signE:
  781|     16|  FMT_CONSTEXPR void set_sign(fmt::sign s) {
  782|     16|    data_ = (data_ & ~sign_mask) | (static_cast<unsigned>(s) << sign_shift);
  783|     16|  }
_ZN3fmt3v126detail2inENS1_4typeEi:
 1040|  90.4k|constexpr auto in(type t, int set) -> bool {
 1041|  90.4k|  return ((set >> static_cast<int>(t)) & 1) != 0;
 1042|  90.4k|}
_ZN3fmt3v126detail18is_arithmetic_typeENS1_4typeE:
 1035|  60.2k|constexpr auto is_arithmetic_type(type t) -> bool {
 1036|  60.2k|  return t > type::none_type && t <= type::last_numeric_type;
  ------------------
  |  Branch (1036:10): [True: 60.2k, False: 0]
  |  Branch (1036:33): [True: 60.2k, False: 0]
  ------------------
 1037|  60.2k|}
_ZN3fmt3v126detail11parse_widthIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1445|  68.0k|                               parse_context<Char>& ctx) -> const Char* {
 1446|  68.0k|  auto result = parse_dynamic_spec(begin, end, specs.width, width_ref, ctx);
 1447|  68.0k|  specs.set_dynamic_width(result.kind);
 1448|  68.0k|  return result.end;
 1449|  68.0k|}
_ZN3fmt3v126detail18parse_dynamic_specIcEENS1_25parse_dynamic_spec_resultIT_EEPKS4_S7_RiRNS1_7arg_refIS4_EERNS0_13parse_contextIS4_EE:
 1413|  77.8k|    -> parse_dynamic_spec_result<Char> {
 1414|  77.8k|  FMT_ASSERT(begin != end, "");
  ------------------
  |  |  395|  77.8k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 77.8k, False: 0]
  |  |  ------------------
  |  |  396|  77.8k|         ? (void)0                                                          \
  |  |  397|  77.8k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1415|  77.8k|  auto kind = arg_id_kind::none;
 1416|  77.8k|  if ('0' <= *begin && *begin <= '9') {
  ------------------
  |  Branch (1416:7): [True: 77.7k, False: 16]
  |  Branch (1416:24): [True: 75.9k, False: 1.84k]
  ------------------
 1417|  75.9k|    int val = parse_nonnegative_int(begin, end, -1);
 1418|  75.9k|    if (val == -1) report_error("number is too big");
  ------------------
  |  Branch (1418:9): [True: 8, False: 75.9k]
  ------------------
 1419|  75.9k|    value = val;
 1420|  75.9k|  } else {
 1421|  1.86k|    if (*begin == '{') {
  ------------------
  |  Branch (1421:9): [True: 1.81k, False: 48]
  ------------------
 1422|  1.81k|      ++begin;
 1423|  1.81k|      if (begin != end) {
  ------------------
  |  Branch (1423:11): [True: 1.81k, False: 0]
  ------------------
 1424|  1.81k|        Char c = *begin;
 1425|  1.81k|        if (c == '}' || c == ':') {
  ------------------
  |  Branch (1425:13): [True: 120, False: 1.69k]
  |  Branch (1425:25): [True: 16, False: 1.68k]
  ------------------
 1426|    136|          int id = ctx.next_arg_id();
 1427|    136|          ref = id;
 1428|    136|          kind = arg_id_kind::index;
 1429|    136|          ctx.check_dynamic_spec(id);
 1430|  1.68k|        } else {
 1431|  1.68k|          begin = parse_arg_id(begin, end,
 1432|  1.68k|                               dynamic_spec_handler<Char>{ctx, ref, kind});
 1433|  1.68k|        }
 1434|  1.81k|      }
 1435|  1.81k|      if (begin != end && *begin == '}') return {++begin, kind};
  ------------------
  |  Branch (1435:11): [True: 1.60k, False: 216]
  |  Branch (1435:27): [True: 1.47k, False: 128]
  ------------------
 1436|  1.81k|    }
 1437|    392|    report_error("invalid format string");
 1438|    392|  }
 1439|  76.3k|  return {begin, kind};
 1440|  77.8k|}
_ZN3fmt3v1213parse_contextIcE18check_dynamic_specEi:
 2474|  1.48k|FMT_CONSTEXPR void parse_context<Char>::check_dynamic_spec(int arg_id) {
 2475|  1.48k|  using detail::compile_parse_context;
 2476|  1.48k|  if (detail::is_constant_evaluated() && use_constexpr_cast)
  ------------------
  |  Branch (2476:7): [Folded, False: 1.48k]
  |  Branch (2476:42): [True: 0, Folded]
  ------------------
 2477|      0|    static_cast<compile_parse_context<Char>*>(this)->check_dynamic_spec(arg_id);
 2478|  1.48k|}
_ZN3fmt3v126detail12parse_arg_idIcNS1_20dynamic_spec_handlerIcEEEEPKT_S7_S7_OT0_:
 1359|  1.68k|                                Handler&& handler) -> const Char* {
 1360|  1.68k|  Char c = *begin;
 1361|  1.68k|  if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (1361:7): [True: 1.64k, False: 32]
  |  Branch (1361:19): [True: 1.42k, False: 224]
  ------------------
 1362|  1.42k|    int index = 0;
 1363|  1.42k|    if (c != '0')
  ------------------
  |  Branch (1363:9): [True: 328, False: 1.09k]
  ------------------
 1364|    328|      index = parse_nonnegative_int(begin, end, INT_MAX);
 1365|  1.09k|    else
 1366|  1.09k|      ++begin;
 1367|  1.42k|    if (begin == end || (*begin != '}' && *begin != ':'))
  ------------------
  |  Branch (1367:9): [True: 8, False: 1.41k]
  |  Branch (1367:26): [True: 64, False: 1.35k]
  |  Branch (1367:43): [True: 40, False: 24]
  ------------------
 1368|     48|      report_error("invalid format string");
 1369|  1.37k|    else
 1370|  1.37k|      handler.on_index(index);
 1371|  1.42k|    return begin;
 1372|  1.42k|  }
 1373|    256|  if (FMT_OPTIMIZE_SIZE > 1 || !is_name_start(c)) {
  ------------------
  |  |  290|    256|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1373:7): [Folded, False: 256]
  |  Branch (1373:32): [True: 48, False: 208]
  ------------------
 1374|     48|    report_error("invalid format string");
 1375|     48|    return begin;
 1376|     48|  }
 1377|    208|  auto it = begin;
 1378|  16.4M|  do {
 1379|  16.4M|    ++it;
 1380|  16.4M|  } while (it != end && (is_name_start(*it) || ('0' <= *it && *it <= '9')));
  ------------------
  |  Branch (1380:12): [True: 16.4M, False: 96]
  |  Branch (1380:26): [True: 16.4M, False: 720]
  |  Branch (1380:49): [True: 656, False: 64]
  |  Branch (1380:63): [True: 608, False: 48]
  ------------------
 1381|    208|  handler.on_name({begin, to_unsigned(it - begin)});
 1382|    208|  return it;
 1383|    256|}
_ZN3fmt3v126detail20dynamic_spec_handlerIcE8on_indexEi:
 1390|  1.37k|  FMT_CONSTEXPR void on_index(int id) {
 1391|  1.37k|    ref = id;
 1392|  1.37k|    kind = arg_id_kind::index;
 1393|  1.37k|    ctx.check_arg_id(id);
 1394|  1.37k|    ctx.check_dynamic_spec(id);
 1395|  1.37k|  }
_ZN3fmt3v126detail20dynamic_spec_handlerIcE7on_nameENS0_17basic_string_viewIcEE:
 1396|    208|  FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1397|    208|    ref = id;
 1398|    208|    kind = arg_id_kind::name;
 1399|    208|    ctx.check_arg_id(id);
 1400|    208|  }
_ZN3fmt3v126detail7arg_refIcEC2ENS0_17basic_string_viewIcEE:
 1291|    208|  FMT_CONSTEXPR arg_ref(basic_string_view<Char> n) : name(n) {}
_ZN3fmt3v1211basic_specs17set_dynamic_widthENS0_11arg_id_kindE:
  761|  67.7k|  FMT_CONSTEXPR void set_dynamic_width(arg_id_kind w) {
  762|  67.7k|    data_ = (data_ & ~width_mask) | (static_cast<unsigned>(w) << width_shift);
  763|  67.7k|  }
_ZN3fmt3v126detail15parse_precisionIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1455|  9.73k|                                   parse_context<Char>& ctx) -> const Char* {
 1456|  9.73k|  ++begin;
 1457|  9.73k|  if (begin == end) {
  ------------------
  |  Branch (1457:7): [True: 0, False: 9.73k]
  ------------------
 1458|      0|    report_error("invalid precision");
 1459|      0|    return begin;
 1460|      0|  }
 1461|  9.73k|  auto result =
 1462|  9.73k|      parse_dynamic_spec(begin, end, specs.precision, precision_ref, ctx);
 1463|  9.73k|  specs.set_dynamic_precision(result.kind);
 1464|  9.73k|  return result.end;
 1465|  9.73k|}
_ZN3fmt3v1211basic_specs21set_dynamic_precisionENS0_11arg_id_kindE:
  769|  9.65k|  FMT_CONSTEXPR void set_dynamic_precision(arg_id_kind p) {
  770|  9.65k|    data_ = (data_ & ~precision_mask) |
  771|  9.65k|            (static_cast<unsigned>(p) << precision_shift);
  772|  9.65k|  }
_ZN3fmt3v1211basic_specs13set_localizedEv:
  795|  19.0k|  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|  80.6k|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1501|  80.6k|      if (!in(arg_type, set)) report_error("invalid format specifier");
  ------------------
  |  Branch (1501:11): [True: 120, False: 80.4k]
  ------------------
 1502|  80.6k|      specs.set_type(pres_type);
 1503|  80.6k|      return begin + 1;
 1504|  80.6k|    }
_ZN3fmt3v1211basic_specs8set_typeENS0_17presentation_typeE:
  747|  80.4k|  FMT_CONSTEXPR void set_type(presentation_type t) {
  748|  80.4k|    data_ = (data_ & ~type_mask) | static_cast<unsigned>(t);
  749|  80.4k|  }
_ZN3fmt3v1211basic_specs9set_upperEv:
  786|  7.03k|  FMT_CONSTEXPR void set_upper() { data_ |= uppercase_mask; }
_ZN3fmt3v126detail17code_point_lengthIcEEiPKT_:
 1313|  8.46k|FMT_CONSTEXPR auto code_point_length(const Char* begin) -> int {
 1314|  8.46k|  if (const_check(sizeof(Char) != 1)) return 1;
  ------------------
  |  Branch (1314:7): [Folded, False: 8.46k]
  ------------------
 1315|  8.46k|  auto c = static_cast<unsigned char>(*begin);
 1316|  8.46k|  return static_cast<int>((0x3a55000000000000ull >> (2 * (c >> 3))) & 3) + 1;
 1317|  8.46k|}
_ZN3fmt3v1211basic_specs8set_fillIcEEvNS0_17basic_string_viewIT_EE:
  823|  8.08k|  FMT_CONSTEXPR void set_fill(basic_string_view<Char> s) {
  824|  8.08k|    auto size = s.size();
  825|  8.08k|    set_fill_size(size);
  826|  8.08k|    if (size == 1) {
  ------------------
  |  Branch (826:9): [True: 6.98k, False: 1.10k]
  ------------------
  827|  6.98k|      unsigned uchar = static_cast<detail::unsigned_char<Char>>(s[0]);
  828|  6.98k|      fill_data_[0] = static_cast<char>(uchar);
  829|  6.98k|      fill_data_[1] = static_cast<char>(uchar >> 8);
  830|  6.98k|      fill_data_[2] = static_cast<char>(uchar >> 16);
  831|  6.98k|      return;
  832|  6.98k|    }
  833|  1.10k|    FMT_ASSERT(size <= max_fill_size, "invalid fill");
  ------------------
  |  |  395|  1.10k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 1.10k, False: 0]
  |  |  ------------------
  |  |  396|  1.10k|         ? (void)0                                                          \
  |  |  397|  1.10k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  834|  3.59k|    for (size_t i = 0; i < size; ++i)
  ------------------
  |  Branch (834:24): [True: 2.48k, False: 1.10k]
  ------------------
  835|  2.48k|      fill_data_[i & 3] = static_cast<char>(s[i]);
  836|  1.10k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE4typeEv:
 2536|   121k|  auto type() const -> detail::type { return type_; }
_ZNK3fmt3v1211basic_specs7dynamicEv:
  774|   120k|  constexpr auto dynamic() const -> bool {
  775|   120k|    return (data_ & (width_mask | precision_mask)) != 0;
  776|   120k|  }
_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|  1.40k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|  1.40k|    using detail::map;
 2546|  1.40k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 1.40k, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 1.40k]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 1.40k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 1.40k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 1.40k]
  ------------------
 2551|  1.40k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 1.40k, False: 0]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 1.40k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 1.40k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 1.40k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 1.40k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 1.40k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 1.40k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 1.40k]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 1.40k]
  ------------------
 2560|      0|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 0, False: 1.40k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 1.40k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 1.40k]
  ------------------
 2563|  1.40k|    }
 2564|      0|    return vis(monostate());
 2565|  1.40k|  }
_ZNK3fmt3v1211basic_specs13dynamic_widthEv:
  758|  1.42k|  constexpr auto dynamic_width() const -> arg_id_kind {
  759|  1.42k|    return static_cast<arg_id_kind>((data_ & width_mask) >> width_shift);
  760|  1.42k|  }
_ZNK3fmt3v1211basic_specs17dynamic_precisionEv:
  765|  1.39k|  FMT_CONSTEXPR auto dynamic_precision() const -> arg_id_kind {
  766|  1.39k|    return static_cast<arg_id_kind>((data_ & precision_mask) >>
  767|  1.39k|                                    precision_shift);
  768|  1.39k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail13arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2544|   120k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|   120k|    using detail::map;
 2546|   120k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 120k, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 120k]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 120k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 120k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 120k]
  ------------------
 2551|  74.8k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 74.8k, False: 45.4k]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 120k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 120k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 120k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 120k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 120k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 120k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 120k]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 120k]
  ------------------
 2560|  45.4k|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 45.4k, False: 74.8k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 120k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 120k]
  ------------------
 2563|   120k|    }
 2564|      0|    return vis(monostate());
 2565|   120k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2IRyEEOT_:
 2531|  19.0k|      : value_(val), type_(detail::stored_type_constant<T, Context>::value) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ey:
 2213|  31.1k|      : 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|  59.2k|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 2109|   204k|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (2109:10): [True: 145k, False: 59.2k]
  ------------------
 2110|  59.2k|  return out;
 2111|  59.2k|}
_ZN3fmt3v126detail4copyIccNS0_14basic_appenderIcEEEET1_NS0_17basic_string_viewIT0_EES5_:
 2114|  3.26k|FMT_CONSTEXPR auto copy(basic_string_view<V> s, OutputIt out) -> OutputIt {
 2115|  3.26k|  return copy<T>(s.begin(), s.end(), out);
 2116|  3.26k|}
_ZN3fmt3v126detail15counting_bufferIcEC2Ev:
 2048|  66.5M|  FMT_CONSTEXPR counting_buffer() : buffer<T>(grow, data_, 0, buffer_size) {}
_ZNK3fmt3v126detail15counting_bufferIcE5countEv:
 2050|  66.5M|  constexpr auto count() const noexcept -> size_t {
 2051|  66.5M|    return count_ + this->size();
 2052|  66.5M|  }
_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|   105M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 2109|   135M|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (2109:10): [True: 29.7M, False: 105M]
  ------------------
 2110|   105M|  return out;
 2111|   105M|}
_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|   100M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 2109|   302M|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (2109:10): [True: 202M, False: 100M]
  ------------------
 2110|   100M|  return out;
 2111|   100M|}
_ZNK3fmt3v127context6localeEv:
 2718|   120k|  FMT_CONSTEXPR auto locale() const -> locale_ref { return loc_; }
_ZN3fmt3v1213parse_contextIcEC2ENS0_17basic_string_viewIcEEi:
  872|  8.22k|      : fmt_(fmt), next_arg_id_(next_arg_id) {}
_ZN3fmt3v127contextC2ENS0_14basic_appenderIcEENS0_17basic_format_argsIS1_EENS0_10locale_refE:
 2698|  8.22k|      : out_(out), args_(args), loc_(loc) {}
_ZN3fmt3v1210locale_refC2Ev:
  925|  8.22k|  constexpr locale_ref() : locale_(nullptr) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ei:
 2206|  2.14k|  constexpr FMT_INLINE value(int x) : int_value(x) {}
_ZN3fmt3v126detail13ignore_unusedIJNS0_17basic_string_viewIcEEEEEvDpRKT_:
  361|  2.14k|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZN3fmt3v126detail13ignore_unusedIJiEEEvDpRKT_:
  361|  2.14k|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZN3fmt3v126detail6bufferIcE5beginEv:
 1808|  1.80k|  auto begin() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail6bufferIcE3endEv:
 1809|  1.80k|  auto end() noexcept -> T* { return ptr_ + size_; }
_ZNK3fmt3v126detail6bufferIcE4dataEv:
 1822|  3.94k|  FMT_CONSTEXPR auto data() const noexcept -> const T* { return ptr_; }
_ZN3fmt3v126detail5valueINS0_7contextEEC2EPKc:
 2242|  4.28k|  FMT_CONSTEXPR FMT_INLINE value(const char_type* x FMT_BUILTIN) {
 2243|  4.28k|    string.data = x;
 2244|  4.28k|    if (is_constant_evaluated()) string.size = 0;
  ------------------
  |  Branch (2244:9): [Folded, False: 4.28k]
  ------------------
 2245|  4.28k|  }
_ZN3fmt3v1217basic_format_argsINS0_7contextEEC2ILi3ELi0ELy460ETnNSt3__19enable_ifIXleT_LNS0_6detail3$_1E15EEiE4typeELi0EEERKNS7_16format_arg_storeIS2_XT_EXT0_EXT1_EEE:
 2629|  2.14k|      : desc_(DESC | (NUM_NAMED_ARGS != 0 ? +detail::has_named_args_bit : 0)),
  ------------------
  |  Branch (2629:23): [Folded, False: 2.14k]
  ------------------
 2630|  2.14k|        values_(s.args) {}
_ZN3fmt3v126detail10get_bufferIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr18is_buffer_appenderIT0_EE5valueEiE4typeELi0EEERNS1_6bufferIT_EES7_:
 2136|  6.08k|auto get_buffer(OutputIt out) -> buffer<T>& {
 2137|  6.08k|  return get_container(out);
 2138|  6.08k|}
_ZN3fmt3v126detail12get_iteratorIcNS0_14basic_appenderIcEEEET0_RNS1_6bufferIT_EES5_:
 2145|  1.80k|auto get_iterator(buffer<T>&, OutputIt out) -> OutputIt {
 2146|  1.80k|  return out;
 2147|  1.80k|}
_ZN3fmt3v127fstringIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEC2IPKcTnNS4_9enable_ifIXsr3std14is_convertibleIRKT_NS0_17basic_string_viewIcEEEE5valueEiE4typeELi0EEESK_:
 2768|  7.60k|  FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) {
 2769|  7.60k|    auto sv = string_view(str);
 2770|  7.60k|    if (FMT_USE_CONSTEVAL)
  ------------------
  |  |  120|  7.60k|#  define FMT_USE_CONSTEVAL 0
  |  |  ------------------
  |  |  |  Branch (120:29): [Folded, False: 7.60k]
  |  |  ------------------
  ------------------
 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|  7.60k|  }
_ZN3fmt3v1210vformat_toINS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr6detail18is_output_iteratorINS4_9remove_cvINS4_16remove_referenceIT_E4typeEE4typeEcEE5valueEiE4typeELi0EEESC_OS8_NS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEE:
 2855|  6.08k|    -> remove_cvref_t<OutputIt> {
 2856|  6.08k|  auto&& buf = detail::get_buffer<char>(out);
 2857|  6.08k|  detail::vformat_to(buf, fmt, args, {});
 2858|  6.08k|  return detail::get_iterator(buf, out);
 2859|  6.08k|}
_ZN3fmt3v1216make_format_argsINS0_7contextEJKmS3_KNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEELi3ELi0ELy3396EEENS0_6detail16format_arg_storeIT_XT1_EXT2_EXT3_EEEDpRT0_:
 2825|  6.08k|    -> detail::format_arg_store<Context, NUM_ARGS, NUM_NAMED_ARGS, DESC> {
 2826|       |  // Suppress warnings for pathological types convertible to detail::value.
 2827|  6.08k|  FMT_PRAGMA_GCC(diagnostic ignored "-Wconversion")
 2828|  6.08k|  return {{args...}};
 2829|  6.08k|}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Em:
 2210|  12.1k|      : value(ulong_type(x)) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2INSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEcTnNS6_9enable_ifIXntsr3std10is_pointerIT_EE5valueEiE4typeELi0EEERKSE_:
 2248|  6.08k|  FMT_CONSTEXPR value(const T& x FMT_BUILTIN) {
 2249|  6.08k|    static_assert(std::is_same<C, char_type>::value,
 2250|  6.08k|                  "mixing character types is disallowed");
 2251|  6.08k|    auto sv = to_string_view(x);
 2252|  6.08k|    string.data = sv.data();
 2253|  6.08k|    string.size = sv.size();
 2254|  6.08k|  }
_ZN3fmt3v126detail14to_string_viewINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEETnNS3_9enable_ifIXsr18is_std_string_likeIT_EE5valueEiE4typeELi0EEENS0_17basic_string_viewINSB_10value_typeEEERKSB_:
  963|  6.08k|    -> basic_string_view<typename T::value_type> {
  964|  6.08k|  return s;
  965|  6.08k|}
_ZN3fmt3v1217basic_format_argsINS0_7contextEEC2ILi3ELi0ELy3396ETnNSt3__19enable_ifIXleT_LNS0_6detail3$_1E15EEiE4typeELi0EEERKNS7_16format_arg_storeIS2_XT_EXT0_EXT1_EEE:
 2629|  6.08k|      : desc_(DESC | (NUM_NAMED_ARGS != 0 ? +detail::has_named_args_bit : 0)),
  ------------------
  |  Branch (2629:23): [Folded, False: 6.08k]
  ------------------
 2630|  6.08k|        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|  2.14k|  FMT_ALWAYS_INLINE fstring(const S&) : str(S()) {
 2782|  2.14k|    FMT_CONSTEXPR auto sv = string_view(S());
  ------------------
  |  |  111|  2.14k|#  define FMT_CONSTEXPR constexpr
  ------------------
 2783|  2.14k|    FMT_CONSTEXPR int unused =
  ------------------
  |  |  111|  2.14k|#  define FMT_CONSTEXPR constexpr
  ------------------
 2784|  2.14k|        (parse_format_string(sv, checker(sv, arg_pack())), 0);
 2785|  2.14k|    detail::ignore_unused(unused);
 2786|  2.14k|  }
_ZNK3fmt3v127fstringIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE3getEv:
 2791|  7.60k|  auto get() const -> string_view { return str; }

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

_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEEC2ERKS4_:
  840|  7.88k|      : detail::buffer<T>(grow), alloc_(alloc) {
  841|  7.88k|    this->set(store_, SIZE);
  842|  7.88k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (842:9): [Folded, False: 7.88k]
  ------------------
  843|  7.88k|  }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE4growERNS2_6bufferIcEEm:
  810|  21.9k|  static FMT_CONSTEXPR20 void grow(detail::buffer<T>& buf, size_t size) {
  811|  21.9k|    detail::abort_fuzzing_if(size > 5000);
  812|  21.9k|    auto& self = static_cast<basic_memory_buffer&>(buf);
  813|  21.9k|    const size_t max_size =
  814|  21.9k|        std::allocator_traits<Allocator>::max_size(self.alloc_);
  815|  21.9k|    size_t old_capacity = buf.capacity();
  816|  21.9k|    size_t new_capacity = old_capacity + old_capacity / 2;
  817|  21.9k|    if (size > new_capacity)
  ------------------
  |  Branch (817:9): [True: 5.43k, False: 16.5k]
  ------------------
  818|  5.43k|      new_capacity = size;
  819|  16.5k|    else if (new_capacity > max_size)
  ------------------
  |  Branch (819:14): [True: 0, False: 16.5k]
  ------------------
  820|      0|      new_capacity = max_of(size, max_size);
  821|  21.9k|    T* old_data = buf.data();
  822|  21.9k|    T* new_data = self.alloc_.allocate(new_capacity);
  823|       |    // Suppress a bogus -Wstringop-overflow in gcc 13.1 (#3481).
  824|  21.9k|    detail::assume(buf.size() <= new_capacity);
  825|       |    // The following code doesn't throw, so the raw pointer above doesn't leak.
  826|  21.9k|    memcpy(new_data, old_data, buf.size() * sizeof(T));
  827|  21.9k|    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|  21.9k|    if (old_data != self.store_) self.alloc_.deallocate(old_data, old_capacity);
  ------------------
  |  Branch (831:9): [True: 15.7k, False: 6.21k]
  ------------------
  832|  21.9k|  }
_ZN3fmt3v126detail16abort_fuzzing_ifEb:
  252|  21.9k|FMT_CONSTEXPR inline void abort_fuzzing_if(bool condition) {
  253|  21.9k|  ignore_unused(condition);
  254|       |#ifdef FMT_FUZZ
  255|       |  if (condition) throw std::runtime_error("fuzzing limit reached");
  256|       |#endif
  257|  21.9k|}
_ZN3fmt3v126detail9allocatorIcE8allocateEm:
  749|  21.9k|  auto allocate(size_t n) -> T* {
  750|  21.9k|    FMT_ASSERT(n <= max_value<size_t>() / sizeof(T), "");
  ------------------
  |  |  395|  21.9k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 21.9k, False: 0]
  |  |  ------------------
  |  |  396|  21.9k|         ? (void)0                                                          \
  |  |  397|  21.9k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  751|  21.9k|    T* p = static_cast<T*>(malloc(n * sizeof(T)));
  752|  21.9k|    if (!p) FMT_THROW(std::bad_alloc());
  ------------------
  |  |  175|      0|#  define FMT_THROW(x) throw x
  ------------------
  |  Branch (752:9): [True: 0, False: 21.9k]
  ------------------
  753|  21.9k|    return p;
  754|  21.9k|  }
_ZN3fmt3v126detail9max_valueImEET_v:
  427|  21.9k|template <typename T> constexpr auto max_value() -> T {
  428|  21.9k|  return (std::numeric_limits<T>::max)();
  429|  21.9k|}
_ZN3fmt3v126detail6assumeEb:
  479|  24.0k|FMT_INLINE void assume(bool condition) {
  480|  24.0k|  (void)condition;
  481|  24.0k|#if FMT_HAS_BUILTIN(__builtin_assume) && !FMT_ICC_VERSION
  482|  24.0k|  __builtin_assume(condition);
  483|       |#elif FMT_GCC_VERSION
  484|       |  if (!condition) __builtin_unreachable();
  485|       |#endif
  486|  24.0k|}
_ZN3fmt3v126detail9allocatorIcE10deallocateEPcm:
  756|  21.9k|  void deallocate(T* p, size_t) { free(p); }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEED2Ev:
  844|  7.88k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE10deallocateEv:
  805|  7.88k|  FMT_CONSTEXPR20 void deallocate() {
  806|  7.88k|    T* data = this->data();
  807|  7.88k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (807:9): [True: 6.21k, False: 1.66k]
  ------------------
  808|  7.88k|  }
_ZN3fmt3v1210format_intC2Ei:
 4190|    955|  FMT_CONSTEXPR20 explicit format_int(int value) : str_(format_signed(value)) {}
_ZN3fmt3v1210format_int13format_signedIiEEPcT_:
 4180|    955|  FMT_CONSTEXPR20 auto format_signed(Int value) -> char* {
 4181|    955|    auto abs_value = static_cast<detail::uint32_or_64_or_128_t<Int>>(value);
 4182|    955|    bool negative = value < 0;
 4183|    955|    if (negative) abs_value = 0 - abs_value;
  ------------------
  |  Branch (4183:9): [True: 0, False: 955]
  ------------------
 4184|    955|    auto begin = format_unsigned(abs_value);
 4185|    955|    if (negative) *--begin = '-';
  ------------------
  |  Branch (4185:9): [True: 0, False: 955]
  ------------------
 4186|    955|    return begin;
 4187|    955|  }
_ZN3fmt3v1210format_int15format_unsignedIjEEPcT_:
 4174|    955|  FMT_CONSTEXPR20 auto format_unsigned(UInt value) -> char* {
 4175|    955|    auto n = static_cast<detail::uint32_or_64_or_128_t<UInt>>(value);
 4176|    955|    return detail::do_format_decimal(buffer_, n, buffer_size - 1);
 4177|    955|  }
_ZN3fmt3v126detail17do_format_decimalIcjEEPT_S4_T0_i:
 1220|  3.09k|    -> Char* {
 1221|  3.09k|  FMT_ASSERT(size >= count_digits(value), "invalid digit count");
  ------------------
  |  |  395|  3.09k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 3.09k, False: 0]
  |  |  ------------------
  |  |  396|  3.09k|         ? (void)0                                                          \
  |  |  397|  3.09k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1222|  3.09k|  unsigned n = to_unsigned(size);
 1223|  3.15k|  while (value >= 100) {
  ------------------
  |  Branch (1223:10): [True: 55, False: 3.09k]
  ------------------
 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|     55|    n -= 2;
 1228|     55|    write2digits(out + n, static_cast<unsigned>(value % 100));
 1229|     55|    value /= 100;
 1230|     55|  }
 1231|  3.09k|  if (value >= 10) {
  ------------------
  |  Branch (1231:7): [True: 3.09k, False: 0]
  ------------------
 1232|  3.09k|    n -= 2;
 1233|  3.09k|    write2digits(out + n, static_cast<unsigned>(value));
 1234|  3.09k|  } else {
 1235|      0|    out[--n] = static_cast<Char>('0' + value);
 1236|      0|  }
 1237|  3.09k|  return out + n;
 1238|  3.09k|}
_ZN3fmt3v126detail12count_digitsEj:
 1146|  5.23k|FMT_CONSTEXPR20 inline auto count_digits(uint32_t n) -> int {
 1147|  5.23k|#ifdef FMT_BUILTIN_CLZ
 1148|  5.23k|  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|  5.23k|}
_ZN3fmt3v126detail15do_count_digitsEj:
 1123|  5.23k|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|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
 1127|  5.23k|  static constexpr uint64_t table[] = {
 1128|  5.23k|      FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1129|  5.23k|      FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1130|  5.23k|      FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1131|  5.23k|      FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1132|  5.23k|      FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1133|  5.23k|      FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1134|  5.23k|      FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1135|  5.23k|      FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1136|  5.23k|      FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1137|  5.23k|      FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1138|  5.23k|      FMT_INC(1000000000), FMT_INC(1000000000)                        // 4B
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000)                        // 4B
  ------------------
  |  | 1126|  5.23k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1139|  5.23k|  };
 1140|  5.23k|  auto inc = table[FMT_BUILTIN_CLZ(n | 1) ^ 31];
  ------------------
  |  |  206|  5.23k|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1141|  5.23k|  return static_cast<int>((n + inc) >> 32);
 1142|  5.23k|}
_ZN3fmt3v126detail12write2digitsIcEEvPT_m:
 1206|   376k|FMT_CONSTEXPR20 FMT_INLINE void write2digits(Char* out, size_t value) {
 1207|   376k|  if (!is_constant_evaluated() && std::is_same<Char, char>::value &&
  ------------------
  |  Branch (1207:7): [True: 0, Folded]
  |  Branch (1207:35): [True: 0, Folded]
  ------------------
 1208|   376k|      !FMT_OPTIMIZE_SIZE) {
  ------------------
  |  |  290|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1208:7): [True: 0, Folded]
  ------------------
 1209|   376k|    memcpy(out, digits2(value), 2);
 1210|   376k|    return;
 1211|   376k|  }
 1212|      0|  *out++ = static_cast<Char>('0' + value / 10);
 1213|      0|  *out = static_cast<Char>('0' + value % 10);
 1214|      0|}
_ZN3fmt3v126detail7digits2Em:
 1036|   376k|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|   376k|  alignas(2) static const char data[] =
 1040|   376k|      "0001020304050607080910111213141516171819"
 1041|   376k|      "2021222324252627282930313233343536373839"
 1042|   376k|      "4041424344454647484950515253545556575859"
 1043|   376k|      "6061626364656667686970717273747576777879"
 1044|   376k|      "8081828384858687888990919293949596979899";
 1045|   376k|  return &data[value * 2];
 1046|   376k|}
_ZNK3fmt3v1210format_int4dataEv:
 4209|  1.91k|  FMT_CONSTEXPR20 auto data() const -> const char* { return str_; }
_ZNK3fmt3v1210format_int4sizeEv:
 4203|    955|  FMT_CONSTEXPR20 auto size() const -> size_t {
 4204|    955|    return detail::to_unsigned(buffer_ - str_ + buffer_size - 1);
 4205|    955|  }
_ZN3fmt3v126detail21default_arg_formatterIcEclIiTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3660|  2.14k|  void operator()(T value) {
 3661|  2.14k|    write<Char>(out, value);
 3662|  2.14k|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEiTnNSt3__19enable_ifIXaaaasr11is_integralIT1_EE5valuentsr3std7is_sameIS7_bEE5valuentsr3std7is_sameIS7_T_EE5valueEiE4typeELi0EEET0_SB_S7_:
 2295|  2.14k|FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt {
 2296|  2.14k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2297|  2.14k|  bool negative = is_negative(value);
 2298|       |  // Don't do -abs_value since it trips unsigned-integer-overflow sanitizer.
 2299|  2.14k|  if (negative) abs_value = ~abs_value + 1;
  ------------------
  |  Branch (2299:7): [True: 0, False: 2.14k]
  ------------------
 2300|  2.14k|  int num_digits = count_digits(abs_value);
 2301|  2.14k|  auto size = (negative ? 1 : 0) + static_cast<size_t>(num_digits);
  ------------------
  |  Branch (2301:16): [True: 0, False: 2.14k]
  ------------------
 2302|  2.14k|  if (auto ptr = to_pointer<Char>(out, size)) {
  ------------------
  |  Branch (2302:12): [True: 2.14k, False: 0]
  ------------------
 2303|  2.14k|    if (negative) *ptr++ = static_cast<Char>('-');
  ------------------
  |  Branch (2303:9): [True: 0, False: 2.14k]
  ------------------
 2304|  2.14k|    format_decimal<Char>(ptr, abs_value, num_digits);
 2305|  2.14k|    return out;
 2306|  2.14k|  }
 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|  2.14k|}
_ZN3fmt3v126detail11is_negativeIiTnNSt3__19enable_ifIXsr9is_signedIT_EE5valueEiE4typeELi0EEEbS5_:
 1011|  2.14k|constexpr auto is_negative(T value) -> bool {
 1012|  2.14k|  return value < 0;
 1013|  2.14k|}
_ZN3fmt3v126detail10to_pointerIcEEPT_NS0_14basic_appenderIS3_EEm:
  531|  40.7k|FMT_CONSTEXPR20 auto to_pointer(basic_appender<T> it, size_t n) -> T* {
  532|  40.7k|  buffer<T>& buf = get_container(it);
  533|  40.7k|  buf.try_reserve(buf.size() + n);
  534|  40.7k|  auto size = buf.size();
  535|  40.7k|  if (buf.capacity() < size + n) return nullptr;
  ------------------
  |  Branch (535:7): [True: 0, False: 40.7k]
  ------------------
  536|  40.7k|  buf.try_resize(size + n);
  537|  40.7k|  return buf.data() + size;
  538|  40.7k|}
_ZN3fmt3v126detail14format_decimalIcjEEPT_S4_T0_i:
 1242|  2.14k|                                             int num_digits) -> Char* {
 1243|  2.14k|  do_format_decimal(out, value, num_digits);
 1244|  2.14k|  return out + num_digits;
 1245|  2.14k|}
_ZN3fmt3v126detail12count_digitsEm:
 1096|  68.3k|FMT_CONSTEXPR20 inline auto count_digits(uint64_t n) -> int {
 1097|  68.3k|#ifdef FMT_BUILTIN_CLZLL
 1098|  68.3k|  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|  68.3k|}
_ZN3fmt3v126detail15do_count_digitsEm:
 1076|  68.3k|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|  68.3k|  static constexpr uint8_t bsr2log10[] = {
 1082|  68.3k|      1,  1,  1,  2,  2,  2,  3,  3,  3,  4,  4,  4,  4,  5,  5,  5,
 1083|  68.3k|      6,  6,  6,  7,  7,  7,  7,  8,  8,  8,  9,  9,  9,  10, 10, 10,
 1084|  68.3k|      10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 15, 15,
 1085|  68.3k|      15, 16, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 19, 20};
 1086|  68.3k|  auto t = bsr2log10[FMT_BUILTIN_CLZLL(n | 1) ^ 63];
  ------------------
  |  |  209|  68.3k|#    define FMT_BUILTIN_CLZLL(n) __builtin_clzll(n)
  ------------------
 1087|  68.3k|  static constexpr uint64_t zero_or_powers_of_10[] = {
 1088|  68.3k|      0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL),
  ------------------
  |  | 1030|  68.3k|  factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, \
  |  | 1031|  68.3k|      (factor) * 100000, (factor) * 1000000, (factor) * 10000000, \
  |  | 1032|  68.3k|      (factor) * 100000000, (factor) * 1000000000
  ------------------
                    0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL),
  ------------------
  |  | 1030|  68.3k|  factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, \
  |  | 1031|  68.3k|      (factor) * 100000, (factor) * 1000000, (factor) * 10000000, \
  |  | 1032|  68.3k|      (factor) * 100000000, (factor) * 1000000000
  ------------------
 1089|  68.3k|      10000000000000000000ULL};
 1090|  68.3k|  return t - (n < zero_or_powers_of_10[t]);
 1091|  68.3k|}
_ZN3fmt3v126detail14format_decimalIcmEEPT_S4_T0_i:
 1242|  19.7k|                                             int num_digits) -> Char* {
 1243|  19.7k|  do_format_decimal(out, value, num_digits);
 1244|  19.7k|  return out + num_digits;
 1245|  19.7k|}
_ZN3fmt3v126detail17do_format_decimalIcmEEPT_S4_T0_i:
 1220|  45.1k|    -> Char* {
 1221|  45.1k|  FMT_ASSERT(size >= count_digits(value), "invalid digit count");
  ------------------
  |  |  395|  45.1k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 45.1k, False: 0]
  |  |  ------------------
  |  |  396|  45.1k|         ? (void)0                                                          \
  |  |  397|  45.1k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1222|  45.1k|  unsigned n = to_unsigned(size);
 1223|   393k|  while (value >= 100) {
  ------------------
  |  Branch (1223:10): [True: 348k, False: 45.1k]
  ------------------
 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|   348k|    n -= 2;
 1228|   348k|    write2digits(out + n, static_cast<unsigned>(value % 100));
 1229|   348k|    value /= 100;
 1230|   348k|  }
 1231|  45.1k|  if (value >= 10) {
  ------------------
  |  Branch (1231:7): [True: 24.2k, False: 20.8k]
  ------------------
 1232|  24.2k|    n -= 2;
 1233|  24.2k|    write2digits(out + n, static_cast<unsigned>(value));
 1234|  24.2k|  } else {
 1235|  20.8k|    out[--n] = static_cast<Char>('0' + value);
 1236|  20.8k|  }
 1237|  45.1k|  return out + n;
 1238|  45.1k|}
_ZN3fmt3v126detail14format_decimalIcmNS0_14basic_appenderIcEETnNSt3__19enable_ifIXntsr3std10is_pointerINS5_9remove_cvINS5_16remove_referenceIT1_E4typeEE4typeEEE5valueEiE4typeELi0EEES9_S9_T0_i:
 1250|  3.51k|    -> OutputIt {
 1251|  3.51k|  if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
  ------------------
  |  Branch (1251:12): [True: 3.51k, False: 0]
  ------------------
 1252|  3.51k|    do_format_decimal(ptr, value, num_digits);
 1253|  3.51k|    return out;
 1254|  3.51k|  }
 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|  3.51k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclIyTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3660|  19.7k|  void operator()(T value) {
 3661|  19.7k|    write<Char>(out, value);
 3662|  19.7k|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEyTnNSt3__19enable_ifIXaaaasr11is_integralIT1_EE5valuentsr3std7is_sameIS7_bEE5valuentsr3std7is_sameIS7_T_EE5valueEiE4typeELi0EEET0_SB_S7_:
 2295|  19.7k|FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt {
 2296|  19.7k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2297|  19.7k|  bool negative = is_negative(value);
 2298|       |  // Don't do -abs_value since it trips unsigned-integer-overflow sanitizer.
 2299|  19.7k|  if (negative) abs_value = ~abs_value + 1;
  ------------------
  |  Branch (2299:7): [True: 0, False: 19.7k]
  ------------------
 2300|  19.7k|  int num_digits = count_digits(abs_value);
 2301|  19.7k|  auto size = (negative ? 1 : 0) + static_cast<size_t>(num_digits);
  ------------------
  |  Branch (2301:16): [True: 0, False: 19.7k]
  ------------------
 2302|  19.7k|  if (auto ptr = to_pointer<Char>(out, size)) {
  ------------------
  |  Branch (2302:12): [True: 19.7k, False: 0]
  ------------------
 2303|  19.7k|    if (negative) *ptr++ = static_cast<Char>('-');
  ------------------
  |  Branch (2303:9): [True: 0, False: 19.7k]
  ------------------
 2304|  19.7k|    format_decimal<Char>(ptr, abs_value, num_digits);
 2305|  19.7k|    return out;
 2306|  19.7k|  }
 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|  19.7k|}
_ZN3fmt3v126detail11is_negativeIyTnNSt3__19enable_ifIXntsr9is_signedIT_EE5valueEiE4typeELi0EEEbS5_:
 1015|  95.9k|constexpr auto is_negative(T) -> bool {
 1016|  95.9k|  return false;
 1017|  95.9k|}
_ZNK3fmt3v1212format_facetINSt3__16localeEE3putENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsE:
 3913|  19.0k|      -> bool {
 3914|  19.0k|    return do_put(out, val, specs);
 3915|  19.0k|  }
_ZN3fmt3v129loc_value5visitINS0_6detail10loc_writerIcEEEEDTclfp_Li0EEEOT_:
 3885|  19.0k|  template <typename Visitor> auto visit(Visitor&& vis) -> decltype(vis(0)) {
 3886|  19.0k|    return value_.visit(vis);
 3887|  19.0k|  }
_ZN3fmt3v126detail9write_intINS0_14basic_appenderIcEEmcEET_S5_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EE:
 1941|  19.0k|    -> OutputIt {
 1942|  19.0k|  static_assert(std::is_same<uint64_or_128_t<UInt>, UInt>::value, "");
 1943|  19.0k|  int num_digits = 0;
 1944|  19.0k|  auto buffer = memory_buffer();
 1945|  19.0k|  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: 19.0k]
  ------------------
 1947|  2.71k|  case presentation_type::none:
  ------------------
  |  Branch (1947:3): [True: 2.71k, False: 16.2k]
  ------------------
 1948|  3.51k|  case presentation_type::dec:
  ------------------
  |  Branch (1948:3): [True: 800, False: 18.2k]
  ------------------
 1949|  3.51k|    num_digits = count_digits(value);
 1950|  3.51k|    format_decimal<char>(appender(buffer), value, num_digits);
 1951|  3.51k|    break;
 1952|  5.29k|  case presentation_type::hex:
  ------------------
  |  Branch (1952:3): [True: 5.29k, False: 13.7k]
  ------------------
 1953|  5.29k|    if (specs.alt())
  ------------------
  |  Branch (1953:9): [True: 4.29k, False: 1.00k]
  ------------------
 1954|  4.29k|      prefix_append(prefix, unsigned(specs.upper() ? 'X' : 'x') << 8 | '0');
  ------------------
  |  Branch (1954:38): [True: 600, False: 3.69k]
  ------------------
 1955|  5.29k|    num_digits = count_digits<4>(value);
 1956|  5.29k|    format_base2e<char>(4, appender(buffer), value, num_digits, specs.upper());
 1957|  5.29k|    break;
 1958|  7.24k|  case presentation_type::oct:
  ------------------
  |  Branch (1958:3): [True: 7.24k, False: 11.7k]
  ------------------
 1959|  7.24k|    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|  7.24k|    if (specs.alt() && specs.precision <= num_digits && value != 0)
  ------------------
  |  Branch (1962:9): [True: 4.65k, False: 2.59k]
  |  Branch (1962:24): [True: 4.65k, False: 0]
  |  Branch (1962:57): [True: 4.46k, False: 192]
  ------------------
 1963|  4.46k|      prefix_append(prefix, '0');
 1964|  7.24k|    format_base2e<char>(3, appender(buffer), value, num_digits);
 1965|  7.24k|    break;
 1966|  2.76k|  case presentation_type::bin:
  ------------------
  |  Branch (1966:3): [True: 2.76k, False: 16.2k]
  ------------------
 1967|  2.76k|    if (specs.alt())
  ------------------
  |  Branch (1967:9): [True: 1.42k, False: 1.34k]
  ------------------
 1968|  1.42k|      prefix_append(prefix, unsigned(specs.upper() ? 'B' : 'b') << 8 | '0');
  ------------------
  |  Branch (1968:38): [True: 1.42k, False: 0]
  ------------------
 1969|  2.76k|    num_digits = count_digits<1>(value);
 1970|  2.76k|    format_base2e<char>(1, appender(buffer), value, num_digits);
 1971|  2.76k|    break;
 1972|    184|  case presentation_type::chr:
  ------------------
  |  Branch (1972:3): [True: 184, False: 18.8k]
  ------------------
 1973|    184|    return write_char<Char>(out, static_cast<Char>(value), specs);
 1974|  19.0k|  }
 1975|       |
 1976|  18.8k|  unsigned size = (prefix != 0 ? prefix >> 24 : 0) + to_unsigned(num_digits) +
  ------------------
  |  Branch (1976:20): [True: 10.1k, False: 8.64k]
  ------------------
 1977|  18.8k|                  to_unsigned(grouping.count_separators(num_digits));
 1978|  18.8k|  return write_padded<Char, align::right>(
 1979|  18.8k|      out, specs, size, size, [&](reserve_iterator<OutputIt> it) {
 1980|  18.8k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
 1981|  18.8k|          *it++ = static_cast<Char>(p & 0xff);
 1982|  18.8k|        return grouping.apply(it, string_view(buffer.data(), buffer.size()));
 1983|  18.8k|      });
 1984|  19.0k|}
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEEC2ERKS4_:
  840|  21.1k|      : detail::buffer<T>(grow), alloc_(alloc) {
  841|  21.1k|    this->set(store_, SIZE);
  842|  21.1k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (842:9): [Folded, False: 21.1k]
  ------------------
  843|  21.1k|  }
_ZN3fmt3v126detail13prefix_appendERjj:
 1932|  28.2k|FMT_CONSTEXPR inline void prefix_append(unsigned& prefix, unsigned value) {
 1933|  28.2k|  prefix |= prefix != 0 ? value << 8 : value;
  ------------------
  |  Branch (1933:13): [True: 0, False: 28.2k]
  ------------------
 1934|  28.2k|  prefix += (1u + (value > 0xff ? 1 : 0)) << 24;
  ------------------
  |  Branch (1934:20): [True: 19.8k, False: 8.32k]
  ------------------
 1935|  28.2k|}
_ZN3fmt3v126detail12count_digitsILi4EmEEiT0_:
 1105|  5.29k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1106|  5.29k|#ifdef FMT_BUILTIN_CLZ
 1107|  5.29k|  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|  5.29k|#endif
 1110|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1111|  5.29k|  return [](UInt m) {
 1112|  5.29k|    int num_digits = 0;
 1113|  5.29k|    do {
 1114|  5.29k|      ++num_digits;
 1115|  5.29k|    } while ((m >>= BITS) != 0);
 1116|  5.29k|    return num_digits;
 1117|  5.29k|  }(n);
 1118|  5.29k|}
_ZZN3fmt3v126detail12count_digitsILi4EmEEiT0_ENKUlmE_clEm:
 1111|  5.29k|  return [](UInt m) {
 1112|  5.29k|    int num_digits = 0;
 1113|  83.2k|    do {
 1114|  83.2k|      ++num_digits;
 1115|  83.2k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1115:14): [True: 77.9k, False: 5.29k]
  ------------------
 1116|  5.29k|    return num_digits;
 1117|  5.29k|  }(n);
_ZN3fmt3v126detail13format_base2eIcNS0_14basic_appenderIcEEmTnNSt3__19enable_ifIXsr23is_back_insert_iteratorIT0_EE5valueEiE4typeELi0EEES7_iS7_T1_ib:
 1287|  15.3k|    -> OutputIt {
 1288|  15.3k|  if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
  ------------------
  |  Branch (1288:12): [True: 15.3k, False: 0]
  ------------------
 1289|  15.3k|    format_base2e(base_bits, ptr, value, num_digits, upper);
 1290|  15.3k|    return out;
 1291|  15.3k|  }
 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|  15.3k|}
_ZN3fmt3v126detail13format_base2eIcmEEPT_iS4_T0_ib:
 1278|  15.3k|                                 int num_digits, bool upper = false) -> Char* {
 1279|  15.3k|  do_format_base2e(base_bits, out, value, num_digits, upper);
 1280|  15.3k|  return out + num_digits;
 1281|  15.3k|}
_ZN3fmt3v126detail16do_format_base2eIcmEEPT_iS4_T0_ib:
 1264|  46.4k|                                    int size, bool upper = false) -> Char* {
 1265|  46.4k|  out += size;
 1266|  1.40M|  do {
 1267|  1.40M|    const char* digits = upper ? "0123456789ABCDEF" : "0123456789abcdef";
  ------------------
  |  Branch (1267:26): [True: 66.4k, False: 1.33M]
  ------------------
 1268|  1.40M|    unsigned digit = static_cast<unsigned>(value & ((1u << base_bits) - 1));
 1269|  1.40M|    *--out = static_cast<Char>(base_bits < 4 ? static_cast<char>('0' + digit)
  ------------------
  |  Branch (1269:32): [True: 1.14M, False: 256k]
  ------------------
 1270|  1.40M|                                             : digits[digit]);
 1271|  1.40M|  } while ((value >>= base_bits) != 0);
  ------------------
  |  Branch (1271:12): [True: 1.35M, False: 46.4k]
  ------------------
 1272|  46.4k|  return out;
 1273|  46.4k|}
_ZN3fmt3v126detail12count_digitsILi3EmEEiT0_:
 1105|  7.24k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1106|  7.24k|#ifdef FMT_BUILTIN_CLZ
 1107|  7.24k|  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|  7.24k|#endif
 1110|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1111|  7.24k|  return [](UInt m) {
 1112|  7.24k|    int num_digits = 0;
 1113|  7.24k|    do {
 1114|  7.24k|      ++num_digits;
 1115|  7.24k|    } while ((m >>= BITS) != 0);
 1116|  7.24k|    return num_digits;
 1117|  7.24k|  }(n);
 1118|  7.24k|}
_ZZN3fmt3v126detail12count_digitsILi3EmEEiT0_ENKUlmE_clEm:
 1111|  7.24k|  return [](UInt m) {
 1112|  7.24k|    int num_digits = 0;
 1113|   145k|    do {
 1114|   145k|      ++num_digits;
 1115|   145k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1115:14): [True: 138k, False: 7.24k]
  ------------------
 1116|  7.24k|    return num_digits;
 1117|  7.24k|  }(n);
_ZN3fmt3v126detail12count_digitsILi1EmEEiT0_:
 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_digitsILi1EmEEiT0_ENKUlmE_clEm:
 1111|  2.76k|  return [](UInt m) {
 1112|  2.76k|    int num_digits = 0;
 1113|   148k|    do {
 1114|   148k|      ++num_digits;
 1115|   148k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1115:14): [True: 146k, False: 2.76k]
  ------------------
 1116|  2.76k|    return num_digits;
 1117|  2.76k|  }(n);
_ZN3fmt3v126detail10write_charIcNS0_14basic_appenderIcEEEET0_S5_T_RKNS0_12format_specsE:
 1859|  3.04k|                              const format_specs& specs) -> OutputIt {
 1860|  3.04k|  bool is_debug = specs.type() == presentation_type::debug;
 1861|  3.04k|  return write_padded<Char>(out, specs, 1, [=](reserve_iterator<OutputIt> it) {
 1862|  3.04k|    if (is_debug) return write_escaped_char(it, value);
 1863|  3.04k|    *it++ = value;
 1864|  3.04k|    return it;
 1865|  3.04k|  });
 1866|  3.04k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEEZNS1_10write_charIcS5_EET0_S7_T_RKNS0_12format_specsEEUlS5_E_EET1_SD_SB_mOT2_:
 1709|  3.04k|                            size_t size, F&& f) -> OutputIt {
 1710|  3.04k|  return write_padded<Char, default_align>(out, specs, size, size, f);
 1711|  3.04k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEERZNS1_10write_charIcS5_EET0_S7_T_RKNS0_12format_specsEEUlS5_E_EET1_SE_SB_mmOT2_:
 1688|  3.04k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  3.04k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  3.04k|                "");
 1691|  3.04k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  3.04k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 1.63k, False: 1.40k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  3.04k|  auto* shifts =
 1696|  3.04k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [True: 3.04k, Folded]
  ------------------
 1697|  3.04k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  3.04k|  size_t right_padding = padding - left_padding;
 1699|  3.04k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  3.04k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 1.44k, False: 1.60k]
  ------------------
 1701|  3.04k|  it = f(it);
 1702|  3.04k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 1.63k, False: 1.40k]
  ------------------
 1703|  3.04k|  return base_iterator(out, it);
 1704|  3.04k|}
_ZN3fmt3v126detail7reserveIcEENS0_14basic_appenderIT_EES5_m:
  506|   120k|    -> basic_appender<T> {
  507|   120k|  buffer<T>& buf = get_container(it);
  508|   120k|  buf.try_reserve(buf.size() + n);
  509|   120k|  return it;
  510|   120k|}
_ZN3fmt3v126detail4fillIcNS0_14basic_appenderIcEEEET0_S5_mRKNS0_11basic_specsE:
 1673|  18.0k|                                     const basic_specs& specs) -> OutputIt {
 1674|  18.0k|  auto fill_size = specs.fill_size();
 1675|  18.0k|  if (fill_size == 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
  ------------------
  |  Branch (1675:7): [True: 16.7k, False: 1.27k]
  ------------------
 1676|  1.27k|  if (const Char* data = specs.fill<Char>()) {
  ------------------
  |  Branch (1676:19): [True: 1.27k, False: 0]
  ------------------
 1677|  14.0M|    for (size_t i = 0; i < n; ++i) it = copy<Char>(data, data + fill_size, it);
  ------------------
  |  Branch (1677:24): [True: 14.0M, False: 1.27k]
  ------------------
 1678|  1.27k|  }
 1679|  1.27k|  return it;
 1680|  18.0k|}
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEmcEET_S5_T0_RKT1_:
  558|  16.7k|    -> OutputIt {
  559|  4.46G|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (559:20): [True: 4.46G, False: 16.7k]
  ------------------
  560|  16.7k|  return out;
  561|  16.7k|}
_ZZN3fmt3v126detail10write_charIcNS0_14basic_appenderIcEEEET0_S5_T_RKNS0_12format_specsEENKUlS4_E_clES4_:
 1861|  3.04k|  return write_padded<Char>(out, specs, 1, [=](reserve_iterator<OutputIt> it) {
 1862|  3.04k|    if (is_debug) return write_escaped_char(it, value);
  ------------------
  |  Branch (1862:9): [True: 0, False: 3.04k]
  ------------------
 1863|  3.04k|    *it++ = value;
 1864|  3.04k|    return it;
 1865|  3.04k|  });
_ZN3fmt3v126detail12needs_escapeEj:
 1740|   300M|inline auto needs_escape(uint32_t cp) -> bool {
 1741|   300M|  if (cp < 0x20 || cp == 0x7f || cp == '"' || cp == '\\') return true;
  ------------------
  |  Branch (1741:7): [True: 164M, False: 135M]
  |  Branch (1741:20): [True: 418k, False: 135M]
  |  Branch (1741:34): [True: 5.25M, False: 130M]
  |  Branch (1741:47): [True: 249k, False: 129M]
  ------------------
 1742|   129M|  if (const_check(FMT_OPTIMIZE_SIZE > 1)) return false;
  ------------------
  |  |  290|   129M|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1742:7): [Folded, False: 129M]
  ------------------
 1743|   129M|  return !is_printable(cp);
 1744|   129M|}
_ZN3fmt3v126detail16write_escaped_cpINS0_14basic_appenderIcEEcEET_S5_RKNS1_18find_escape_resultIT0_EE:
 1790|   121M|    -> OutputIt {
 1791|   121M|  auto c = static_cast<Char>(escape.cp);
 1792|   121M|  switch (escape.cp) {
 1793|  20.6M|  case '\n':
  ------------------
  |  Branch (1793:3): [True: 20.6M, False: 100M]
  ------------------
 1794|  20.6M|    *out++ = static_cast<Char>('\\');
 1795|  20.6M|    c = static_cast<Char>('n');
 1796|  20.6M|    break;
 1797|   392k|  case '\r':
  ------------------
  |  Branch (1797:3): [True: 392k, False: 120M]
  ------------------
 1798|   392k|    *out++ = static_cast<Char>('\\');
 1799|   392k|    c = static_cast<Char>('r');
 1800|   392k|    break;
 1801|   382k|  case '\t':
  ------------------
  |  Branch (1801:3): [True: 382k, False: 120M]
  ------------------
 1802|   382k|    *out++ = static_cast<Char>('\\');
 1803|   382k|    c = static_cast<Char>('t');
 1804|   382k|    break;
 1805|  2.17M|  case '"':  FMT_FALLTHROUGH;
  ------------------
  |  |  181|  2.17M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1805:3): [True: 2.17M, False: 119M]
  ------------------
 1806|  2.17M|  case '\'': FMT_FALLTHROUGH;
  ------------------
  |  |  181|  2.17M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1806:3): [True: 0, False: 121M]
  ------------------
 1807|  2.29M|  case '\\': *out++ = static_cast<Char>('\\'); break;
  ------------------
  |  Branch (1807:3): [True: 118k, False: 121M]
  ------------------
 1808|  97.6M|  default:
  ------------------
  |  Branch (1808:3): [True: 97.6M, False: 23.7M]
  ------------------
 1809|  97.6M|    if (escape.cp < 0x100) return write_codepoint<2, Char>(out, 'x', escape.cp);
  ------------------
  |  Branch (1809:9): [True: 71.1M, False: 26.4M]
  ------------------
 1810|  26.4M|    if (escape.cp < 0x10000)
  ------------------
  |  Branch (1810:9): [True: 258k, False: 26.1M]
  ------------------
 1811|   258k|      return write_codepoint<4, Char>(out, 'u', escape.cp);
 1812|  26.1M|    if (escape.cp < 0x110000)
  ------------------
  |  Branch (1812:9): [True: 206k, False: 25.9M]
  ------------------
 1813|   206k|      return write_codepoint<8, Char>(out, 'U', escape.cp);
 1814|  25.9M|    for (Char escape_char : basic_string_view<Char>(
  ------------------
  |  Branch (1814:27): [True: 25.9M, False: 25.9M]
  ------------------
 1815|  25.9M|             escape.begin, to_unsigned(escape.end - escape.begin))) {
 1816|  25.9M|      out = write_codepoint<2, Char>(out, 'x',
 1817|  25.9M|                                     static_cast<uint32_t>(escape_char) & 0xFF);
 1818|  25.9M|    }
 1819|  25.9M|    return out;
 1820|   121M|  }
 1821|  23.7M|  *out++ = c;
 1822|  23.7M|  return out;
 1823|   121M|}
_ZN3fmt3v126detail15write_codepointILm2EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1779|  97.1M|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  97.1M|  *out++ = static_cast<Char>('\\');
 1781|  97.1M|  *out++ = static_cast<Char>(prefix);
 1782|  97.1M|  Char buf[width];
 1783|  97.1M|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  97.1M|  format_base2e(4, buf, cp, width);
 1785|  97.1M|  return copy<Char>(buf, buf + width, out);
 1786|  97.1M|}
_ZN3fmt3v126detail6fill_nIcmEEPT_S4_T0_c:
  563|   197M|FMT_CONSTEXPR20 auto fill_n(T* out, Size count, char value) -> T* {
  564|   197M|  if (is_constant_evaluated()) return fill_n<T*, Size, T>(out, count, value);
  ------------------
  |  Branch (564:7): [Folded, False: 197M]
  ------------------
  565|   197M|  static_assert(sizeof(T) == 1,
  566|   197M|                "sizeof(T) must be 1 to use char for initialization");
  567|   197M|  std::memset(out, value, to_unsigned(count));
  568|   197M|  return out + count;
  569|   197M|}
_ZN3fmt3v126detail13format_base2eIcjEEPT_iS4_T0_ib:
 1278|   197M|                                 int num_digits, bool upper = false) -> Char* {
 1279|   197M|  do_format_base2e(base_bits, out, value, num_digits, upper);
 1280|   197M|  return out + num_digits;
 1281|   197M|}
_ZN3fmt3v126detail16do_format_base2eIcjEEPT_iS4_T0_ib:
 1264|   197M|                                    int size, bool upper = false) -> Char* {
 1265|   197M|  out += size;
 1266|   266M|  do {
 1267|   266M|    const char* digits = upper ? "0123456789ABCDEF" : "0123456789abcdef";
  ------------------
  |  Branch (1267:26): [True: 0, False: 266M]
  ------------------
 1268|   266M|    unsigned digit = static_cast<unsigned>(value & ((1u << base_bits) - 1));
 1269|   266M|    *--out = static_cast<Char>(base_bits < 4 ? static_cast<char>('0' + digit)
  ------------------
  |  Branch (1269:32): [True: 0, False: 266M]
  ------------------
 1270|   266M|                                             : digits[digit]);
 1271|   266M|  } while ((value >>= base_bits) != 0);
  ------------------
  |  Branch (1271:12): [True: 68.3M, False: 197M]
  ------------------
 1272|   197M|  return out;
 1273|   197M|}
_ZN3fmt3v126detail15write_codepointILm4EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1779|   258k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|   258k|  *out++ = static_cast<Char>('\\');
 1781|   258k|  *out++ = static_cast<Char>(prefix);
 1782|   258k|  Char buf[width];
 1783|   258k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|   258k|  format_base2e(4, buf, cp, width);
 1785|   258k|  return copy<Char>(buf, buf + width, out);
 1786|   258k|}
_ZN3fmt3v126detail15write_codepointILm8EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1779|   206k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|   206k|  *out++ = static_cast<Char>('\\');
 1781|   206k|  *out++ = static_cast<Char>(prefix);
 1782|   206k|  Char buf[width];
 1783|   206k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|   206k|  format_base2e(4, buf, cp, width);
 1785|   206k|  return copy<Char>(buf, buf + width, out);
 1786|   206k|}
_ZN3fmt3v126detail13base_iteratorINS0_14basic_appenderIcEEEET_S5_S5_:
  550|   108k|constexpr auto base_iterator(Iterator, Iterator it) -> Iterator {
  551|   108k|  return it;
  552|   108k|}
_ZNK3fmt3v126detail14digit_groupingIcE16count_separatorsEi:
 1901|  18.8k|  auto count_separators(int num_digits) const -> int {
 1902|  18.8k|    int count = 0;
 1903|  18.8k|    auto state = initial_state();
 1904|  18.8k|    while (num_digits > next(state)) ++count;
  ------------------
  |  Branch (1904:12): [True: 0, False: 18.8k]
  ------------------
 1905|  18.8k|    return count;
 1906|  18.8k|  }
_ZNK3fmt3v126detail14digit_groupingIcE13initial_stateEv:
 1877|  37.6k|  auto initial_state() const -> next_state { return {grouping_.begin(), 0}; }
_ZNK3fmt3v126detail14digit_groupingIcE4nextERNS3_10next_stateE:
 1880|  37.6k|  auto next(next_state& state) const -> int {
 1881|  37.6k|    if (thousands_sep_.empty()) return max_value<int>();
  ------------------
  |  Branch (1881:9): [True: 37.6k, 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|  39.0k|template <typename T> constexpr auto max_value() -> T {
  428|  39.0k|  return (std::numeric_limits<T>::max)();
  429|  39.0k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_9write_intIS5_mcEET_S7_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EEEUlS5_E_EESD_SD_SB_mmOT2_:
 1688|  18.8k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  18.8k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  18.8k|                "");
 1691|  18.8k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  18.8k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 2.43k, False: 16.3k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  18.8k|  auto* shifts =
 1696|  18.8k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [Folded, False: 18.8k]
  ------------------
 1697|  18.8k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  18.8k|  size_t right_padding = padding - left_padding;
 1699|  18.8k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  18.8k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 552, False: 18.2k]
  ------------------
 1701|  18.8k|  it = f(it);
 1702|  18.8k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 1.88k, False: 16.9k]
  ------------------
 1703|  18.8k|  return base_iterator(out, it);
 1704|  18.8k|}
_ZZN3fmt3v126detail9write_intINS0_14basic_appenderIcEEmcEET_S5_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EEENKUlS4_E_clES4_:
 1979|  18.8k|      out, specs, size, size, [&](reserve_iterator<OutputIt> it) {
 1980|  34.7k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (1980:46): [True: 15.9k, False: 18.8k]
  ------------------
 1981|  15.9k|          *it++ = static_cast<Char>(p & 0xff);
 1982|  18.8k|        return grouping.apply(it, string_view(buffer.data(), buffer.size()));
 1983|  18.8k|      });
_ZNK3fmt3v126detail14digit_groupingIcE5applyINS0_14basic_appenderIcEEcEET_S7_NS0_17basic_string_viewIT0_EE:
 1910|  18.8k|  auto apply(Out out, basic_string_view<C> digits) const -> Out {
 1911|  18.8k|    auto num_digits = static_cast<int>(digits.size());
 1912|  18.8k|    auto separators = basic_memory_buffer<int>();
 1913|  18.8k|    separators.push_back(0);
 1914|  18.8k|    auto state = initial_state();
 1915|  18.8k|    while (int i = next(state)) {
  ------------------
  |  Branch (1915:16): [True: 18.8k, False: 0]
  ------------------
 1916|  18.8k|      if (i >= num_digits) break;
  ------------------
  |  Branch (1916:11): [True: 18.8k, False: 0]
  ------------------
 1917|      0|      separators.push_back(i);
 1918|      0|    }
 1919|  18.8k|    for (int i = 0, sep_index = static_cast<int>(separators.size() - 1);
 1920|   432k|         i < num_digits; ++i) {
  ------------------
  |  Branch (1920:10): [True: 413k, False: 18.8k]
  ------------------
 1921|   413k|      if (num_digits - i == separators[sep_index]) {
  ------------------
  |  Branch (1921:11): [True: 0, False: 413k]
  ------------------
 1922|      0|        out = copy<Char>(thousands_sep_.data(),
 1923|      0|                         thousands_sep_.data() + thousands_sep_.size(), out);
 1924|      0|        --sep_index;
 1925|      0|      }
 1926|   413k|      *out++ = static_cast<Char>(digits[to_unsigned(i)]);
 1927|   413k|    }
 1928|  18.8k|    return out;
 1929|  18.8k|  }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEEC2ERKS4_:
  840|  18.8k|      : detail::buffer<T>(grow), alloc_(alloc) {
  841|  18.8k|    this->set(store_, SIZE);
  842|  18.8k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (842:9): [Folded, False: 18.8k]
  ------------------
  843|  18.8k|  }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEED2Ev:
  844|  18.8k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEE10deallocateEv:
  805|  18.8k|  FMT_CONSTEXPR20 void deallocate() {
  806|  18.8k|    T* data = this->data();
  807|  18.8k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (807:9): [True: 0, False: 18.8k]
  ------------------
  808|  18.8k|  }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEED2Ev:
  844|  21.1k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEE10deallocateEv:
  805|  21.1k|  FMT_CONSTEXPR20 void deallocate() {
  806|  21.1k|    T* data = this->data();
  807|  21.1k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (807:9): [True: 0, False: 21.1k]
  ------------------
  808|  21.1k|  }
_ZN3fmt3v126detail14digit_groupingIcEC2ENSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEESA_:
 1897|  19.0k|      : grouping_(std::move(grouping)), thousands_sep_(std::move(sep)) {}
_ZN3fmt3v126detail10loc_writerIcEclIyTnNSt3__19enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEbS7_:
 2027|  19.0k|  auto operator()(T value) -> bool {
 2028|  19.0k|    auto arg = make_write_int_arg(value, specs.sign());
 2029|  19.0k|    write_int(out, static_cast<uint64_or_128_t<T>>(arg.abs_value), arg.prefix,
 2030|  19.0k|              specs, digit_grouping<Char>(grouping, sep));
 2031|  19.0k|    return true;
 2032|  19.0k|  }
_ZN3fmt3v126detail18make_write_int_argIyEENS1_13write_int_argINSt3__111conditionalIXaalecl8num_bitsIT_EELi32EntLi0EEjNS5_IXlecl8num_bitsIS6_EELi64EEmoE4typeEE4typeEEES6_NS0_4signE:
 2006|  74.8k|    -> write_int_arg<uint32_or_64_or_128_t<T>> {
 2007|  74.8k|  auto prefix = 0u;
 2008|  74.8k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2009|  74.8k|  if (is_negative(value)) {
  ------------------
  |  Branch (2009:7): [True: 0, False: 74.8k]
  ------------------
 2010|      0|    prefix = 0x01000000 | '-';
 2011|      0|    abs_value = 0 - abs_value;
 2012|  74.8k|  } else {
 2013|  74.8k|    constexpr unsigned prefixes[4] = {0, 0, 0x1000000u | '+', 0x1000000u | ' '};
 2014|  74.8k|    prefix = prefixes[static_cast<int>(s)];
 2015|  74.8k|  }
 2016|  74.8k|  return {abs_value, prefix};
 2017|  74.8k|}
_ZN3fmt3v126detail12size_paddingC2EijRKNS0_12format_specsE:
 2047|  32.5k|      : size((prefix >> 24) + to_unsigned(num_digits)), padding(0) {
 2048|  32.5k|    if (specs.align() == align::numeric) {
  ------------------
  |  Branch (2048:9): [True: 10.9k, False: 21.6k]
  ------------------
 2049|  10.9k|      auto width = to_unsigned(specs.width);
 2050|  10.9k|      if (width > size) {
  ------------------
  |  Branch (2050:11): [True: 1.63k, False: 9.29k]
  ------------------
 2051|  1.63k|        padding = width - size;
 2052|  1.63k|        size = width;
 2053|  1.63k|      }
 2054|  21.6k|    } else if (specs.precision > num_digits) {
  ------------------
  |  Branch (2054:16): [True: 0, False: 21.6k]
  ------------------
 2055|      0|      size = (prefix >> 24) + to_unsigned(specs.precision);
 2056|      0|      padding = to_unsigned(specs.precision - num_digits);
 2057|      0|    }
 2058|  32.5k|  }
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEjcEET_S5_T0_RKT1_:
  558|  32.5k|    -> OutputIt {
  559|  44.1k|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (559:20): [True: 11.6k, False: 32.5k]
  ------------------
  560|  32.5k|  return out;
  561|  32.5k|}
_ZN3fmt3v126detail13copy_noinlineIcPKcNS0_14basic_appenderIcEEEET1_T0_S8_S7_:
  573|   216k|                                              OutputIt out) -> OutputIt {
  574|   216k|  return copy<OutChar>(begin, end, out);
  575|   216k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclIPKcTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3660|  4.28k|  void operator()(T value) {
 3661|  4.28k|    write<Char>(out, value);
 3662|  4.28k|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_PKT_:
 3621|  4.28k|FMT_CONSTEXPR20 auto write(OutputIt out, const Char* value) -> OutputIt {
 3622|  4.28k|  if (value) return write(out, basic_string_view<Char>(value));
  ------------------
  |  Branch (3622:7): [True: 4.28k, False: 0]
  ------------------
 3623|      0|  report_error("string pointer is null");
 3624|      0|  return out;
 3625|  4.28k|}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EE:
 3583|  9.67k|    -> OutputIt {
 3584|  9.67k|  return copy_noinline<Char>(value.begin(), value.end(), out);
 3585|  9.67k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3660|  5.39k|  void operator()(T value) {
 3661|  5.39k|    write<Char>(out, value);
 3662|  5.39k|  }
_ZN3fmt3v126detail21default_arg_formatterIcEclENS0_9monostateE:
 3657|     16|  void operator()(monostate) { report_error("argument not found"); }
_ZN3fmt3v126detail14format_handlerIcE7on_textEPKcS5_:
 3764|   206k|  void on_text(const Char* begin, const Char* end) {
 3765|   206k|    copy_noinline<Char>(begin, end, ctx.out());
 3766|   206k|  }
_ZN3fmt3v126detail14format_handlerIcE20on_replacement_fieldEiPKc:
 3780|  31.5k|  FMT_INLINE void on_replacement_field(int id, const Char*) {
 3781|  31.5k|    ctx.arg(id).visit(default_arg_formatter<Char>{ctx.out()});
 3782|  31.5k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEv:
 3768|  7.63k|  FMT_CONSTEXPR auto on_arg_id() -> int { return parse_ctx.next_arg_id(); }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEi:
 3769|   145k|  FMT_CONSTEXPR auto on_arg_id(int id) -> int {
 3770|   145k|    parse_ctx.check_arg_id(id);
 3771|   145k|    return id;
 3772|   145k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idENS0_17basic_string_viewIcEE:
 3773|    240|  FMT_CONSTEXPR auto on_arg_id(basic_string_view<Char> id) -> int {
 3774|    240|    parse_ctx.check_arg_id(id);
 3775|    240|    int arg_id = ctx.arg_id(id);
 3776|    240|    if (arg_id < 0) report_error("argument not found");
  ------------------
  |  Branch (3776:9): [True: 240, False: 0]
  ------------------
 3777|    240|    return arg_id;
 3778|    240|  }
_ZN3fmt3v126detail14format_handlerIcE15on_format_specsEiPKcS5_:
 3785|   121k|      -> const Char* {
 3786|   121k|    auto arg = ctx.arg(id);
 3787|   121k|    if (!arg) report_error("argument not found");
  ------------------
  |  Branch (3787:9): [True: 88, False: 121k]
  ------------------
 3788|       |    // Not using a visitor for custom types gives better codegen.
 3789|   121k|    if (arg.format_custom(begin, parse_ctx, ctx)) return parse_ctx.begin();
  ------------------
  |  Branch (3789:9): [True: 0, False: 121k]
  ------------------
 3790|       |
 3791|   121k|    auto specs = dynamic_format_specs<Char>();
 3792|   121k|    begin = parse_format_specs(begin, end, specs, parse_ctx, arg.type());
 3793|   121k|    if (specs.dynamic()) {
  ------------------
  |  Branch (3793:9): [True: 1.42k, False: 119k]
  ------------------
 3794|  1.42k|      handle_dynamic_spec(specs.dynamic_width(), specs.width, specs.width_ref,
 3795|  1.42k|                          ctx);
 3796|  1.42k|      handle_dynamic_spec(specs.dynamic_precision(), specs.precision,
 3797|  1.42k|                          specs.precision_ref, ctx);
 3798|  1.42k|    }
 3799|       |
 3800|   121k|    arg.visit(arg_formatter<Char>{ctx.out(), specs, ctx.locale()});
 3801|   121k|    return begin;
 3802|   121k|  }
_ZN3fmt3v126detail19handle_dynamic_specINS0_7contextEEEvNS0_11arg_id_kindERiRKNS1_7arg_refINT_9char_typeEEERS7_:
 3714|  2.81k|    const arg_ref<typename Context::char_type>& ref, Context& ctx) {
 3715|  2.81k|  if (kind == arg_id_kind::none) return;
  ------------------
  |  Branch (3715:7): [True: 1.39k, False: 1.42k]
  ------------------
 3716|  1.42k|  auto arg =
 3717|  1.42k|      kind == arg_id_kind::index ? ctx.arg(ref.index) : ctx.arg(ref.name);
  ------------------
  |  Branch (3717:7): [True: 1.40k, False: 16]
  ------------------
 3718|  1.42k|  if (!arg) report_error("argument not found");
  ------------------
  |  Branch (3718:7): [True: 16, False: 1.40k]
  ------------------
 3719|  1.42k|  unsigned long long result = arg.visit(dynamic_spec_getter());
 3720|  1.42k|  if (result > to_unsigned(max_value<int>()))
  ------------------
  |  Branch (3720:7): [True: 16, False: 1.40k]
  ------------------
 3721|     16|    report_error("width/precision is out of range");
 3722|  1.42k|  value = static_cast<int>(result);
 3723|  1.42k|}
_ZN3fmt3v126detail19dynamic_spec_getterclIyTnNSt3__19enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEyS6_:
 3700|  1.40k|  FMT_CONSTEXPR auto operator()(T value) -> unsigned long long {
 3701|  1.40k|    return is_negative(value) ? ~0ull : static_cast<unsigned long long>(value);
  ------------------
  |  Branch (3701:12): [True: 0, False: 1.40k]
  ------------------
 3702|  1.40k|  }
_ZN3fmt3v126detail18write_int_noinlineIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsE:
 2129|  55.8k|    -> OutputIt {
 2130|  55.8k|  return write_int<Char>(out, arg, specs);
 2131|  55.8k|}
_ZN3fmt3v126detail9write_intIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsE:
 2063|  55.8k|                                        const format_specs& specs) -> OutputIt {
 2064|  55.8k|  static_assert(std::is_same<T, uint32_or_64_or_128_t<T>>::value, "");
 2065|       |
 2066|  55.8k|  constexpr size_t buffer_size = num_bits<T>();
 2067|  55.8k|  char buffer[buffer_size];
 2068|  55.8k|  if (is_constant_evaluated()) fill_n(buffer, buffer_size, '\0');
  ------------------
  |  Branch (2068:7): [Folded, False: 55.8k]
  ------------------
 2069|  55.8k|  const char* begin = nullptr;
 2070|  55.8k|  const char* end = buffer + buffer_size;
 2071|       |
 2072|  55.8k|  auto abs_value = arg.abs_value;
 2073|  55.8k|  auto prefix = arg.prefix;
 2074|  55.8k|  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: 55.8k]
  ------------------
 2076|  12.5k|  case presentation_type::none:
  ------------------
  |  Branch (2076:3): [True: 12.5k, False: 43.2k]
  ------------------
 2077|  21.8k|  case presentation_type::dec:
  ------------------
  |  Branch (2077:3): [True: 9.34k, False: 46.4k]
  ------------------
 2078|  21.8k|    begin = do_format_decimal(buffer, abs_value, buffer_size);
 2079|  21.8k|    break;
 2080|  10.9k|  case presentation_type::hex:
  ------------------
  |  Branch (2080:3): [True: 10.9k, False: 44.8k]
  ------------------
 2081|  10.9k|    begin = do_format_base2e(4, buffer, abs_value, buffer_size, specs.upper());
 2082|  10.9k|    if (specs.alt())
  ------------------
  |  Branch (2082:9): [True: 8.48k, False: 2.43k]
  ------------------
 2083|  8.48k|      prefix_append(prefix, unsigned(specs.upper() ? 'X' : 'x') << 8 | '0');
  ------------------
  |  Branch (2083:38): [True: 2.56k, False: 5.92k]
  ------------------
 2084|  10.9k|    break;
 2085|  8.85k|  case presentation_type::oct: {
  ------------------
  |  Branch (2085:3): [True: 8.85k, False: 46.9k]
  ------------------
 2086|  8.85k|    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|  8.85k|    auto num_digits = end - begin;
 2090|  8.85k|    if (specs.alt() && specs.precision <= num_digits && abs_value != 0)
  ------------------
  |  Branch (2090:9): [True: 4.03k, False: 4.82k]
  |  Branch (2090:24): [True: 4.03k, False: 0]
  |  Branch (2090:57): [True: 3.86k, False: 168]
  ------------------
 2091|  3.86k|      prefix_append(prefix, '0');
 2092|  8.85k|    break;
 2093|  12.5k|  }
 2094|  11.3k|  case presentation_type::bin:
  ------------------
  |  Branch (2094:3): [True: 11.3k, False: 44.5k]
  ------------------
 2095|  11.3k|    begin = do_format_base2e(1, buffer, abs_value, buffer_size);
 2096|  11.3k|    if (specs.alt())
  ------------------
  |  Branch (2096:9): [True: 5.68k, False: 5.63k]
  ------------------
 2097|  5.68k|      prefix_append(prefix, unsigned(specs.upper() ? 'B' : 'b') << 8 | '0');
  ------------------
  |  Branch (2097:38): [True: 1.28k, False: 4.40k]
  ------------------
 2098|  11.3k|    break;
 2099|  2.85k|  case presentation_type::chr:
  ------------------
  |  Branch (2099:3): [True: 2.85k, False: 52.9k]
  ------------------
 2100|  2.85k|    return write_char<Char>(out, static_cast<Char>(abs_value), specs);
 2101|  55.8k|  }
 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|  52.9k|  int num_digits = static_cast<int>(end - begin);
 2107|       |  // Slightly faster check for specs.width == 0 && specs.precision == -1.
 2108|  52.9k|  if ((specs.width | (specs.precision + 1)) == 0) {
  ------------------
  |  Branch (2108:7): [True: 20.4k, False: 32.5k]
  ------------------
 2109|  20.4k|    auto it = reserve(out, to_unsigned(num_digits) + (prefix >> 24));
 2110|  22.4k|    for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2110:42): [True: 2.07k, False: 20.4k]
  ------------------
 2111|  2.07k|      *it++ = static_cast<Char>(p & 0xff);
 2112|  20.4k|    return base_iterator(out, copy<Char>(begin, end, it));
 2113|  20.4k|  }
 2114|  32.5k|  auto sp = size_padding(num_digits, prefix, specs);
 2115|  32.5k|  unsigned padding = sp.padding;
 2116|  32.5k|  return write_padded<Char, align::right>(
 2117|  32.5k|      out, specs, sp.size, [=](reserve_iterator<OutputIt> it) {
 2118|  32.5k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
 2119|  32.5k|          *it++ = static_cast<Char>(p & 0xff);
 2120|  32.5k|        it = detail::fill_n(it, padding, static_cast<Char>('0'));
 2121|  32.5k|        return copy<Char>(begin, end, it);
 2122|  32.5k|      });
 2123|  52.9k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_9write_intIcS5_mEET0_S7_NS1_13write_int_argIT1_EERKNS0_12format_specsEEUlS5_E_EES9_S9_SD_mOT2_:
 1709|  32.5k|                            size_t size, F&& f) -> OutputIt {
 1710|  32.5k|  return write_padded<Char, default_align>(out, specs, size, size, f);
 1711|  32.5k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEERZNS1_9write_intIcS5_mEET0_S7_NS1_13write_int_argIT1_EERKNS0_12format_specsEEUlS5_E_EES9_S9_SD_mmOT2_:
 1688|  32.5k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  32.5k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  32.5k|                "");
 1691|  32.5k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  32.5k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 3.45k, False: 29.0k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  32.5k|  auto* shifts =
 1696|  32.5k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [Folded, False: 32.5k]
  ------------------
 1697|  32.5k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  32.5k|  size_t right_padding = padding - left_padding;
 1699|  32.5k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  32.5k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 2.96k, False: 29.5k]
  ------------------
 1701|  32.5k|  it = f(it);
 1702|  32.5k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 2.72k, False: 29.8k]
  ------------------
 1703|  32.5k|  return base_iterator(out, it);
 1704|  32.5k|}
_ZZN3fmt3v126detail9write_intIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsEENKUlS4_E_clES4_:
 2117|  32.5k|      out, specs, sp.size, [=](reserve_iterator<OutputIt> it) {
 2118|  62.6k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2118:46): [True: 30.1k, False: 32.5k]
  ------------------
 2119|  30.1k|          *it++ = static_cast<Char>(p & 0xff);
 2120|  32.5k|        it = detail::fill_n(it, padding, static_cast<Char>('0'));
 2121|  32.5k|        return copy<Char>(begin, end, it);
 2122|  32.5k|      });
_ZN3fmt3v126detail13arg_formatterIcEclIyTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3683|  74.8k|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 3684|  74.8k|    detail::write<Char>(out, value, specs, locale);
 3685|  74.8k|  }
_ZN3fmt3v126detail5writeIcyTnNSt3__19enable_ifIXaaaasr11is_integralIT0_EE5valuentsr3std7is_sameIS5_bEE5valuentsr3std7is_sameIS5_T_EE5valueEiE4typeELi0EEENS0_14basic_appenderIS6_EESA_S5_RKNS0_12format_specsENS0_10locale_refE:
 2139|  74.8k|    -> basic_appender<Char> {
 2140|  74.8k|  if (specs.localized() && write_loc(out, value, specs, loc)) return out;
  ------------------
  |  Branch (2140:7): [True: 19.0k, False: 55.8k]
  |  Branch (2140:28): [True: 19.0k, False: 0]
  ------------------
 2141|  55.8k|  return write_int_noinline<Char>(out, make_write_int_arg(value, specs.sign()),
 2142|  55.8k|                                  specs);
 2143|  74.8k|}
_ZN3fmt3v129loc_valueC2IyTnNSt3__19enable_ifIXntsr6detail11is_float128IT_EE5valueEiE4typeELi0EEES5_:
 3880|  19.0k|  loc_value(T value) : value_(value) {}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EERKNS0_12format_specsENS0_10locale_refE:
 2278|  45.4k|                         const format_specs& specs, locale_ref) -> OutputIt {
 2279|  45.4k|  return write<Char>(out, s, specs);
 2280|  45.4k|}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsE:
 2172|  45.4k|                         const format_specs& specs) -> OutputIt {
 2173|  45.4k|  bool is_debug = specs.type() == presentation_type::debug;
 2174|  45.4k|  if (specs.precision < 0 && specs.width == 0) {
  ------------------
  |  Branch (2174:7): [True: 35.8k, False: 9.59k]
  |  Branch (2174:30): [True: 12.1k, False: 23.6k]
  ------------------
 2175|  12.1k|    auto&& it = reserve(out, s.size());
 2176|  12.1k|    return is_debug ? write_escaped_string(it, s) : copy<char>(s, it);
  ------------------
  |  Branch (2176:12): [True: 8.90k, False: 3.26k]
  ------------------
 2177|  12.1k|  }
 2178|       |
 2179|  33.2k|  size_t display_width_limit =
 2180|  33.2k|      specs.precision < 0 ? SIZE_MAX : to_unsigned(specs.precision);
  ------------------
  |  Branch (2180:7): [True: 23.6k, False: 9.59k]
  ------------------
 2181|  33.2k|  size_t display_width =
 2182|  33.2k|      !is_debug || specs.precision == 0 ? 0 : 1;  // Account for opening '"'.
  ------------------
  |  Branch (2182:7): [True: 21.4k, False: 11.8k]
  |  Branch (2182:20): [True: 360, False: 11.4k]
  ------------------
 2183|  33.2k|  size_t size = !is_debug || specs.precision == 0 ? 0 : 1;
  ------------------
  |  Branch (2183:17): [True: 21.4k, False: 11.8k]
  |  Branch (2183:30): [True: 360, False: 11.4k]
  ------------------
 2184|  33.2k|  for_each_codepoint(s, [&](uint32_t cp, string_view sv) {
 2185|  33.2k|    if (is_debug && needs_escape(cp)) {
 2186|  33.2k|      counting_buffer<char> buf;
 2187|  33.2k|      write_escaped_cp(basic_appender<char>(buf),
 2188|  33.2k|                       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|  33.2k|      size_t cp_width = buf.count();
 2192|  33.2k|      if (display_width + cp_width <= display_width_limit) {
 2193|  33.2k|        display_width += cp_width;
 2194|  33.2k|        size += cp_width;
 2195|       |        // If this is the end of the string, account for closing '"'.
 2196|  33.2k|        if (display_width < display_width_limit && sv.end() == s.end()) {
 2197|  33.2k|          ++display_width;
 2198|  33.2k|          ++size;
 2199|  33.2k|        }
 2200|  33.2k|        return true;
 2201|  33.2k|      }
 2202|       |
 2203|  33.2k|      size += display_width_limit - display_width;
 2204|  33.2k|      display_width = display_width_limit;
 2205|  33.2k|      return false;
 2206|  33.2k|    }
 2207|       |
 2208|  33.2k|    size_t cp_width = display_width_of(cp);
 2209|  33.2k|    if (cp_width + display_width <= display_width_limit) {
 2210|  33.2k|      display_width += cp_width;
 2211|  33.2k|      size += sv.size();
 2212|       |      // If this is the end of the string, account for closing '"'.
 2213|  33.2k|      if (is_debug && display_width < display_width_limit &&
 2214|  33.2k|          sv.end() == s.end()) {
 2215|  33.2k|        ++display_width;
 2216|  33.2k|        ++size;
 2217|  33.2k|      }
 2218|  33.2k|      return true;
 2219|  33.2k|    }
 2220|       |
 2221|  33.2k|    return false;
 2222|  33.2k|  });
 2223|       |
 2224|  33.2k|  struct bounded_output_iterator {
 2225|  33.2k|    reserve_iterator<OutputIt> underlying_iterator;
 2226|  33.2k|    size_t bound;
 2227|       |
 2228|  33.2k|    FMT_CONSTEXPR auto operator*() -> bounded_output_iterator& { return *this; }
 2229|  33.2k|    FMT_CONSTEXPR auto operator++() -> bounded_output_iterator& {
 2230|  33.2k|      return *this;
 2231|  33.2k|    }
 2232|  33.2k|    FMT_CONSTEXPR auto operator++(int) -> bounded_output_iterator& {
 2233|  33.2k|      return *this;
 2234|  33.2k|    }
 2235|  33.2k|    FMT_CONSTEXPR auto operator=(char c) -> bounded_output_iterator& {
 2236|  33.2k|      if (bound > 0) {
 2237|  33.2k|        *underlying_iterator++ = c;
 2238|  33.2k|        --bound;
 2239|  33.2k|      }
 2240|  33.2k|      return *this;
 2241|  33.2k|    }
 2242|  33.2k|  };
 2243|       |
 2244|  33.2k|  return write_padded<char>(
 2245|  33.2k|      out, specs, size, display_width, [=](reserve_iterator<OutputIt> it) {
 2246|  33.2k|        return is_debug
 2247|  33.2k|                   ? write_escaped_string(bounded_output_iterator{it, size}, s)
 2248|  33.2k|                         .underlying_iterator
 2249|  33.2k|                   : copy<char>(s.data(), s.data() + size, it);
 2250|  33.2k|      });
 2251|  45.4k|}
_ZN3fmt3v126detail20write_escaped_stringIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EE:
 1827|  8.90k|    -> OutputIt {
 1828|  8.90k|  *out++ = static_cast<Char>('"');
 1829|  8.90k|  auto begin = str.begin(), end = str.end();
 1830|  54.7M|  do {
 1831|  54.7M|    auto escape = find_escape(begin, end);
 1832|  54.7M|    out = copy<Char>(begin, escape.begin, out);
 1833|  54.7M|    begin = escape.end;
 1834|  54.7M|    if (!begin) break;
  ------------------
  |  Branch (1834:9): [True: 4.21k, False: 54.7M]
  ------------------
 1835|  54.7M|    out = write_escaped_cp<OutputIt, Char>(out, escape);
 1836|  54.7M|  } while (begin != end);
  ------------------
  |  Branch (1836:12): [True: 54.7M, False: 4.68k]
  ------------------
 1837|  8.90k|  *out++ = static_cast<Char>('"');
 1838|  8.90k|  return out;
 1839|  8.90k|}
_ZN3fmt3v126detail11find_escapeEPKcS3_:
 1764|   160M|    -> find_escape_result<char> {
 1765|   160M|  if (const_check(!use_utf8)) return find_escape<char>(begin, end);
  ------------------
  |  Branch (1765:7): [Folded, False: 160M]
  ------------------
 1766|   160M|  auto result = find_escape_result<char>{end, nullptr, 0};
 1767|   160M|  for_each_codepoint(string_view(begin, to_unsigned(end - begin)),
 1768|   160M|                     [&](uint32_t cp, string_view sv) {
 1769|   160M|                       if (needs_escape(cp)) {
 1770|   160M|                         result = {sv.begin(), sv.end(), cp};
 1771|   160M|                         return false;
 1772|   160M|                       }
 1773|   160M|                       return true;
 1774|   160M|                     });
 1775|   160M|  return result;
 1776|   160M|}
_ZN3fmt3v126detail18for_each_codepointIZNS1_11find_escapeEPKcS4_EUljNS0_17basic_string_viewIcEEE_EEvS6_T_:
  636|   160M|FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
  637|   160M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|   160M|    auto cp = uint32_t();
  639|   160M|    auto error = 0;
  640|   160M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|   160M|    bool result = f(error ? invalid_code_point : cp,
  642|   160M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  643|   160M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  644|   160M|  };
  645|       |
  646|   160M|  auto p = s.data();
  647|   160M|  const size_t block_size = 4;  // utf8_decode always reads blocks of 4 chars.
  648|   160M|  if (s.size() >= block_size) {
  ------------------
  |  Branch (648:7): [True: 160M, False: 29.0k]
  ------------------
  649|   210M|    for (auto end = p + s.size() - block_size + 1; p < end;) {
  ------------------
  |  Branch (649:52): [True: 210M, False: 7.95k]
  ------------------
  650|   210M|      p = decode(p, p);
  651|   210M|      if (!p) return;
  ------------------
  |  Branch (651:11): [True: 160M, False: 49.7M]
  ------------------
  652|   210M|    }
  653|   160M|  }
  654|  37.0k|  auto num_chars_left = to_unsigned(s.data() + s.size() - p);
  655|  37.0k|  if (num_chars_left == 0) return;
  ------------------
  |  Branch (655:7): [True: 2.56k, False: 34.4k]
  ------------------
  656|       |
  657|       |  // Suppress bogus -Wstringop-overflow.
  658|  34.4k|  if (FMT_GCC_VERSION) num_chars_left &= 3;
  ------------------
  |  |   35|  34.4k|#  define FMT_GCC_VERSION 0
  |  |  ------------------
  |  |  |  Branch (35:27): [Folded, False: 34.4k]
  |  |  ------------------
  ------------------
  659|  34.4k|  char buf[2 * block_size - 1] = {};
  660|  34.4k|  copy<char>(p, p + num_chars_left, buf);
  661|  34.4k|  const char* buf_ptr = buf;
  662|  50.7k|  do {
  663|  50.7k|    auto end = decode(buf_ptr, p);
  664|  50.7k|    if (!end) return;
  ------------------
  |  Branch (664:9): [True: 27.1k, False: 23.5k]
  ------------------
  665|  23.5k|    p += end - buf_ptr;
  666|  23.5k|    buf_ptr = end;
  667|  23.5k|  } while (buf_ptr < buf + num_chars_left);
  ------------------
  |  Branch (667:12): [True: 16.2k, False: 7.29k]
  ------------------
  668|  34.4k|}
_ZZN3fmt3v126detail18for_each_codepointIZNS1_11find_escapeEPKcS4_EUljNS0_17basic_string_viewIcEEE_EEvS6_T_ENKUlS4_S4_E_clES4_S4_:
  637|   210M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|   210M|    auto cp = uint32_t();
  639|   210M|    auto error = 0;
  640|   210M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|   210M|    bool result = f(error ? invalid_code_point : cp,
  ------------------
  |  Branch (641:21): [True: 36.8M, False: 173M]
  ------------------
  642|   210M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  ------------------
  |  Branch (642:38): [True: 36.8M, False: 173M]
  ------------------
  643|   210M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  ------------------
  |  Branch (643:12): [True: 49.7M, False: 160M]
  |  Branch (643:22): [True: 0, False: 49.7M]
  ------------------
  644|   210M|  };
_ZN3fmt3v126detail11utf8_decodeEPKcPjPi:
  595|   376M|    -> const char* {
  596|   376M|  constexpr int masks[] = {0x00, 0x7f, 0x1f, 0x0f, 0x07};
  597|   376M|  constexpr uint32_t mins[] = {4194304, 0, 128, 2048, 65536};
  598|   376M|  constexpr int shiftc[] = {0, 18, 12, 6, 0};
  599|   376M|  constexpr int shifte[] = {0, 6, 4, 2, 0};
  600|       |
  601|   376M|  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|   376M|      [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|   376M|  const char* next = s + len + !len;
  607|       |
  608|   376M|  using uchar = unsigned char;
  609|       |
  610|       |  // Assume a four-byte character and load four bytes. Unused bits are
  611|       |  // shifted out.
  612|   376M|  *c = uint32_t(uchar(s[0]) & masks[len]) << 18;
  613|   376M|  *c |= uint32_t(uchar(s[1]) & 0x3f) << 12;
  614|   376M|  *c |= uint32_t(uchar(s[2]) & 0x3f) << 6;
  615|   376M|  *c |= uint32_t(uchar(s[3]) & 0x3f) << 0;
  616|   376M|  *c >>= shiftc[len];
  617|       |
  618|       |  // Accumulate the various error conditions.
  619|   376M|  *e = (*c < mins[len]) << 6;       // non-canonical encoding
  620|   376M|  *e |= ((*c >> 11) == 0x1b) << 7;  // surrogate half?
  621|   376M|  *e |= (*c > 0x10FFFF) << 8;       // out of range?
  622|   376M|  *e |= (uchar(s[1]) & 0xc0) >> 2;
  623|   376M|  *e |= (uchar(s[2]) & 0xc0) >> 4;
  624|   376M|  *e |= uchar(s[3]) >> 6;
  625|   376M|  *e ^= 0x2a;  // top two bits of each tail byte correct?
  626|   376M|  *e >>= shifte[len];
  627|       |
  628|   376M|  return next;
  629|   376M|}
_ZZN3fmt3v126detail11find_escapeEPKcS3_ENKUljNS0_17basic_string_viewIcEEE_clEjS5_:
 1768|   210M|                     [&](uint32_t cp, string_view sv) {
 1769|   210M|                       if (needs_escape(cp)) {
  ------------------
  |  Branch (1769:28): [True: 160M, False: 49.7M]
  ------------------
 1770|   160M|                         result = {sv.begin(), sv.end(), cp};
 1771|   160M|                         return false;
 1772|   160M|                       }
 1773|  49.7M|                       return true;
 1774|   210M|                     });
_ZN3fmt3v126detail18for_each_codepointIZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEEUljNSC_IcEEE_EEvSH_S8_:
  636|  33.2k|FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
  637|  33.2k|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|  33.2k|    auto cp = uint32_t();
  639|  33.2k|    auto error = 0;
  640|  33.2k|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|  33.2k|    bool result = f(error ? invalid_code_point : cp,
  642|  33.2k|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  643|  33.2k|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  644|  33.2k|  };
  645|       |
  646|  33.2k|  auto p = s.data();
  647|  33.2k|  const size_t block_size = 4;  // utf8_decode always reads blocks of 4 chars.
  648|  33.2k|  if (s.size() >= block_size) {
  ------------------
  |  Branch (648:7): [True: 28.9k, False: 4.38k]
  ------------------
  649|   166M|    for (auto end = p + s.size() - block_size + 1; p < end;) {
  ------------------
  |  Branch (649:52): [True: 166M, False: 21.6k]
  ------------------
  650|   166M|      p = decode(p, p);
  651|   166M|      if (!p) return;
  ------------------
  |  Branch (651:11): [True: 7.21k, False: 166M]
  ------------------
  652|   166M|    }
  653|  28.9k|  }
  654|  26.0k|  auto num_chars_left = to_unsigned(s.data() + s.size() - p);
  655|  26.0k|  if (num_chars_left == 0) return;
  ------------------
  |  Branch (655:7): [True: 1.29k, False: 24.7k]
  ------------------
  656|       |
  657|       |  // Suppress bogus -Wstringop-overflow.
  658|  24.7k|  if (FMT_GCC_VERSION) num_chars_left &= 3;
  ------------------
  |  |   35|  24.7k|#  define FMT_GCC_VERSION 0
  |  |  ------------------
  |  |  |  Branch (35:27): [Folded, False: 24.7k]
  |  |  ------------------
  ------------------
  659|  24.7k|  char buf[2 * block_size - 1] = {};
  660|  24.7k|  copy<char>(p, p + num_chars_left, buf);
  661|  24.7k|  const char* buf_ptr = buf;
  662|  63.8k|  do {
  663|  63.8k|    auto end = decode(buf_ptr, p);
  664|  63.8k|    if (!end) return;
  ------------------
  |  Branch (664:9): [True: 1.84k, False: 61.9k]
  ------------------
  665|  61.9k|    p += end - buf_ptr;
  666|  61.9k|    buf_ptr = end;
  667|  61.9k|  } while (buf_ptr < buf + num_chars_left);
  ------------------
  |  Branch (667:12): [True: 39.0k, False: 22.9k]
  ------------------
  668|  24.7k|}
_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|   166M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|   166M|    auto cp = uint32_t();
  639|   166M|    auto error = 0;
  640|   166M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|   166M|    bool result = f(error ? invalid_code_point : cp,
  ------------------
  |  Branch (641:21): [True: 25.7M, False: 140M]
  ------------------
  642|   166M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  ------------------
  |  Branch (642:38): [True: 25.7M, False: 140M]
  ------------------
  643|   166M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  ------------------
  |  Branch (643:12): [True: 166M, False: 9.06k]
  |  Branch (643:22): [True: 25.7M, False: 140M]
  ------------------
  644|   166M|  };
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEENKUljNSB_IcEEE_clEjSG_:
 2184|   166M|  for_each_codepoint(s, [&](uint32_t cp, string_view sv) {
 2185|   166M|    if (is_debug && needs_escape(cp)) {
  ------------------
  |  Branch (2185:9): [True: 90.1M, False: 76.5M]
  |  Branch (2185:21): [True: 66.5M, False: 23.5M]
  ------------------
 2186|  66.5M|      counting_buffer<char> buf;
 2187|  66.5M|      write_escaped_cp(basic_appender<char>(buf),
 2188|  66.5M|                       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|  66.5M|      size_t cp_width = buf.count();
 2192|  66.5M|      if (display_width + cp_width <= display_width_limit) {
  ------------------
  |  Branch (2192:11): [True: 66.5M, False: 3.29k]
  ------------------
 2193|  66.5M|        display_width += cp_width;
 2194|  66.5M|        size += cp_width;
 2195|       |        // If this is the end of the string, account for closing '"'.
 2196|  66.5M|        if (display_width < display_width_limit && sv.end() == s.end()) {
  ------------------
  |  Branch (2196:13): [True: 66.5M, False: 400]
  |  Branch (2196:52): [True: 4.44k, False: 66.5M]
  ------------------
 2197|  4.44k|          ++display_width;
 2198|  4.44k|          ++size;
 2199|  4.44k|        }
 2200|  66.5M|        return true;
 2201|  66.5M|      }
 2202|       |
 2203|  3.29k|      size += display_width_limit - display_width;
 2204|  3.29k|      display_width = display_width_limit;
 2205|  3.29k|      return false;
 2206|  66.5M|    }
 2207|       |
 2208|   100M|    size_t cp_width = display_width_of(cp);
 2209|   100M|    if (cp_width + display_width <= display_width_limit) {
  ------------------
  |  Branch (2209:9): [True: 100M, False: 5.76k]
  ------------------
 2210|   100M|      display_width += cp_width;
 2211|   100M|      size += sv.size();
 2212|       |      // If this is the end of the string, account for closing '"'.
 2213|   100M|      if (is_debug && display_width < display_width_limit &&
  ------------------
  |  Branch (2213:11): [True: 23.5M, False: 76.5M]
  |  Branch (2213:23): [True: 23.5M, False: 312]
  ------------------
 2214|  23.5M|          sv.end() == s.end()) {
  ------------------
  |  Branch (2214:11): [True: 3.08k, False: 23.5M]
  ------------------
 2215|  3.08k|        ++display_width;
 2216|  3.08k|        ++size;
 2217|  3.08k|      }
 2218|   100M|      return true;
 2219|   100M|    }
 2220|       |
 2221|  5.76k|    return false;
 2222|   100M|  });
_ZN3fmt3v126detail16display_width_ofEj:
  670|   100M|FMT_CONSTEXPR inline auto display_width_of(uint32_t cp) noexcept -> size_t {
  671|   100M|  return to_unsigned(
  672|   100M|      1 + (cp >= 0x1100 &&
  ------------------
  |  Branch (672:12): [True: 7.16M, False: 92.9M]
  ------------------
  673|  7.16M|           (cp <= 0x115f ||  // Hangul Jamo init. consonants
  ------------------
  |  Branch (673:13): [True: 4.74k, False: 7.15M]
  ------------------
  674|  7.15M|            cp == 0x2329 ||  // LEFT-POINTING ANGLE BRACKET
  ------------------
  |  Branch (674:13): [True: 856, False: 7.15M]
  ------------------
  675|  7.15M|            cp == 0x232a ||  // RIGHT-POINTING ANGLE BRACKET
  ------------------
  |  Branch (675:13): [True: 184, False: 7.15M]
  ------------------
  676|       |            // CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE:
  677|  7.15M|            (cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) ||
  ------------------
  |  Branch (677:14): [True: 7.15M, False: 2.33k]
  |  Branch (677:30): [True: 16.9k, False: 7.13M]
  |  Branch (677:46): [True: 11.1k, False: 5.80k]
  ------------------
  678|  7.14M|            (cp >= 0xac00 && cp <= 0xd7a3) ||    // Hangul Syllables
  ------------------
  |  Branch (678:14): [True: 7.12M, False: 17.5k]
  |  Branch (678:30): [True: 11.5k, False: 7.11M]
  ------------------
  679|  7.13M|            (cp >= 0xf900 && cp <= 0xfaff) ||    // CJK Compatibility Ideographs
  ------------------
  |  Branch (679:14): [True: 7.10M, False: 26.0k]
  |  Branch (679:30): [True: 2.32k, False: 7.10M]
  ------------------
  680|  7.13M|            (cp >= 0xfe10 && cp <= 0xfe19) ||    // Vertical Forms
  ------------------
  |  Branch (680:14): [True: 7.10M, False: 29.3k]
  |  Branch (680:30): [True: 2.13k, False: 7.10M]
  ------------------
  681|  7.13M|            (cp >= 0xfe30 && cp <= 0xfe6f) ||    // CJK Compatibility Forms
  ------------------
  |  Branch (681:14): [True: 7.10M, False: 29.3k]
  |  Branch (681:30): [True: 8.02k, False: 7.09M]
  ------------------
  682|  7.12M|            (cp >= 0xff00 && cp <= 0xff60) ||    // Fullwidth Forms
  ------------------
  |  Branch (682:14): [True: 7.09M, False: 29.3k]
  |  Branch (682:30): [True: 8.83k, False: 7.08M]
  ------------------
  683|  7.11M|            (cp >= 0xffe0 && cp <= 0xffe6) ||    // Fullwidth Forms
  ------------------
  |  Branch (683:14): [True: 7.08M, False: 30.1k]
  |  Branch (683:30): [True: 14.8k, False: 7.06M]
  ------------------
  684|  7.09M|            (cp >= 0x20000 && cp <= 0x2fffd) ||  // CJK
  ------------------
  |  Branch (684:14): [True: 7.03M, False: 65.4k]
  |  Branch (684:31): [True: 14.6k, False: 7.01M]
  ------------------
  685|  7.08M|            (cp >= 0x30000 && cp <= 0x3fffd) ||
  ------------------
  |  Branch (685:14): [True: 7.01M, False: 65.4k]
  |  Branch (685:31): [True: 3.06k, False: 7.01M]
  ------------------
  686|       |            // Miscellaneous Symbols and Pictographs + Emoticons:
  687|  7.08M|            (cp >= 0x1f300 && cp <= 0x1f64f) ||
  ------------------
  |  Branch (687:14): [True: 7.03M, False: 43.1k]
  |  Branch (687:31): [True: 7.66k, False: 7.03M]
  ------------------
  688|       |            // Supplemental Symbols and Pictographs:
  689|  7.07M|            (cp >= 0x1f900 && cp <= 0x1f9ff))));
  ------------------
  |  Branch (689:14): [True: 7.02M, False: 50.5k]
  |  Branch (689:31): [True: 7.03k, False: 7.01M]
  ------------------
  690|   100M|}
_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|  33.2k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  33.2k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  33.2k|                "");
 1691|  33.2k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  33.2k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 6.24k, False: 27.0k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  33.2k|  auto* shifts =
 1696|  33.2k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [True: 33.2k, Folded]
  ------------------
 1697|  33.2k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  33.2k|  size_t right_padding = padding - left_padding;
 1699|  33.2k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  33.2k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 1.27k, False: 32.0k]
  ------------------
 1701|  33.2k|  it = f(it);
 1702|  33.2k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 5.54k, False: 27.7k]
  ------------------
 1703|  33.2k|  return base_iterator(out, it);
 1704|  33.2k|}
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEENKUlS4_E_clES4_:
 2245|  33.2k|      out, specs, size, display_width, [=](reserve_iterator<OutputIt> it) {
 2246|  33.2k|        return is_debug
  ------------------
  |  Branch (2246:16): [True: 11.8k, False: 21.4k]
  ------------------
 2247|  33.2k|                   ? write_escaped_string(bounded_output_iterator{it, size}, s)
 2248|  11.8k|                         .underlying_iterator
 2249|  33.2k|                   : copy<char>(s.data(), s.data() + size, it);
 2250|  33.2k|      });
_ZN3fmt3v126detail20write_escaped_stringIcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEESB_SB_SD_:
 1827|  11.8k|    -> OutputIt {
 1828|  11.8k|  *out++ = static_cast<Char>('"');
 1829|  11.8k|  auto begin = str.begin(), end = str.end();
 1830|   105M|  do {
 1831|   105M|    auto escape = find_escape(begin, end);
 1832|   105M|    out = copy<Char>(begin, escape.begin, out);
 1833|   105M|    begin = escape.end;
 1834|   105M|    if (!begin) break;
  ------------------
  |  Branch (1834:9): [True: 5.64k, False: 105M]
  ------------------
 1835|   105M|    out = write_escaped_cp<OutputIt, Char>(out, escape);
 1836|   105M|  } while (begin != end);
  ------------------
  |  Branch (1836:12): [True: 105M, False: 6.20k]
  ------------------
 1837|  11.8k|  *out++ = static_cast<Char>('"');
 1838|  11.8k|  return out;
 1839|  11.8k|}
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratorppEi:
 2232|   443M|    FMT_CONSTEXPR auto operator++(int) -> bounded_output_iterator& {
 2233|   443M|      return *this;
 2234|   443M|    }
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratordeEv:
 2228|   443M|    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|   443M|    FMT_CONSTEXPR auto operator=(char c) -> bounded_output_iterator& {
 2236|   443M|      if (bound > 0) {
  ------------------
  |  Branch (2236:11): [True: 284M, False: 159M]
  ------------------
 2237|   284M|        *underlying_iterator++ = c;
 2238|   284M|        --bound;
 2239|   284M|      }
 2240|   443M|      return *this;
 2241|   443M|    }
_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|   105M|    -> OutputIt {
 1791|   105M|  auto c = static_cast<Char>(escape.cp);
 1792|   105M|  switch (escape.cp) {
 1793|  1.70M|  case '\n':
  ------------------
  |  Branch (1793:3): [True: 1.70M, False: 103M]
  ------------------
 1794|  1.70M|    *out++ = static_cast<Char>('\\');
 1795|  1.70M|    c = static_cast<Char>('n');
 1796|  1.70M|    break;
 1797|   518k|  case '\r':
  ------------------
  |  Branch (1797:3): [True: 518k, False: 105M]
  ------------------
 1798|   518k|    *out++ = static_cast<Char>('\\');
 1799|   518k|    c = static_cast<Char>('r');
 1800|   518k|    break;
 1801|   159k|  case '\t':
  ------------------
  |  Branch (1801:3): [True: 159k, False: 105M]
  ------------------
 1802|   159k|    *out++ = static_cast<Char>('\\');
 1803|   159k|    c = static_cast<Char>('t');
 1804|   159k|    break;
 1805|  3.08M|  case '"':  FMT_FALLTHROUGH;
  ------------------
  |  |  181|  3.08M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1805:3): [True: 3.08M, False: 102M]
  ------------------
 1806|  3.08M|  case '\'': FMT_FALLTHROUGH;
  ------------------
  |  |  181|  3.08M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1806:3): [True: 0, False: 105M]
  ------------------
 1807|  3.21M|  case '\\': *out++ = static_cast<Char>('\\'); break;
  ------------------
  |  Branch (1807:3): [True: 130k, False: 105M]
  ------------------
 1808|   100M|  default:
  ------------------
  |  Branch (1808:3): [True: 100M, False: 5.59M]
  ------------------
 1809|   100M|    if (escape.cp < 0x100) return write_codepoint<2, Char>(out, 'x', escape.cp);
  ------------------
  |  Branch (1809:9): [True: 69.8M, False: 30.2M]
  ------------------
 1810|  30.2M|    if (escape.cp < 0x10000)
  ------------------
  |  Branch (1810:9): [True: 335k, False: 29.8M]
  ------------------
 1811|   335k|      return write_codepoint<4, Char>(out, 'u', escape.cp);
 1812|  29.8M|    if (escape.cp < 0x110000)
  ------------------
  |  Branch (1812:9): [True: 231k, False: 29.6M]
  ------------------
 1813|   231k|      return write_codepoint<8, Char>(out, 'U', escape.cp);
 1814|  29.6M|    for (Char escape_char : basic_string_view<Char>(
  ------------------
  |  Branch (1814:27): [True: 29.6M, False: 29.6M]
  ------------------
 1815|  29.6M|             escape.begin, to_unsigned(escape.end - escape.begin))) {
 1816|  29.6M|      out = write_codepoint<2, Char>(out, 'x',
 1817|  29.6M|                                     static_cast<uint32_t>(escape_char) & 0xFF);
 1818|  29.6M|    }
 1819|  29.6M|    return out;
 1820|   105M|  }
 1821|  5.59M|  *out++ = c;
 1822|  5.59M|  return out;
 1823|   105M|}
_ZN3fmt3v126detail15write_codepointILm2EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1779|  99.4M|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  99.4M|  *out++ = static_cast<Char>('\\');
 1781|  99.4M|  *out++ = static_cast<Char>(prefix);
 1782|  99.4M|  Char buf[width];
 1783|  99.4M|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  99.4M|  format_base2e(4, buf, cp, width);
 1785|  99.4M|  return copy<Char>(buf, buf + width, out);
 1786|  99.4M|}
_ZN3fmt3v126detail15write_codepointILm4EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1779|   335k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|   335k|  *out++ = static_cast<Char>('\\');
 1781|   335k|  *out++ = static_cast<Char>(prefix);
 1782|   335k|  Char buf[width];
 1783|   335k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|   335k|  format_base2e(4, buf, cp, width);
 1785|   335k|  return copy<Char>(buf, buf + width, out);
 1786|   335k|}
_ZN3fmt3v126detail15write_codepointILm8EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1779|   231k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|   231k|  *out++ = static_cast<Char>('\\');
 1781|   231k|  *out++ = static_cast<Char>(prefix);
 1782|   231k|  Char buf[width];
 1783|   231k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|   231k|  format_base2e(4, buf, cp, width);
 1785|   231k|  return copy<Char>(buf, buf + width, out);
 1786|   231k|}
_ZN3fmt3v126detail13arg_formatterIcEclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3683|  45.4k|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 3684|  45.4k|    detail::write<Char>(out, value, specs, locale);
 3685|  45.4k|  }
_ZN3fmt3v126detail14format_handlerIcE8on_errorEPKc:
 3804|  1.85k|  FMT_NORETURN void on_error(const char* message) { report_error(message); }
_ZN3fmt3v129to_stringILm500EEENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERKNS0_19basic_memory_bufferIcXT_ENS0_6detail9allocatorIcEEEE:
  923|  2.14k|    -> std::string {
  924|  2.14k|  auto size = buf.size();
  925|  2.14k|  detail::assume(size < std::string().max_size());
  926|  2.14k|  return {buf.data(), size};
  927|  2.14k|}
_ZN3fmt3v126detail22compile_string_to_viewIcLm12EEENS0_17basic_string_viewIT_EERAT0__KS4_:
  997|  4.28k|    -> 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|  4.28k|  return {s, N - (std::char_traits<Char>::to_int_type(s[N - 1]) == 0 ? 1 : 0)};
  ------------------
  |  Branch (1000:19): [True: 4.28k, False: 0]
  ------------------
 1001|  4.28k|}
_ZN3fmt3v126formatIJPKcRS3_RiEEENSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEENS0_7fstringIJDpT_EE1tEDpOSE_:
 4348|  2.14k|    -> std::string {
 4349|  2.14k|  return vformat(fmt.str, vargs<T...>{{args...}});
 4350|  2.14k|}
_ZZN6spdlog6logger4log_IJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v1217basic_string_viewIcEEDpOT_ENKUlvE_clEv:
 4226|  2.14k|    [] {                                                                     \
 4227|  2.14k|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
 4228|  2.14k|      /* Use a macro-like name to avoid shadowing warnings. */               \
 4229|  2.14k|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
 4230|  2.14k|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
 4231|  2.14k|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
 4232|  2.14k|            const {                                                          \
 4233|  2.14k|          return fmt::detail::compile_string_to_view<char_type>(s);          \
 4234|  2.14k|        }                                                                    \
 4235|  2.14k|      };                                                                     \
 4236|  2.14k|      using FMT_STRING_VIEW =                                                \
 4237|  2.14k|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
 4238|  2.14k|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
 4239|  2.14k|      return FMT_COMPILE_STRING();                                           \
 4240|  2.14k|    }()
_ZZZN6spdlog6logger4log_IJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v1217basic_string_viewIcEEDpOT_ENKUlvE_clEvENK18FMT_COMPILE_STRINGcvSJ_Ev:
 4232|  4.28k|            const {                                                          \
 4233|  4.28k|          return fmt::detail::compile_string_to_view<char_type>(s);          \
 4234|  4.28k|        }                                                                    \

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

_ZNK6spdlog6logger4nameEv:
   68|     88|SPDLOG_INLINE const std::string &logger::name() const { return name_; }
_ZN6spdlog6logger8sink_it_ERKNS_7details7log_msgE:
  135|  1.80k|SPDLOG_INLINE void logger::sink_it_(const details::log_msg &msg) {
  136|  1.80k|    for (auto &sink : sinks_) {
  ------------------
  |  Branch (136:21): [True: 1.80k, False: 1.80k]
  ------------------
  137|  1.80k|        if (sink->should_log(msg.level)) {
  ------------------
  |  Branch (137:13): [True: 1.80k, False: 0]
  ------------------
  138|  1.80k|            SPDLOG_TRY { sink->log(msg); }
  ------------------
  |  |  116|  1.80k|#define SPDLOG_TRY try
  ------------------
  139|  1.80k|            SPDLOG_LOGGER_CATCH(msg.source)
  ------------------
  |  |   32|  1.80k|    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|  1.80k|    catch (...) {                                                                     \
  |  |   41|      0|        err_handler_("Rethrowing unknown exception in logger");                       \
  |  |   42|      0|        throw;                                                                        \
  |  |   43|      0|    }
  ------------------
  140|  1.80k|        }
  141|  1.80k|    }
  142|       |
  143|  1.80k|    if (should_flush_(msg)) {
  ------------------
  |  Branch (143:9): [True: 0, False: 1.80k]
  ------------------
  144|      0|        flush_();
  145|      0|    }
  146|  1.80k|}
_ZNK6spdlog6logger12err_handler_ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  170|  4.28k|SPDLOG_INLINE void logger::err_handler_(const std::string &msg) const {
  171|  4.28k|    if (custom_err_handler_) {
  ------------------
  |  Branch (171:9): [True: 0, False: 4.28k]
  ------------------
  172|      0|        custom_err_handler_(msg);
  173|  4.28k|    } else {
  174|  4.28k|        using std::chrono::system_clock;
  175|  4.28k|        static std::mutex mutex;
  176|  4.28k|        static std::chrono::system_clock::time_point last_report_time;
  177|  4.28k|        static size_t err_counter = 0;
  178|  4.28k|        std::lock_guard<std::mutex> lk{mutex};
  179|  4.28k|        auto now = system_clock::now();
  180|  4.28k|        err_counter++;
  181|  4.28k|        if (now - last_report_time < std::chrono::seconds(1)) {
  ------------------
  |  Branch (181:13): [True: 4.19k, False: 85]
  ------------------
  182|  4.19k|            return;
  183|  4.19k|        }
  184|     85|        last_report_time = now;
  185|     85|        auto tm_time = details::os::localtime(system_clock::to_time_t(now));
  186|     85|        char date_buf[64];
  187|     85|        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|     85|                     name().c_str(), msg.c_str());
  194|     85|#endif
  195|     85|    }
  196|  4.28k|}
_ZNK6spdlog6logger13should_flush_ERKNS_7details7log_msgE:
  166|  1.80k|SPDLOG_INLINE bool logger::should_flush_(const details::log_msg &msg) const {
  167|  1.80k|    return (msg.level >= flush_level()) && (msg.level != level::off);
  ------------------
  |  Branch (167:12): [True: 0, False: 1.80k]
  |  Branch (167:44): [True: 0, False: 0]
  ------------------
  168|  1.80k|}
_ZNK6spdlog6logger11flush_levelEv:
  102|  1.80k|SPDLOG_INLINE level::level_enum logger::flush_level() const {
  103|  1.80k|    return static_cast<level::level_enum>(flush_level_.load(std::memory_order_relaxed));
  104|  1.80k|}
_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|  1.80k|                                   bool traceback_enabled) {
  127|  1.80k|    if (log_enabled) {
  ------------------
  |  Branch (127:9): [True: 1.80k, False: 0]
  ------------------
  128|  1.80k|        sink_it_(log_msg);
  129|  1.80k|    }
  130|  1.80k|    if (traceback_enabled) {
  ------------------
  |  Branch (130:9): [True: 0, False: 1.80k]
  ------------------
  131|      0|        tracer_.push_back(log_msg);
  132|      0|    }
  133|  1.80k|}

_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|    760|    void info(format_string_t<Args...> fmt, Args &&...args) {
  144|    760|        log(level::info, fmt, std::forward<Args>(args)...);
  145|    760|    }
_ZN6spdlog6logger3logIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_5level10level_enumEN3fmt3v127fstringIJDpT_EE1tEDpOSI_:
   88|  4.56k|    void log(level::level_enum lvl, format_string_t<Args...> fmt, Args &&...args) {
   89|  4.56k|        log(source_loc{}, lvl, fmt, std::forward<Args>(args)...);
   90|  4.56k|    }
_ZN6spdlog6logger5traceIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSG_:
  133|    760|    void trace(format_string_t<Args...> fmt, Args &&...args) {
  134|    760|        log(level::trace, fmt, std::forward<Args>(args)...);
  135|    760|    }
_ZN6spdlog6logger5debugIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSG_:
  138|    760|    void debug(format_string_t<Args...> fmt, Args &&...args) {
  139|    760|        log(level::debug, fmt, std::forward<Args>(args)...);
  140|    760|    }
_ZN6spdlog6logger5errorIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSG_:
  153|    760|    void error(format_string_t<Args...> fmt, Args &&...args) {
  154|    760|        log(level::err, fmt, std::forward<Args>(args)...);
  155|    760|    }
_ZN6spdlog6logger4warnIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSG_:
  148|    760|    void warn(format_string_t<Args...> fmt, Args &&...args) {
  149|    760|        log(level::warn, fmt, std::forward<Args>(args)...);
  150|    760|    }
_ZN6spdlog6logger8criticalIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSG_:
  158|    760|    void critical(format_string_t<Args...> fmt, Args &&...args) {
  159|    760|        log(level::critical, fmt, std::forward<Args>(args)...);
  160|    760|    }
_ZN6spdlog6logger3logIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v127fstringIJDpT_EE1tEDpOSJ_:
   79|  7.60k|    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|  7.60k|        log_(loc, lvl, fmt.get(), std::forward<Args>(args)...);
   84|  7.60k|#endif
   85|  7.60k|    }
_ZN6spdlog6logger4log_IJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v1217basic_string_viewIcEEDpOT_:
  325|  7.60k|    void log_(source_loc loc, level::level_enum lvl, string_view_t fmt, Args &&...args) {
  326|  7.60k|        bool log_enabled = should_log(lvl);
  327|  7.60k|        bool traceback_enabled = tracer_.enabled();
  328|  7.60k|        if (!log_enabled && !traceback_enabled) {
  ------------------
  |  Branch (328:13): [True: 1.52k, False: 6.08k]
  |  Branch (328:29): [True: 1.52k, False: 0]
  ------------------
  329|  1.52k|            return;
  330|  1.52k|        }
  331|  6.08k|        SPDLOG_TRY {
  ------------------
  |  |  116|  6.08k|#define SPDLOG_TRY try
  ------------------
  332|  6.08k|            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|  6.08k|            fmt::vformat_to(fmt::appender(buf), fmt, fmt::make_format_args(args...));
  337|  6.08k|#endif
  338|       |
  339|  6.08k|            details::log_msg log_msg(loc, name_, lvl, string_view_t(buf.data(), buf.size()));
  340|  6.08k|            log_it_(log_msg, log_enabled, traceback_enabled);
  341|  6.08k|        }
  342|  6.08k|        SPDLOG_LOGGER_CATCH(loc)
  ------------------
  |  |   32|  6.08k|    catch (const std::exception &ex) {                                                \
  |  |   33|  4.28k|        if (location.filename) {                                                      \
  |  |  ------------------
  |  |  |  Branch (33:13): [True: 2.14k, False: 2.14k]
  |  |  ------------------
  |  |   34|  2.14k|            err_handler_(fmt_lib::format(SPDLOG_FMT_STRING("{} [{}({})]"), ex.what(), \
  |  |  ------------------
  |  |  |  |   55|  2.14k|#define SPDLOG_FMT_STRING(format_string) FMT_STRING(format_string)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4251|  2.14k|#define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4226|  2.14k|    [] {                                                                     \
  |  |  |  |  |  |  |  | 4227|  2.14k|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  |  |  | 4228|  2.14k|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  |  |  | 4229|  2.14k|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  |  |  | 4230|  2.14k|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  |  |  | 4231|  2.14k|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  |  |  | 4232|  2.14k|            const {                                                          \
  |  |  |  |  |  |  |  | 4233|  2.14k|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  |  |  | 4234|  2.14k|        }                                                                    \
  |  |  |  |  |  |  |  | 4235|  2.14k|      };                                                                     \
  |  |  |  |  |  |  |  | 4236|  2.14k|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  |  |  | 4237|  2.14k|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  |  |  | 4238|  2.14k|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  |  |  | 4239|  2.14k|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  |  |  | 4240|  2.14k|    }()
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   35|  2.14k|                                         location.filename, location.line));          \
  |  |   36|  2.14k|        } else {                                                                      \
  |  |   37|  2.14k|            err_handler_(ex.what());                                                  \
  |  |   38|  2.14k|        }                                                                             \
  |  |   39|  4.28k|    }                                                                                 \
  |  |   40|  6.08k|    catch (...) {                                                                     \
  |  |   41|      0|        err_handler_("Rethrowing unknown exception in logger");                       \
  |  |   42|      0|        throw;                                                                        \
  |  |   43|      0|    }
  ------------------
  343|  6.08k|    }
_ZNK6spdlog6logger10should_logENS_5level10level_enumE:
  270|  7.60k|    bool should_log(level::level_enum msg_level) const {
  271|  7.60k|        return msg_level >= level_.load(std::memory_order_relaxed);
  272|  7.60k|    }

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

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

_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<spdlog::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:
   18|      1|    : formatter_{details::make_unique<spdlog::pattern_formatter>()} {}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE3logERKNS_7details7log_msgE:
   26|  1.80k|void SPDLOG_INLINE spdlog::sinks::base_sink<Mutex>::log(const details::log_msg &msg) {
   27|  1.80k|    std::lock_guard<Mutex> lock(mutex_);
   28|  1.80k|    sink_it_(msg);
   29|  1.80k|}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE13set_formatterENS2_10unique_ptrINS_9formatterENS2_14default_deleteIS6_EEEE:
   45|      1|spdlog::sinks::base_sink<Mutex>::set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) {
   46|      1|    std::lock_guard<Mutex> lock(mutex_);
   47|      1|    set_formatter_(std::move(sink_formatter));
   48|      1|}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE14set_formatter_ENS2_10unique_ptrINS_9formatterENS2_14default_deleteIS6_EEEE:
   57|      1|spdlog::sinks::base_sink<Mutex>::set_formatter_(std::unique_ptr<spdlog::formatter> sink_formatter) {
   58|      1|    formatter_ = std::move(sink_formatter);
   59|      1|}

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

_ZN6spdlog5sinks15basic_file_sinkINSt3__15mutexEEC2ERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbRKNS_19file_event_handlersE:
   20|      1|    : file_helper_{event_handlers} {
   21|      1|    file_helper_.open(filename, truncate);
   22|      1|}
_ZN6spdlog5sinks15basic_file_sinkINSt3__15mutexEE8sink_it_ERKNS_7details7log_msgE:
   36|  1.80k|SPDLOG_INLINE void basic_file_sink<Mutex>::sink_it_(const details::log_msg &msg) {
   37|  1.80k|    memory_buf_t formatted;
   38|  1.80k|    base_sink<Mutex>::formatter_->format(msg, formatted);
   39|  1.80k|    file_helper_.write(formatted);
   40|  1.80k|}

_ZN6spdlog15basic_logger_mtINS_19synchronous_factoryEEENSt3__110shared_ptrINS_6loggerEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEESD_bRKNS_19file_event_handlersE:
   48|      1|                                               const file_event_handlers &event_handlers = {}) {
   49|      1|    return Factory::template create<sinks::basic_file_sink_mt>(logger_name, filename, truncate,
   50|      1|                                                               event_handlers);
   51|      1|}

_ZNK6spdlog5sinks4sink10should_logENS_5level10level_enumE:
   12|  1.80k|SPDLOG_INLINE bool spdlog::sinks::sink::should_log(spdlog::level::level_enum msg_level) const {
   13|  1.80k|    return msg_level >= level_.load(std::memory_order_relaxed);
   14|  1.80k|}

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

_ZN6spdlog18set_default_loggerENSt3__110shared_ptrINS_6loggerEEE:
   88|      1|SPDLOG_INLINE void set_default_logger(std::shared_ptr<spdlog::logger> default_logger) {
   89|      1|    details::registry::instance().set_default_logger(std::move(default_logger));
   90|      1|}
_ZN6spdlog18default_logger_rawEv:
   84|  7.60k|SPDLOG_INLINE spdlog::logger *default_logger_raw() {
   85|  7.60k|    return details::registry::instance().get_default_raw();
   86|  7.60k|}

_ZN6spdlog4infoIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  172|    760|inline void info(format_string_t<Args...> fmt, Args &&...args) {
  173|    760|    default_logger_raw()->info(fmt, std::forward<Args>(args)...);
  174|    760|}
_ZN6spdlog5traceIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  162|    760|inline void trace(format_string_t<Args...> fmt, Args &&...args) {
  163|    760|    default_logger_raw()->trace(fmt, std::forward<Args>(args)...);
  164|    760|}
_ZN6spdlog5debugIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  167|    760|inline void debug(format_string_t<Args...> fmt, Args &&...args) {
  168|    760|    default_logger_raw()->debug(fmt, std::forward<Args>(args)...);
  169|    760|}
_ZN6spdlog5errorIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  182|    760|inline void error(format_string_t<Args...> fmt, Args &&...args) {
  183|    760|    default_logger_raw()->error(fmt, std::forward<Args>(args)...);
  184|    760|}
_ZN6spdlog4warnIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  177|    760|inline void warn(format_string_t<Args...> fmt, Args &&...args) {
  178|    760|    default_logger_raw()->warn(fmt, std::forward<Args>(args)...);
  179|    760|}
_ZN6spdlog8criticalIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  187|    760|inline void critical(format_string_t<Args...> fmt, Args &&...args) {
  188|    760|    default_logger_raw()->critical(fmt, std::forward<Args>(args)...);
  189|    760|}

