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

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

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

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

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

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

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

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

_ZN6spdlog7details10fmt_helper18append_string_viewEN3fmt3v1217basic_string_viewIcEERNS3_19basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   21|  36.8k|inline void append_string_view(string_view_t view, memory_buf_t &dest) {
   22|  36.8k|    auto *buf_ptr = view.data();
   23|  36.8k|    dest.append(buf_ptr, buf_ptr + view.size());
   24|  36.8k|}
_ZN6spdlog7details10fmt_helper10append_intIiEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|  4.65k|inline void append_int(T n, memory_buf_t &dest) {
   43|  4.65k|    fmt::format_int i(n);
   44|  4.65k|    dest.append(i.data(), i.data() + i.size());
   45|  4.65k|}
_ZN6spdlog7details10fmt_helper4pad2EiRN3fmt3v1219basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   84|  2.77k|inline void pad2(int n, memory_buf_t &dest) {
   85|  2.77k|    if (n >= 0 && n < 100)  // 0-99
  ------------------
  |  Branch (85:9): [True: 2.77k, False: 0]
  |  Branch (85:19): [True: 2.77k, False: 0]
  ------------------
   86|  2.77k|    {
   87|  2.77k|        dest.push_back(static_cast<char>('0' + n / 10));
   88|  2.77k|        dest.push_back(static_cast<char>('0' + n % 10));
   89|  2.77k|    } 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)
  |  |  ------------------
  |  |  |  | 4273|      0|#  define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4245|      0|    [] {                                                                     \
  |  |  |  |  |  | 4246|      0|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  | 4247|      0|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  | 4248|      0|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  | 4249|      0|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  | 4250|      0|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  | 4251|      0|            const {                                                          \
  |  |  |  |  |  | 4252|      0|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  | 4253|      0|        }                                                                    \
  |  |  |  |  |  | 4254|      0|      };                                                                     \
  |  |  |  |  |  | 4255|      0|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  | 4256|      0|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  | 4257|      0|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  | 4258|      0|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  | 4259|      0|    }()
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|      0|    }
   93|  2.77k|}
_ZN6spdlog7details10fmt_helper13time_fractionINSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEEET_NS4_10time_pointINS4_12system_clockENS5_IxNS6_ILl1ELl1000000EEEEEEE:
  131|  8.19k|inline ToDuration time_fraction(log_clock::time_point tp) {
  132|  8.19k|    using std::chrono::duration_cast;
  133|  8.19k|    using std::chrono::seconds;
  134|  8.19k|    auto duration = tp.time_since_epoch();
  135|  8.19k|    auto secs = duration_cast<seconds>(duration);
  136|  8.19k|    return duration_cast<ToDuration>(duration) - duration_cast<ToDuration>(secs);
  137|  8.19k|}
_ZN6spdlog7details10fmt_helper4pad3IjEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
  105|  8.19k|inline void pad3(T n, memory_buf_t &dest) {
  106|  8.19k|    static_assert(std::is_unsigned<T>::value, "pad3 must get unsigned T");
  107|  8.19k|    if (n < 1000) {
  ------------------
  |  Branch (107:9): [True: 8.19k, False: 0]
  ------------------
  108|  8.19k|        dest.push_back(static_cast<char>(n / 100 + '0'));
  109|  8.19k|        n = n % 100;
  110|  8.19k|        dest.push_back(static_cast<char>((n / 10) + '0'));
  111|  8.19k|        dest.push_back(static_cast<char>((n % 10) + '0'));
  112|  8.19k|    } else {
  113|      0|        append_int(n, dest);
  114|      0|    }
  115|  8.19k|}

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

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

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

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

_ZN3fmt3v126detail13ignore_unusedIJbEEEvDpRKT_:
  368|  34.7k|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZNK3fmt3v126detail6bufferIcE8capacityEv:
 1792|   101k|  constexpr auto capacity() const noexcept -> size_t { return capacity_; }
_ZN3fmt3v126detail6bufferIcE4dataEv:
 1795|   174k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZNK3fmt3v126detail6bufferIcE4sizeEv:
 1789|   133M|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIcEC2EPFvRS3_mEPcmm:
 1764|   132M|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIcE3setEPcm:
 1770|   102k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1771|   102k|    ptr_ = buf_data;
 1772|   102k|    capacity_ = buf_capacity;
 1773|   102k|  }
_ZNK3fmt3v1217basic_string_viewIcE4dataEv:
  547|   344M|  constexpr auto data() const noexcept -> const Char* { return data_; }
_ZN3fmt3v126detail6bufferIcE6appendIcEEvPKT_S7_:
 1823|  1.31G|  FMT_CONSTEXPR20 void append(const U* begin, const U* end) {
 1824|  1.31G|    static_assert(std::is_same<T, U>() || std::is_same<U, char>(), "");
 1825|  2.52G|    while (begin != end) {
  ------------------
  |  Branch (1825:12): [True: 1.20G, False: 1.31G]
  ------------------
 1826|  1.20G|      auto size = size_;
 1827|  1.20G|      auto free_cap = capacity_ - size;
 1828|  1.20G|      auto count = to_unsigned(end - begin);
 1829|  1.20G|      if (free_cap < count) {
  ------------------
  |  Branch (1829:11): [True: 13.2k, False: 1.20G]
  ------------------
 1830|  13.2k|        grow_(*this, size + count);
 1831|  13.2k|        size = size_;
 1832|  13.2k|        free_cap = capacity_ - size;
 1833|  13.2k|        count = count < free_cap ? count : free_cap;
  ------------------
  |  Branch (1833:17): [True: 9.77k, False: 3.45k]
  ------------------
 1834|  13.2k|      }
 1835|       |      // A loop is faster than memcpy on small sizes.
 1836|  1.20G|      T* out = ptr_ + size;
 1837|  33.6G|      for (size_t i = 0; i < count; ++i) out[i] = static_cast<T>(begin[i]);
  ------------------
  |  Branch (1837:26): [True: 32.4G, False: 1.20G]
  ------------------
 1838|  1.20G|      size_ += count;
 1839|  1.20G|      begin += count;
 1840|  1.20G|    }
 1841|  1.31G|  }
_ZN3fmt3v126detail11to_unsignedIlEENSt3__113make_unsignedIT_E4typeES5_:
  421|  2.24G|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  422|  2.24G|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  394|  4.49G|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:7): [Folded, False: 2.24G]
  |  |  |  Branch (394:7): [True: 2.24G, False: 0]
  |  |  ------------------
  |  |  395|  2.24G|         ? (void)0                                                          \
  |  |  396|  2.24G|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  423|  2.24G|  return static_cast<make_unsigned_t<Int>>(value);
  424|  2.24G|}
_ZNK3fmt3v1217basic_string_viewIcE4sizeEv:
  548|   814M|  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_:
  545|  49.4k|      : data_(s.data()), size_(s.size()) {}
_ZN3fmt3v1217basic_string_viewIcEC2EPKc:
  528|  70.3k|  FMT_CONSTEXPR basic_string_view(const Char* s) : data_(s) {
  529|  70.3k|#if FMT_HAS_BUILTIN(__builtin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION
  530|  70.3k|    if (std::is_same<Char, char>::value && !detail::is_constant_evaluated()) {
  ------------------
  |  Branch (530:9): [True: 0, Folded]
  |  Branch (530:44): [True: 0, Folded]
  ------------------
  531|  70.3k|      size_ = __builtin_strlen(detail::narrow(s));  // strlen is not constexpr.
  532|  70.3k|      return;
  533|  70.3k|    }
  534|      0|#endif
  535|      0|    size_t len = 0;
  536|      0|    while (*s++) ++len;
  ------------------
  |  Branch (536:12): [True: 0, False: 0]
  ------------------
  537|      0|    size_ = len;
  538|      0|  }
_ZN3fmt3v126detail6narrowEPKc:
  451|  70.3k|constexpr FMT_ALWAYS_INLINE auto narrow(const char* s) -> const char* {
  452|  70.3k|  return s;
  453|  70.3k|}
_ZN3fmt3v126detail6bufferIcE5clearEv:
 1799|    555|  FMT_CONSTEXPR void clear() { size_ = 0; }
_ZN3fmt3v126detail6bufferIcE9push_backERKc:
 1816|   117G|  FMT_CONSTEXPR void push_back(const T& value) {
 1817|   117G|    try_reserve(size_ + 1);
 1818|   117G|    ptr_[size_++] = value;
 1819|   117G|  }
_ZN3fmt3v126detail6bufferIcE11try_reserveEm:
 1812|   117G|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1813|   117G|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1813:9): [True: 21.5k, False: 117G]
  ------------------
 1814|   117G|  }
_ZN3fmt3v126detail11to_unsignedIiEENSt3__113make_unsignedIT_E4typeES5_:
  421|   125M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  422|   125M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  394|   251M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:7): [Folded, False: 125M]
  |  |  |  Branch (394:7): [True: 125M, False: 0]
  |  |  ------------------
  |  |  395|   125M|         ? (void)0                                                          \
  |  |  396|   125M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  423|   125M|  return static_cast<make_unsigned_t<Int>>(value);
  424|   125M|}
_ZN3fmt3v1214basic_appenderIcEC2ERNS0_6detail6bufferIcEE:
 2438|   132M|  constexpr basic_appender(detail::buffer<T>& buf) : container(&buf) {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE3getEi:
 2593|   218k|  FMT_CONSTEXPR auto get(int id) const -> format_arg {
 2594|   218k|    auto arg = format_arg();
 2595|   218k|    if (!is_packed()) {
  ------------------
  |  Branch (2595:9): [True: 0, False: 218k]
  ------------------
 2596|      0|      if (unsigned(id) < unsigned(max_size())) arg = args_[id];
  ------------------
  |  Branch (2596:11): [True: 0, False: 0]
  ------------------
 2597|      0|      return arg;
 2598|      0|    }
 2599|   218k|    if (unsigned(id) >= detail::max_packed_args) return arg;
  ------------------
  |  Branch (2599:9): [True: 712, False: 217k]
  ------------------
 2600|   217k|    arg.type_ = type(id);
 2601|   217k|    if (arg.type_ != detail::type::none_type) arg.value_ = values_[id];
  ------------------
  |  Branch (2601:9): [True: 217k, False: 200]
  ------------------
 2602|   217k|    return arg;
 2603|   218k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2Ev:
 2473|   218k|  constexpr basic_format_arg() : type_(detail::type::none_type) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ev:
 2158|   218k|  constexpr FMT_INLINE value() : no_value() {}
_ZN3fmt3v129monostateC2Ev:
  342|   218k|  constexpr monostate() {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE9is_packedEv:
 2549|   218k|  constexpr auto is_packed() const -> bool {
 2550|   218k|    return (desc_ & detail::is_unpacked_bit) == 0;
 2551|   218k|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE4typeEi:
 2556|   217k|  FMT_CONSTEXPR auto type(int index) const -> detail::type {
 2557|   217k|    int shift = index * detail::packed_arg_bits;
 2558|   217k|    unsigned mask = (1 << detail::packed_arg_bits) - 1;
 2559|   217k|    return static_cast<detail::type>((desc_ >> shift) & mask);
 2560|   217k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail21default_arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2491|  65.3k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2492|  65.3k|    using detail::map;
 2493|  65.3k|    switch (type_) {
  ------------------
  |  Branch (2493:13): [True: 65.3k, False: 0]
  ------------------
 2494|    304|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2494:5): [True: 304, False: 65.0k]
  ------------------
 2495|  12.4k|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2495:5): [True: 12.4k, False: 52.9k]
  ------------------
 2496|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2496:5): [True: 0, False: 65.3k]
  ------------------
 2497|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2497:5): [True: 0, False: 65.3k]
  ------------------
 2498|  24.7k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2498:5): [True: 24.7k, False: 40.6k]
  ------------------
 2499|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2499:5): [True: 0, False: 65.3k]
  ------------------
 2500|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2500:5): [True: 0, False: 65.3k]
  ------------------
 2501|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2501:5): [True: 0, False: 65.3k]
  ------------------
 2502|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2502:5): [True: 0, False: 65.3k]
  ------------------
 2503|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2503:5): [True: 0, False: 65.3k]
  ------------------
 2504|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2504:5): [True: 0, False: 65.3k]
  ------------------
 2505|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2505:5): [True: 0, False: 65.3k]
  ------------------
 2506|  24.8k|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2506:5): [True: 24.8k, False: 40.4k]
  ------------------
 2507|  2.97k|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2507:5): [True: 2.97k, False: 62.4k]
  ------------------
 2508|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2508:5): [True: 0, False: 65.3k]
  ------------------
 2509|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2509:5): [True: 0, False: 65.3k]
  ------------------
 2510|  65.3k|    }
 2511|    304|    return vis(monostate());
 2512|  65.3k|  }
_ZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_:
  485|  1.32G|    typename OutputIt::container_type& {
  486|  1.32G|  struct accessor : OutputIt {
  487|  1.32G|    constexpr accessor(OutputIt base) : OutputIt(base) {}
  488|  1.32G|    using OutputIt::container;
  489|  1.32G|  };
  490|  1.32G|  return *accessor(it).container;
  491|  1.32G|}
_ZZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_EN8accessorC2ES4_:
  487|  1.32G|    constexpr accessor(OutputIt base) : OutputIt(base) {}
_ZN3fmt3v126detail6bufferIcE10try_resizeEm:
 1803|  50.7k|  FMT_CONSTEXPR void try_resize(size_t count) {
 1804|  50.7k|    try_reserve(count);
 1805|  50.7k|    size_ = min_of(count, capacity_);
 1806|  50.7k|  }
_ZN3fmt3v126min_ofImEET_S2_S2_:
  354|  50.7k|template <typename T> constexpr auto min_of(T a, T b) -> T {
  355|  50.7k|  return a < b ? a : b;
  ------------------
  |  Branch (355:10): [True: 50.7k, False: 40]
  ------------------
  356|  50.7k|}
_ZN3fmt3v1214basic_appenderIcEppEi:
 2446|   117G|  FMT_CONSTEXPR auto operator++(int) -> basic_appender { return *this; }
_ZN3fmt3v1214basic_appenderIcEdeEv:
 2444|   117G|  FMT_CONSTEXPR auto operator*() -> basic_appender& { return *this; }
_ZN3fmt3v1214basic_appenderIcEaSEc:
 2440|   117G|  FMT_CONSTEXPR auto operator=(T c) -> basic_appender& {
 2441|   117G|    container->push_back(c);
 2442|   117G|    return *this;
 2443|   117G|  }
_ZN3fmt3v126detail4copyIcPcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaacvNS1_23is_back_insert_iteratorIT1_NS6_17integral_constantIbLb1EEEEE_EcvNS1_10has_appendIS9_T0_vEE_EEiE4typeELi0EEES9_SE_SE_S9_:
 1897|   199M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1898|   199M|  get_container(out).append(begin, end);
 1899|   199M|  return out;
 1900|   199M|}
_ZNK3fmt3v1211basic_specs4typeEv:
  723|   150k|  constexpr auto type() const -> presentation_type {
  724|   150k|    return static_cast<presentation_type>(data_ & type_mask);
  725|   150k|  }
_ZNK3fmt3v1211basic_specs9localizedEv:
  770|  68.7k|  constexpr auto localized() const -> bool {
  771|  68.7k|    return (data_ & localized_mask) != 0;
  772|  68.7k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitIRNS0_6detail10loc_writerIcEEEEDTclfp_Li0EEEOT_:
 2491|  13.7k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2492|  13.7k|    using detail::map;
 2493|  13.7k|    switch (type_) {
  ------------------
  |  Branch (2493:13): [True: 13.7k, False: 0]
  ------------------
 2494|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2494:5): [True: 0, False: 13.7k]
  ------------------
 2495|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2495:5): [True: 0, False: 13.7k]
  ------------------
 2496|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2496:5): [True: 0, False: 13.7k]
  ------------------
 2497|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2497:5): [True: 0, False: 13.7k]
  ------------------
 2498|  13.7k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2498:5): [True: 13.7k, False: 0]
  ------------------
 2499|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2499:5): [True: 0, False: 13.7k]
  ------------------
 2500|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2500:5): [True: 0, False: 13.7k]
  ------------------
 2501|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2501:5): [True: 0, False: 13.7k]
  ------------------
 2502|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2502:5): [True: 0, False: 13.7k]
  ------------------
 2503|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2503:5): [True: 0, False: 13.7k]
  ------------------
 2504|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2504:5): [True: 0, False: 13.7k]
  ------------------
 2505|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2505:5): [True: 0, False: 13.7k]
  ------------------
 2506|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2506:5): [True: 0, False: 13.7k]
  ------------------
 2507|      0|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2507:5): [True: 0, False: 13.7k]
  ------------------
 2508|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2508:5): [True: 0, False: 13.7k]
  ------------------
 2509|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2509:5): [True: 0, False: 13.7k]
  ------------------
 2510|  13.7k|    }
 2511|      0|    return vis(monostate());
 2512|  13.7k|  }
_ZNK3fmt3v1211basic_specs3altEv:
  766|  31.0k|  constexpr auto alt() const -> bool { return (data_ & alternate_mask) != 0; }
_ZNK3fmt3v1211basic_specs5upperEv:
  763|  18.6k|  constexpr auto upper() const -> bool { return (data_ & uppercase_mask) != 0; }
_ZNK3fmt3v1211basic_specs5alignEv:
  730|   137k|  constexpr auto align() const -> align {
  731|   137k|    return static_cast<fmt::align>((data_ & align_mask) >> align_shift);
  732|   137k|  }
_ZNK3fmt3v1211basic_specs9fill_sizeEv:
  775|   134k|  constexpr auto fill_size() const -> size_t {
  776|   134k|    return (data_ & fill_size_mask) >> fill_size_shift;
  777|   134k|  }
_ZNK3fmt3v1211basic_specs9fill_unitIcEET_v:
  788|  31.3k|  template <typename Char> constexpr auto fill_unit() const -> Char {
  789|  31.3k|    using uchar = unsigned char;
  790|  31.3k|    return Char(uchar(fill_data_[0]) | uchar(fill_data_[1]) << 8 |
  791|  31.3k|                uchar(fill_data_[2]) << 16);
  792|  31.3k|  }
_ZNK3fmt3v1211basic_specs4fillIcTnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEEPKS5_v:
  780|  1.46k|  constexpr auto fill() const -> const Char* {
  781|  1.46k|    return fill_data_;
  782|  1.46k|  }
_ZN3fmt3v126detail4copyIcPKcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaacvNS1_23is_back_insert_iteratorIT1_NS7_17integral_constantIbLb1EEEEE_EcvNS1_10has_appendISA_T0_vEE_EEiE4typeELi0EEESA_SF_SF_SA_:
 1897|  1.12G|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1898|  1.12G|  get_container(out).append(begin, end);
 1899|  1.12G|  return out;
 1900|  1.12G|}
_ZN3fmt3v126detail11to_unsignedImEENSt3__113make_unsignedIT_E4typeES5_:
  421|   415M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  422|   415M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  394|   415M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:7): [True: 415M, Folded]
  |  |  |  Branch (394:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  395|   415M|         ? (void)0                                                          \
  |  |  396|   415M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  423|   415M|  return static_cast<make_unsigned_t<Int>>(value);
  424|   415M|}
_ZN3fmt3v1217basic_string_viewIcEC2EPKcm:
  523|  1.18G|      : data_(s), size_(count) {}
_ZNK3fmt3v1217basic_string_viewIcE5beginEv:
  550|   600M|  constexpr auto begin() const noexcept -> iterator { return data_; }
_ZNK3fmt3v1217basic_string_viewIcE3endEv:
  551|   943M|  constexpr auto end() const noexcept -> iterator { return data_ + size_; }
_ZN3fmt3v126detail6bufferIiE4dataEv:
 1795|  13.5k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail6bufferIiEC2EPFvRS3_mEPimm:
 1764|  13.5k|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIiE3setEPim:
 1770|  13.5k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1771|  13.5k|    ptr_ = buf_data;
 1772|  13.5k|    capacity_ = buf_capacity;
 1773|  13.5k|  }
_ZN3fmt3v126detail6bufferIiE9push_backERKi:
 1816|  13.5k|  FMT_CONSTEXPR void push_back(const T& value) {
 1817|  13.5k|    try_reserve(size_ + 1);
 1818|  13.5k|    ptr_[size_++] = value;
 1819|  13.5k|  }
_ZN3fmt3v126detail6bufferIiE11try_reserveEm:
 1812|  13.5k|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1813|  13.5k|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1813:9): [True: 0, False: 13.5k]
  ------------------
 1814|  13.5k|  }
_ZNK3fmt3v126detail6bufferIiE4sizeEv:
 1789|  13.5k|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIiEixIiEERiT_:
 1843|   232k|  template <typename Idx> FMT_CONSTEXPR auto operator[](Idx index) -> T& {
 1844|   232k|    return ptr_[index];
 1845|   232k|  }
_ZNK3fmt3v1217basic_string_viewIcEixEm:
  553|   248k|  constexpr auto operator[](size_t pos) const noexcept -> const Char& {
  554|   248k|    return data_[pos];
  555|   248k|  }
_ZNK3fmt3v1211basic_specs4signEv:
  756|  68.7k|  constexpr auto sign() const -> sign {
  757|  68.7k|    return static_cast<fmt::sign>((data_ & sign_mask) >> sign_shift);
  758|  68.7k|  }
_ZN3fmt3v1212format_specsC2Ev:
  826|   145k|  constexpr format_specs() : width(0), precision(-1) {}
_ZN3fmt3v1211basic_specs8set_fillEc:
  794|  8.12k|  FMT_CONSTEXPR void set_fill(char c) {
  795|  8.12k|    fill_data_[0] = c;
  796|  8.12k|    set_fill_size(1);
  797|  8.12k|  }
_ZN3fmt3v1211basic_specs13set_fill_sizeEm:
  718|  21.3k|  FMT_CONSTEXPR void set_fill_size(size_t size) {
  719|  21.3k|    data_ = (data_ & ~fill_size_mask) | (unsigned(size) << fill_size_shift);
  720|  21.3k|  }
_ZN3fmt3v1211basic_specs7set_altEv:
  767|  17.4k|  FMT_CONSTEXPR void set_alt() { data_ |= alternate_mask; }
_ZNK3fmt3v126detail12string_valueIcE3strEv:
 2112|  74.6k|  auto str() const -> basic_string_view<Char> { return {data, size}; }
_ZN3fmt3v126detail19parse_format_stringIcNS1_14format_handlerIcEEEEvNS0_17basic_string_viewIT_EEOT0_:
 1630|  44.8k|                                       Handler&& handler) {
 1631|  44.8k|  auto begin = fmt.data(), end = begin + fmt.size();
 1632|  44.8k|  auto p = begin;
 1633|  58.9M|  while (p != end) {
  ------------------
  |  Branch (1633:10): [True: 58.8M, False: 44.0k]
  ------------------
 1634|  58.8M|    auto c = *p++;
 1635|  58.8M|    if (c == '{') {
  ------------------
  |  Branch (1635:9): [True: 230k, False: 58.6M]
  ------------------
 1636|   230k|      handler.on_text(begin, p - 1);
 1637|   230k|      begin = p = parse_replacement_field(p - 1, end, handler);
 1638|  58.6M|    } else if (c == '}') {
  ------------------
  |  Branch (1638:16): [True: 1.57k, False: 58.6M]
  ------------------
 1639|  1.57k|      if (p == end || *p != '}')
  ------------------
  |  Branch (1639:11): [True: 144, False: 1.43k]
  |  Branch (1639:23): [True: 672, False: 760]
  ------------------
 1640|    816|        return handler.on_error("unmatched '}' in format string");
 1641|    760|      handler.on_text(begin, p);
 1642|    760|      begin = ++p;
 1643|    760|    }
 1644|  58.8M|  }
 1645|  44.0k|  handler.on_text(begin, end);
 1646|  44.0k|}
_ZNK3fmt3v127context3outEv:
 2659|   473k|  constexpr auto out() const -> iterator { return out_; }
_ZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_:
 1585|   230k|    -> const Char* {
 1586|   230k|  ++begin;
 1587|   230k|  if (begin == end) {
  ------------------
  |  Branch (1587:7): [True: 632, False: 230k]
  ------------------
 1588|    632|    handler.on_error("invalid format string");
 1589|    632|    return end;
 1590|    632|  }
 1591|   230k|  int arg_id = 0;
 1592|   230k|  switch (*begin) {
 1593|  38.9k|  case '}':
  ------------------
  |  Branch (1593:3): [True: 38.9k, False: 191k]
  ------------------
 1594|  38.9k|    handler.on_replacement_field(handler.on_arg_id(), begin);
 1595|  38.9k|    return begin + 1;
 1596|  16.6k|  case '{': handler.on_text(begin, begin + 1); return begin + 1;
  ------------------
  |  Branch (1596:3): [True: 16.6k, False: 213k]
  ------------------
 1597|  14.6k|  case ':': arg_id = handler.on_arg_id(); break;
  ------------------
  |  Branch (1597:3): [True: 14.6k, False: 215k]
  ------------------
 1598|   159k|  default:  {
  ------------------
  |  Branch (1598:3): [True: 159k, False: 70.2k]
  ------------------
 1599|   159k|    struct id_adapter {
 1600|   159k|      Handler& handler;
 1601|   159k|      int arg_id;
 1602|       |
 1603|   159k|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
 1604|   159k|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1605|   159k|        arg_id = handler.on_arg_id(id);
 1606|   159k|      }
 1607|   159k|    } adapter = {handler, 0};
 1608|   159k|    begin = parse_arg_id(begin, end, adapter);
 1609|   159k|    arg_id = adapter.arg_id;
 1610|   159k|    Char c = begin != end ? *begin : Char();
  ------------------
  |  Branch (1610:14): [True: 156k, False: 3.10k]
  ------------------
 1611|   159k|    if (c == '}') {
  ------------------
  |  Branch (1611:9): [True: 25.7k, False: 134k]
  ------------------
 1612|  25.7k|      handler.on_replacement_field(arg_id, begin);
 1613|  25.7k|      return begin + 1;
 1614|  25.7k|    }
 1615|   134k|    if (c != ':') {
  ------------------
  |  Branch (1615:9): [True: 0, False: 134k]
  ------------------
 1616|      0|      handler.on_error("missing '}' in format string");
 1617|      0|      return end;
 1618|      0|    }
 1619|   134k|    break;
 1620|   134k|  }
 1621|   230k|  }
 1622|   145k|  begin = handler.on_format_specs(arg_id, begin + 1, end);
 1623|   145k|  if (begin == end || *begin != '}')
  ------------------
  |  Branch (1623:7): [True: 16.5k, False: 128k]
  |  Branch (1623:23): [True: 3.33k, False: 125k]
  ------------------
 1624|  14.7k|    return handler.on_error("unknown format specifier"), end;
 1625|   130k|  return begin + 1;
 1626|   145k|}
_ZNK3fmt3v127context3argEi:
 2649|   217k|  FMT_CONSTEXPR auto arg(int id) const -> format_arg { return args_.get(id); }
_ZN3fmt3v1213parse_contextIcE11next_arg_idEv:
  864|  57.1k|  FMT_CONSTEXPR auto next_arg_id() -> int {
  865|  57.1k|    if (next_arg_id_ < 0) {
  ------------------
  |  Branch (865:9): [True: 224, False: 56.9k]
  ------------------
  866|    224|      report_error("cannot switch from manual to automatic argument indexing");
  867|    224|      return 0;
  868|    224|    }
  869|  56.9k|    int id = next_arg_id_++;
  870|  56.9k|    do_check_arg_id(id);
  871|  56.9k|    return id;
  872|  57.1k|  }
_ZN3fmt3v1213parse_contextIcE15do_check_arg_idEi:
 2411|   217k|FMT_CONSTEXPR void parse_context<Char>::do_check_arg_id(int arg_id) {
 2412|       |  // Argument id is only checked at compile time during parsing because
 2413|       |  // formatting has its own validation.
 2414|   217k|  if (detail::is_constant_evaluated() && use_constexpr_cast) {
  ------------------
  |  Branch (2414:7): [Folded, False: 217k]
  |  Branch (2414:42): [True: 0, Folded]
  ------------------
 2415|      0|    auto ctx = static_cast<detail::compile_parse_context<Char>*>(this);
 2416|      0|    if (arg_id >= ctx->num_args()) report_error("argument not found");
  ------------------
  |  Branch (2416:9): [True: 0, False: 0]
  ------------------
 2417|      0|  }
 2418|   217k|}
_ZN3fmt3v126detail12parse_arg_idIcRZNS1_23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S9_S9_OT0_E10id_adapterEES9_S9_S9_SB_:
 1332|   159k|                                Handler&& handler) -> const Char* {
 1333|   159k|  Char c = *begin;
 1334|   159k|  if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (1334:7): [True: 159k, False: 528]
  |  Branch (1334:19): [True: 158k, False: 1.20k]
  ------------------
 1335|   158k|    int index = 0;
 1336|   158k|    if (c != '0')
  ------------------
  |  Branch (1336:9): [True: 98.4k, False: 59.7k]
  ------------------
 1337|  98.4k|      index = parse_nonnegative_int(begin, end, INT_MAX);
 1338|  59.7k|    else
 1339|  59.7k|      ++begin;
 1340|   158k|    if (begin == end || (*begin != '}' && *begin != ':'))
  ------------------
  |  Branch (1340:9): [True: 640, False: 157k]
  |  Branch (1340:26): [True: 131k, False: 25.8k]
  |  Branch (1340:43): [True: 648, False: 131k]
  ------------------
 1341|  1.28k|      report_error("invalid format string");
 1342|   156k|    else
 1343|   156k|      handler.on_index(index);
 1344|   158k|    return begin;
 1345|   158k|  }
 1346|  1.72k|  if (FMT_OPTIMIZE_SIZE > 1 || !is_name_start(c)) {
  ------------------
  |  |  295|  1.72k|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1346:7): [Folded, False: 1.72k]
  |  Branch (1346:32): [True: 848, False: 880]
  ------------------
 1347|    848|    report_error("invalid format string");
 1348|    848|    return begin;
 1349|    848|  }
 1350|    880|  auto it = begin;
 1351|  27.0M|  do {
 1352|  27.0M|    ++it;
 1353|  27.0M|  } while (it != end && (is_name_start(*it) || ('0' <= *it && *it <= '9')));
  ------------------
  |  Branch (1353:12): [True: 27.0M, False: 360]
  |  Branch (1353:26): [True: 27.0M, False: 3.20k]
  |  Branch (1353:49): [True: 2.95k, False: 256]
  |  Branch (1353:63): [True: 2.68k, False: 264]
  ------------------
 1354|    880|  handler.on_name({begin, to_unsigned(it - begin)});
 1355|    880|  return it;
 1356|  1.72k|}
_ZN3fmt3v126detail21parse_nonnegative_intIcEEiRPKT_S5_i:
 1296|   190k|                                         int error_value) noexcept -> int {
 1297|   190k|  FMT_ASSERT(begin != end && '0' <= *begin && *begin <= '9', "");
  ------------------
  |  |  394|   761k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:7): [True: 190k, False: 0]
  |  |  |  Branch (394:7): [True: 190k, False: 0]
  |  |  |  Branch (394:7): [True: 190k, False: 0]
  |  |  ------------------
  |  |  395|   190k|         ? (void)0                                                          \
  |  |  396|   190k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1298|   190k|  unsigned value = 0, prev = 0;
 1299|   190k|  auto p = begin;
 1300|   256k|  do {
 1301|   256k|    prev = value;
 1302|   256k|    value = value * 10 + unsigned(*p - '0');
 1303|   256k|    ++p;
 1304|   256k|  } while (p != end && '0' <= *p && *p <= '9');
  ------------------
  |  Branch (1304:12): [True: 252k, False: 3.94k]
  |  Branch (1304:24): [True: 245k, False: 6.71k]
  |  Branch (1304:37): [True: 65.9k, False: 179k]
  ------------------
 1305|   190k|  auto num_digits = p - begin;
 1306|   190k|  begin = p;
 1307|   190k|  int digits10 = int(sizeof(int) * CHAR_BIT * 3 / 10);
 1308|   190k|  if (num_digits <= digits10) return int(value);
  ------------------
  |  Branch (1308:7): [True: 188k, False: 1.81k]
  ------------------
 1309|       |  // Check for overflow.
 1310|  1.81k|  unsigned max = INT_MAX;
 1311|  1.81k|  return num_digits == digits10 + 1 &&
  ------------------
  |  Branch (1311:10): [True: 1.63k, False: 184]
  ------------------
 1312|  1.63k|                 prev * 10ull + unsigned(p[-1] - '0') <= max
  ------------------
  |  Branch (1312:18): [True: 1.26k, False: 368]
  ------------------
 1313|  1.81k|             ? int(value)
 1314|  1.81k|             : error_value;
 1315|   190k|}
_ZZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_EN10id_adapter8on_indexEi:
 1603|   156k|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
_ZN3fmt3v1213parse_contextIcE12check_arg_idEi:
  876|   160k|  FMT_CONSTEXPR void check_arg_id(int id) {
  877|   160k|    if (next_arg_id_ > 0) {
  ------------------
  |  Branch (877:9): [True: 120, False: 160k]
  ------------------
  878|    120|      report_error("cannot switch from automatic to manual argument indexing");
  879|    120|      return;
  880|    120|    }
  881|   160k|    next_arg_id_ = -1;
  882|   160k|    do_check_arg_id(id);
  883|   160k|  }
_ZN3fmt3v126detail13is_name_startIcEEbT_:
 1326|  39.0M|template <typename Char> constexpr auto is_name_start(Char c) -> bool {
 1327|  39.0M|  return ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '_';
  ------------------
  |  Branch (1327:11): [True: 39.0M, False: 68.6k]
  |  Branch (1327:23): [True: 39.0M, False: 280]
  |  Branch (1327:37): [True: 61.6k, False: 7.21k]
  |  Branch (1327:49): [True: 27.0k, False: 34.6k]
  |  Branch (1327:62): [True: 34.1k, False: 7.71k]
  ------------------
 1328|  39.0M|}
_ZZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_EN10id_adapter7on_nameENS0_17basic_string_viewIcEE:
 1604|    880|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1605|    880|        arg_id = handler.on_arg_id(id);
 1606|    880|      }
_ZN3fmt3v1213parse_contextIcE12check_arg_idENS0_17basic_string_viewIcEE:
  884|  1.69k|  FMT_CONSTEXPR void check_arg_id(basic_string_view<Char>) {
  885|  1.69k|    next_arg_id_ = -1;
  886|  1.69k|  }
_ZNK3fmt3v127context6arg_idENS0_17basic_string_viewIcEE:
 2653|    880|  FMT_CONSTEXPR auto arg_id(string_view name) const -> int {
 2654|    880|    return args_.get_id(name);
 2655|    880|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE6get_idIcEEiNS0_17basic_string_viewIT_EE:
 2612|    896|  FMT_CONSTEXPR auto get_id(basic_string_view<Char> name) const -> int {
 2613|    896|    if (!has_named_args()) return -1;
  ------------------
  |  Branch (2613:9): [True: 896, False: 0]
  ------------------
 2614|      0|    const auto& named_args =
 2615|      0|        (is_packed() ? values_[-1] : args_[-1].value_).named_args;
  ------------------
  |  Branch (2615:10): [True: 0, False: 0]
  ------------------
 2616|      0|    for (size_t i = 0; i < named_args.size; ++i) {
  ------------------
  |  Branch (2616:24): [True: 0, False: 0]
  ------------------
 2617|      0|      if (named_args.data[i].name == name) return named_args.data[i].id;
  ------------------
  |  Branch (2617:11): [True: 0, False: 0]
  ------------------
 2618|      0|    }
 2619|      0|    return -1;
 2620|      0|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE14has_named_argsEv:
 2552|    896|  constexpr auto has_named_args() const -> bool {
 2553|    896|    return (desc_ & detail::has_named_args_bit) != 0;
 2554|    896|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEEcvbEv:
 2480|   152k|  constexpr explicit operator bool() const noexcept {
 2481|   152k|    return type_ != detail::type::none_type;
 2482|   152k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEE13format_customEPKcRNS0_13parse_contextIcEERS2_:
 2516|   145k|      -> bool {
 2517|   145k|    if (type_ != detail::type::custom_type) return false;
  ------------------
  |  Branch (2517:9): [True: 145k, False: 0]
  ------------------
 2518|      0|    parse_ctx.advance_to(parse_begin);
 2519|      0|    value_.custom.format(value_.custom.value, parse_ctx, ctx);
 2520|      0|    return true;
 2521|   145k|  }
_ZN3fmt3v126detail7arg_refIcEC2Ei:
 1263|   297k|  FMT_CONSTEXPR arg_ref(int idx = 0) : index(idx) {}
_ZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeE:
 1447|   145k|    -> const Char* {
 1448|   145k|  auto c = '\0';
 1449|   145k|  if (end - begin > 1) {
  ------------------
  |  Branch (1449:7): [True: 139k, False: 5.86k]
  ------------------
 1450|   139k|    auto next = to_ascii(begin[1]);
 1451|   139k|    c = parse_align(next) == align::none ? to_ascii(*begin) : '\0';
  ------------------
  |  Branch (1451:9): [True: 127k, False: 12.1k]
  ------------------
 1452|   139k|  } else {
 1453|  5.86k|    if (begin == end) return begin;
  ------------------
  |  Branch (1453:9): [True: 2.00k, False: 3.85k]
  ------------------
 1454|  3.85k|    c = to_ascii(*begin);
 1455|  3.85k|  }
 1456|       |
 1457|   143k|  struct {
 1458|   143k|    state current_state = state::start;
 1459|   143k|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1460|   143k|      if (current_state >= s || !valid)
 1461|   143k|        report_error("invalid format specifier");
 1462|   143k|      current_state = s;
 1463|   143k|    }
 1464|   143k|  } enter_state;
 1465|       |
 1466|   143k|  using pres = presentation_type;
 1467|   143k|  constexpr auto integral_set = sint_set | uint_set | bool_set | char_set;
 1468|   143k|  struct {
 1469|   143k|    const Char*& begin;
 1470|   143k|    format_specs& specs;
 1471|   143k|    type arg_type;
 1472|       |
 1473|   143k|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1474|   143k|      if (!in(arg_type, set)) report_error("invalid format specifier");
 1475|   143k|      specs.set_type(pres_type);
 1476|   143k|      return begin + 1;
 1477|   143k|    }
 1478|   143k|  } parse_presentation_type{begin, specs, arg_type};
 1479|       |
 1480|   304k|  for (;;) {
 1481|   304k|    switch (c) {
 1482|  1.47k|    case '<':
  ------------------
  |  Branch (1482:5): [True: 1.47k, False: 303k]
  ------------------
 1483|  5.13k|    case '>':
  ------------------
  |  Branch (1483:5): [True: 3.66k, False: 301k]
  ------------------
 1484|  14.1k|    case '^':
  ------------------
  |  Branch (1484:5): [True: 8.97k, False: 295k]
  ------------------
 1485|  14.1k|      enter_state(state::align);
 1486|  14.1k|      specs.set_align(parse_align(c));
 1487|  14.1k|      ++begin;
 1488|  14.1k|      break;
 1489|     40|    case '+':
  ------------------
  |  Branch (1489:5): [True: 40, False: 304k]
  ------------------
 1490|    104|    case ' ':
  ------------------
  |  Branch (1490:5): [True: 64, False: 304k]
  ------------------
 1491|    104|      specs.set_sign(c == ' ' ? sign::space : sign::plus);
  ------------------
  |  Branch (1491:22): [True: 64, False: 40]
  ------------------
 1492|    104|      FMT_FALLTHROUGH;
  ------------------
  |  |  181|    104|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
 1493|    136|    case '-':
  ------------------
  |  Branch (1493:5): [True: 32, False: 304k]
  ------------------
 1494|    136|      enter_state(state::sign, in(arg_type, sint_set | float_set));
 1495|    136|      ++begin;
 1496|    136|      break;
 1497|  17.4k|    case '#':
  ------------------
  |  Branch (1497:5): [True: 17.4k, False: 287k]
  ------------------
 1498|  17.4k|      enter_state(state::hash, is_arithmetic_type(arg_type));
 1499|  17.4k|      specs.set_alt();
 1500|  17.4k|      ++begin;
 1501|  17.4k|      break;
 1502|  12.2k|    case '0':
  ------------------
  |  Branch (1502:5): [True: 12.2k, False: 292k]
  ------------------
 1503|  12.2k|      enter_state(state::zero);
 1504|  12.2k|      if (!is_arithmetic_type(arg_type))
  ------------------
  |  Branch (1504:11): [True: 32, False: 12.2k]
  ------------------
 1505|     32|        report_error("format specifier requires numeric argument");
 1506|  12.2k|      if (specs.align() == align::none) {
  ------------------
  |  Branch (1506:11): [True: 8.12k, False: 4.14k]
  ------------------
 1507|       |        // Ignore 0 if align is specified for compatibility with std::format.
 1508|  8.12k|        specs.set_align(align::numeric);
 1509|  8.12k|        specs.set_fill('0');
 1510|  8.12k|      }
 1511|  12.2k|      ++begin;
 1512|  12.2k|      break;
 1513|       |      // clang-format off
 1514|  56.1k|    case '1': case '2': case '3': case '4': case '5':
  ------------------
  |  Branch (1514:5): [True: 18.2k, False: 286k]
  |  Branch (1514:15): [True: 8.55k, False: 296k]
  |  Branch (1514:25): [True: 6.13k, False: 298k]
  |  Branch (1514:35): [True: 2.46k, False: 302k]
  |  Branch (1514:45): [True: 20.7k, False: 284k]
  ------------------
 1515|  85.0k|    case '6': case '7': case '8': case '9': case '{':
  ------------------
  |  Branch (1515:5): [True: 5.07k, False: 299k]
  |  Branch (1515:15): [True: 960, False: 303k]
  |  Branch (1515:25): [True: 6.45k, False: 298k]
  |  Branch (1515:35): [True: 8.81k, False: 296k]
  |  Branch (1515:45): [True: 7.60k, False: 297k]
  ------------------
 1516|       |      // clang-format on
 1517|  85.0k|      enter_state(state::width);
 1518|  85.0k|      begin = parse_width(begin, end, specs, specs.width_ref, ctx);
 1519|  85.0k|      break;
 1520|  14.5k|    case '.':
  ------------------
  |  Branch (1520:5): [True: 14.5k, False: 290k]
  ------------------
 1521|  14.5k|      enter_state(state::precision,
 1522|  14.5k|                  in(arg_type, float_set | string_set | cstring_set));
 1523|  14.5k|      begin = parse_precision(begin, end, specs, specs.precision_ref, ctx);
 1524|  14.5k|      break;
 1525|  13.9k|    case 'L':
  ------------------
  |  Branch (1525:5): [True: 13.9k, False: 290k]
  ------------------
 1526|  13.9k|      enter_state(state::locale, is_arithmetic_type(arg_type));
 1527|  13.9k|      specs.set_localized();
 1528|  13.9k|      ++begin;
 1529|  13.9k|      break;
 1530|  6.33k|    case 'd': return parse_presentation_type(pres::dec, integral_set);
  ------------------
  |  Branch (1530:5): [True: 6.33k, False: 298k]
  ------------------
 1531|  1.30k|    case 'X': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|  1.30k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1531:5): [True: 1.30k, False: 303k]
  ------------------
 1532|  7.74k|    case 'x': return parse_presentation_type(pres::hex, integral_set);
  ------------------
  |  Branch (1532:5): [True: 6.44k, False: 298k]
  ------------------
 1533|  9.96k|    case 'o': return parse_presentation_type(pres::oct, integral_set);
  ------------------
  |  Branch (1533:5): [True: 9.96k, False: 294k]
  ------------------
 1534|  2.44k|    case 'B': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|  2.44k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1534:5): [True: 2.44k, False: 302k]
  ------------------
 1535|  13.4k|    case 'b': return parse_presentation_type(pres::bin, integral_set);
  ------------------
  |  Branch (1535:5): [True: 10.9k, False: 293k]
  ------------------
 1536|      8|    case 'E': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      8|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1536:5): [True: 8, False: 304k]
  ------------------
 1537|     24|    case 'e': return parse_presentation_type(pres::exp, float_set);
  ------------------
  |  Branch (1537:5): [True: 16, False: 304k]
  ------------------
 1538|     16|    case 'F': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|     16|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1538:5): [True: 16, False: 304k]
  ------------------
 1539|     56|    case 'f': return parse_presentation_type(pres::fixed, float_set);
  ------------------
  |  Branch (1539:5): [True: 40, False: 304k]
  ------------------
 1540|     16|    case 'G': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|     16|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1540:5): [True: 16, False: 304k]
  ------------------
 1541|     24|    case 'g': return parse_presentation_type(pres::general, float_set);
  ------------------
  |  Branch (1541:5): [True: 8, False: 304k]
  ------------------
 1542|     64|    case 'A': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|     64|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1542:5): [True: 64, False: 304k]
  ------------------
 1543|     80|    case 'a': return parse_presentation_type(pres::hexfloat, float_set);
  ------------------
  |  Branch (1543:5): [True: 16, False: 304k]
  ------------------
 1544|  10.2k|    case 'c':
  ------------------
  |  Branch (1544:5): [True: 10.2k, False: 294k]
  ------------------
 1545|  10.2k|      if (arg_type == type::bool_type) report_error("invalid format specifier");
  ------------------
  |  Branch (1545:11): [True: 0, False: 10.2k]
  ------------------
 1546|  10.2k|      return parse_presentation_type(pres::chr, integral_set);
 1547|    400|    case 's':
  ------------------
  |  Branch (1547:5): [True: 400, False: 304k]
  ------------------
 1548|    400|      return parse_presentation_type(pres::string,
 1549|    400|                                     bool_set | string_set | cstring_set);
 1550|      8|    case 'p':
  ------------------
  |  Branch (1550:5): [True: 8, False: 304k]
  ------------------
 1551|      8|      return parse_presentation_type(pres::pointer, pointer_set | cstring_set);
 1552|  32.5k|    case '?':
  ------------------
  |  Branch (1552:5): [True: 32.5k, False: 272k]
  ------------------
 1553|  32.5k|      return parse_presentation_type(pres::debug,
 1554|  32.5k|                                     char_set | string_set | cstring_set);
 1555|  51.6k|    case '}': return begin;
  ------------------
  |  Branch (1555:5): [True: 51.6k, False: 253k]
  ------------------
 1556|  14.9k|    default:  {
  ------------------
  |  Branch (1556:5): [True: 14.9k, False: 290k]
  ------------------
 1557|  14.9k|      if (*begin == '}') return begin;
  ------------------
  |  Branch (1557:11): [True: 1.06k, False: 13.8k]
  ------------------
 1558|       |      // Parse fill and alignment.
 1559|  13.8k|      auto fill_end = begin + code_point_length(begin);
 1560|  13.8k|      if (end - fill_end <= 0) {
  ------------------
  |  Branch (1560:11): [True: 216, False: 13.6k]
  ------------------
 1561|    216|        report_error("invalid format specifier");
 1562|    216|        return begin;
 1563|    216|      }
 1564|  13.6k|      if (*begin == '{') {
  ------------------
  |  Branch (1564:11): [True: 8, False: 13.6k]
  ------------------
 1565|      8|        report_error("invalid fill character '{'");
 1566|      8|        return begin;
 1567|      8|      }
 1568|  13.6k|      auto alignment = parse_align(to_ascii(*fill_end));
 1569|  13.6k|      enter_state(state::align, alignment != align::none);
 1570|  13.6k|      specs.set_fill(
 1571|  13.6k|          basic_string_view<Char>(begin, to_unsigned(fill_end - begin)));
 1572|  13.6k|      specs.set_align(alignment);
 1573|  13.6k|      begin = fill_end + 1;
 1574|  13.6k|    }
 1575|   304k|    }
 1576|   167k|    if (begin == end) return begin;
  ------------------
  |  Branch (1576:9): [True: 5.97k, False: 161k]
  ------------------
 1577|   161k|    c = to_ascii(*begin);
 1578|   161k|  }
 1579|   143k|}
_ZN3fmt3v126detail8to_asciiIcTnNSt3__19enable_ifIXsr3std11is_integralIT_EE5valueEiE4typeELi0EEEcS5_:
 1280|   445k|constexpr auto to_ascii(Char c) -> char {
 1281|   445k|  return c <= 0xff ? char(c) : '\0';
  ------------------
  |  Branch (1281:10): [True: 445k, False: 0]
  ------------------
 1282|   445k|}
_ZN3fmt3v126detail11parse_alignEc:
 1317|   166k|FMT_CONSTEXPR inline auto parse_align(char c) -> align {
 1318|   166k|  switch (c) {
  ------------------
  |  Branch (1318:11): [True: 39.4k, False: 127k]
  ------------------
 1319|  7.04k|  case '<': return align::left;
  ------------------
  |  Branch (1319:3): [True: 7.04k, False: 159k]
  ------------------
 1320|  15.8k|  case '>': return align::right;
  ------------------
  |  Branch (1320:3): [True: 15.8k, False: 151k]
  ------------------
 1321|  16.4k|  case '^': return align::center;
  ------------------
  |  Branch (1321:3): [True: 16.4k, False: 150k]
  ------------------
 1322|   166k|  }
 1323|   127k|  return align::none;
 1324|   166k|}
_ZZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeEENUt_clENS1_5stateEb:
 1459|   171k|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1460|   171k|      if (current_state >= s || !valid)
  ------------------
  |  Branch (1460:11): [True: 640, False: 170k]
  |  Branch (1460:33): [True: 472, False: 170k]
  ------------------
 1461|  1.11k|        report_error("invalid format specifier");
 1462|   171k|      current_state = s;
 1463|   171k|    }
_ZN3fmt3v1211basic_specs9set_alignENS0_5alignE:
  733|  35.3k|  FMT_CONSTEXPR void set_align(fmt::align a) {
  734|  35.3k|    data_ = (data_ & ~align_mask) | (unsigned(a) << align_shift);
  735|  35.3k|  }
_ZN3fmt3v1211basic_specs8set_signENS0_4signE:
  759|    104|  FMT_CONSTEXPR void set_sign(fmt::sign s) {
  760|    104|    data_ = (data_ & ~sign_mask) | (unsigned(s) << sign_shift);
  761|    104|  }
_ZN3fmt3v126detail2inENS1_4typeEi:
 1019|  95.4k|constexpr auto in(type t, int set) -> bool {
 1020|  95.4k|  return ((set >> int(t)) & 1) != 0;
 1021|  95.4k|}
_ZN3fmt3v126detail18is_arithmetic_typeENS1_4typeE:
 1014|  43.7k|constexpr auto is_arithmetic_type(type t) -> bool {
 1015|  43.7k|  return t > type::none_type && t <= type::last_numeric_type;
  ------------------
  |  Branch (1015:10): [True: 43.7k, False: 0]
  |  Branch (1015:33): [True: 43.6k, False: 64]
  ------------------
 1016|  43.7k|}
_ZN3fmt3v126detail11parse_widthIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1418|  84.9k|                               parse_context<Char>& ctx) -> const Char* {
 1419|  84.9k|  auto result = parse_dynamic_spec(begin, end, specs.width, width_ref, ctx);
 1420|  84.9k|  specs.set_dynamic_width(result.kind);
 1421|  84.9k|  return result.end;
 1422|  84.9k|}
_ZN3fmt3v126detail18parse_dynamic_specIcEENS1_25parse_dynamic_spec_resultIT_EEPKS4_S7_RiRNS1_7arg_refIS4_EERNS0_13parse_contextIS4_EE:
 1386|  99.1k|    -> parse_dynamic_spec_result<Char> {
 1387|  99.1k|  FMT_ASSERT(begin != end, "");
  ------------------
  |  |  394|  99.1k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:6): [True: 99.1k, False: 0]
  |  |  ------------------
  |  |  395|  99.1k|         ? (void)0                                                          \
  |  |  396|  99.1k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1388|  99.1k|  auto kind = arg_id_kind::none;
 1389|  99.1k|  if ('0' <= *begin && *begin <= '9') {
  ------------------
  |  Branch (1389:7): [True: 99.1k, False: 32]
  |  Branch (1389:24): [True: 89.7k, False: 9.40k]
  ------------------
 1390|  89.7k|    int val = parse_nonnegative_int(begin, end, -1);
 1391|  89.7k|    if (val == -1) report_error("number is too big");
  ------------------
  |  Branch (1391:9): [True: 240, False: 89.4k]
  ------------------
 1392|  89.7k|    value = val;
 1393|  89.7k|  } else {
 1394|  9.44k|    if (*begin == '{') {
  ------------------
  |  Branch (1394:9): [True: 9.32k, False: 120]
  ------------------
 1395|  9.32k|      ++begin;
 1396|  9.32k|      if (begin != end) {
  ------------------
  |  Branch (1396:11): [True: 9.28k, False: 32]
  ------------------
 1397|  9.28k|        Char c = *begin;
 1398|  9.28k|        if (c == '}' || c == ':') {
  ------------------
  |  Branch (1398:13): [True: 3.52k, False: 5.76k]
  |  Branch (1398:25): [True: 24, False: 5.73k]
  ------------------
 1399|  3.55k|          int id = ctx.next_arg_id();
 1400|  3.55k|          ref = id;
 1401|  3.55k|          kind = arg_id_kind::index;
 1402|  3.55k|          ctx.check_dynamic_spec(id);
 1403|  5.73k|        } else {
 1404|  5.73k|          begin = parse_arg_id(begin, end,
 1405|  5.73k|                               dynamic_spec_handler<Char>{ctx, ref, kind});
 1406|  5.73k|        }
 1407|  9.28k|      }
 1408|  9.32k|      if (begin != end && *begin == '}') return {++begin, kind};
  ------------------
  |  Branch (1408:11): [True: 7.89k, False: 1.42k]
  |  Branch (1408:27): [True: 7.48k, False: 408]
  ------------------
 1409|  9.32k|    }
 1410|  1.95k|    report_error("invalid format string");
 1411|  1.95k|  }
 1412|  91.6k|  return {begin, kind};
 1413|  99.1k|}
_ZN3fmt3v1213parse_contextIcE18check_dynamic_specEi:
 2421|  7.46k|FMT_CONSTEXPR void parse_context<Char>::check_dynamic_spec(int arg_id) {
 2422|  7.46k|  using detail::compile_parse_context;
 2423|  7.46k|  if (detail::is_constant_evaluated() && use_constexpr_cast)
  ------------------
  |  Branch (2423:7): [Folded, False: 7.46k]
  |  Branch (2423:42): [True: 0, Folded]
  ------------------
 2424|      0|    static_cast<compile_parse_context<Char>*>(this)->check_dynamic_spec(arg_id);
 2425|  7.46k|}
_ZN3fmt3v126detail12parse_arg_idIcNS1_20dynamic_spec_handlerIcEEEEPKT_S7_S7_OT0_:
 1332|  5.73k|                                Handler&& handler) -> const Char* {
 1333|  5.73k|  Char c = *begin;
 1334|  5.73k|  if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (1334:7): [True: 5.60k, False: 136]
  |  Branch (1334:19): [True: 4.70k, False: 896]
  ------------------
 1335|  4.70k|    int index = 0;
 1336|  4.70k|    if (c != '0')
  ------------------
  |  Branch (1336:9): [True: 2.31k, False: 2.39k]
  ------------------
 1337|  2.31k|      index = parse_nonnegative_int(begin, end, INT_MAX);
 1338|  2.39k|    else
 1339|  2.39k|      ++begin;
 1340|  4.70k|    if (begin == end || (*begin != '}' && *begin != ':'))
  ------------------
  |  Branch (1340:9): [True: 504, False: 4.20k]
  |  Branch (1340:26): [True: 280, False: 3.92k]
  |  Branch (1340:43): [True: 232, False: 48]
  ------------------
 1341|    736|      report_error("invalid format string");
 1342|  3.96k|    else
 1343|  3.96k|      handler.on_index(index);
 1344|  4.70k|    return begin;
 1345|  4.70k|  }
 1346|  1.03k|  if (FMT_OPTIMIZE_SIZE > 1 || !is_name_start(c)) {
  ------------------
  |  |  295|  1.03k|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1346:7): [Folded, False: 1.03k]
  |  Branch (1346:32): [True: 216, False: 816]
  ------------------
 1347|    216|    report_error("invalid format string");
 1348|    216|    return begin;
 1349|    216|  }
 1350|    816|  auto it = begin;
 1351|  12.0M|  do {
 1352|  12.0M|    ++it;
 1353|  12.0M|  } while (it != end && (is_name_start(*it) || ('0' <= *it && *it <= '9')));
  ------------------
  |  Branch (1353:12): [True: 12.0M, False: 384]
  |  Branch (1353:26): [True: 12.0M, False: 3.44k]
  |  Branch (1353:49): [True: 3.20k, False: 240]
  |  Branch (1353:63): [True: 3.00k, False: 192]
  ------------------
 1354|    816|  handler.on_name({begin, to_unsigned(it - begin)});
 1355|    816|  return it;
 1356|  1.03k|}
_ZN3fmt3v126detail20dynamic_spec_handlerIcE8on_indexEi:
 1363|  3.96k|  FMT_CONSTEXPR void on_index(int id) {
 1364|  3.96k|    ref = id;
 1365|  3.96k|    kind = arg_id_kind::index;
 1366|  3.96k|    ctx.check_arg_id(id);
 1367|  3.96k|    ctx.check_dynamic_spec(id);
 1368|  3.96k|  }
_ZN3fmt3v126detail20dynamic_spec_handlerIcE7on_nameENS0_17basic_string_viewIcEE:
 1369|    816|  FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1370|    816|    ref = id;
 1371|    816|    kind = arg_id_kind::name;
 1372|    816|    ctx.check_arg_id(id);
 1373|    816|  }
_ZN3fmt3v126detail7arg_refIcEC2ENS0_17basic_string_viewIcEE:
 1264|    816|  FMT_CONSTEXPR arg_ref(basic_string_view<Char> n) : name(n) {}
_ZN3fmt3v1211basic_specs17set_dynamic_widthENS0_11arg_id_kindE:
  740|  82.9k|  FMT_CONSTEXPR void set_dynamic_width(arg_id_kind w) {
  741|  82.9k|    data_ = (data_ & ~width_mask) | (unsigned(w) << width_shift);
  742|  82.9k|  }
_ZN3fmt3v126detail15parse_precisionIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1428|  14.2k|                                   parse_context<Char>& ctx) -> const Char* {
 1429|  14.2k|  ++begin;
 1430|  14.2k|  if (begin == end) {
  ------------------
  |  Branch (1430:7): [True: 16, False: 14.2k]
  ------------------
 1431|     16|    report_error("invalid precision");
 1432|     16|    return begin;
 1433|     16|  }
 1434|  14.2k|  auto result =
 1435|  14.2k|      parse_dynamic_spec(begin, end, specs.precision, precision_ref, ctx);
 1436|  14.2k|  specs.set_dynamic_precision(result.kind);
 1437|  14.2k|  return result.end;
 1438|  14.2k|}
_ZN3fmt3v1211basic_specs21set_dynamic_precisionENS0_11arg_id_kindE:
  748|  13.9k|  FMT_CONSTEXPR void set_dynamic_precision(arg_id_kind p) {
  749|  13.9k|    data_ = (data_ & ~precision_mask) | (unsigned(p) << precision_shift);
  750|  13.9k|  }
_ZN3fmt3v1211basic_specs13set_localizedEv:
  773|  13.9k|  FMT_CONSTEXPR void set_localized() { data_ |= localized_mask; }
_ZZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeEENUt0_clENS0_17presentation_typeEi:
 1473|  80.8k|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1474|  80.8k|      if (!in(arg_type, set)) report_error("invalid format specifier");
  ------------------
  |  Branch (1474:11): [True: 408, False: 80.4k]
  ------------------
 1475|  80.8k|      specs.set_type(pres_type);
 1476|  80.8k|      return begin + 1;
 1477|  80.8k|    }
_ZN3fmt3v1211basic_specs8set_typeENS0_17presentation_typeE:
  726|  80.4k|  FMT_CONSTEXPR void set_type(presentation_type t) {
  727|  80.4k|    data_ = (data_ & ~type_mask) | unsigned(t);
  728|  80.4k|  }
_ZN3fmt3v1211basic_specs9set_upperEv:
  764|  3.84k|  FMT_CONSTEXPR void set_upper() { data_ |= uppercase_mask; }
_ZN3fmt3v126detail17code_point_lengthIcEEiPKT_:
 1286|  13.8k|FMT_CONSTEXPR auto code_point_length(const Char* begin) -> int {
 1287|  13.8k|  if FMT_CONSTEXPR20 (sizeof(Char) != 1) return 1;
  ------------------
  |  Branch (1287:23): [Folded, False: 13.8k]
  ------------------
 1288|  13.8k|  auto c = static_cast<unsigned char>(*begin);
 1289|  13.8k|  return static_cast<int>((0x3a55000000000000ull >> (2 * (c >> 3))) & 3) + 1;
 1290|  13.8k|}
_ZN3fmt3v1211basic_specs8set_fillIcEEvNS0_17basic_string_viewIT_EE:
  800|  13.2k|  FMT_CONSTEXPR void set_fill(basic_string_view<Char> s) {
  801|  13.2k|    auto size = s.size();
  802|  13.2k|    set_fill_size(size);
  803|  13.2k|    if (size == 1) {
  ------------------
  |  Branch (803:9): [True: 11.0k, False: 2.16k]
  ------------------
  804|  11.0k|      unsigned uchar = static_cast<detail::unsigned_char<Char>>(s[0]);
  805|  11.0k|      fill_data_[0] = char(uchar);
  806|  11.0k|      fill_data_[1] = char(uchar >> 8);
  807|  11.0k|      fill_data_[2] = char(uchar >> 16);
  808|  11.0k|      return;
  809|  11.0k|    }
  810|  2.16k|    FMT_ASSERT(size <= max_fill_size, "invalid fill");
  ------------------
  |  |  394|  2.16k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:6): [True: 2.16k, False: 0]
  |  |  ------------------
  |  |  395|  2.16k|         ? (void)0                                                          \
  |  |  396|  2.16k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  811|  6.82k|    for (size_t i = 0; i < size; ++i) fill_data_[i & 3] = char(s[i]);
  ------------------
  |  Branch (811:24): [True: 4.65k, False: 2.16k]
  ------------------
  812|  2.16k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE4typeEv:
 2483|   145k|  auto type() const -> detail::type { return type_; }
_ZNK3fmt3v1211basic_specs7dynamicEv:
  752|   141k|  constexpr auto dynamic() const -> bool {
  753|   141k|    return (data_ & (width_mask | precision_mask)) != 0;
  754|   141k|  }
_ZNK3fmt3v127context3argENS0_17basic_string_viewIcEE:
 2650|     16|  inline auto arg(string_view name) const -> format_arg {
 2651|     16|    return args_.get(name);
 2652|     16|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE3getIcEENS0_16basic_format_argIS2_EENS0_17basic_string_viewIT_EE:
 2606|     16|  auto get(basic_string_view<Char> name) const -> format_arg {
 2607|     16|    int id = get_id(name);
 2608|     16|    return id >= 0 ? get(id) : format_arg();
  ------------------
  |  Branch (2608:12): [True: 0, False: 16]
  ------------------
 2609|     16|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail19dynamic_spec_getterEEEDTclfp_Li0EEEOT_:
 2491|  7.11k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2492|  7.11k|    using detail::map;
 2493|  7.11k|    switch (type_) {
  ------------------
  |  Branch (2493:13): [True: 7.11k, False: 0]
  ------------------
 2494|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2494:5): [True: 0, False: 7.11k]
  ------------------
 2495|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2495:5): [True: 0, False: 7.11k]
  ------------------
 2496|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2496:5): [True: 0, False: 7.11k]
  ------------------
 2497|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2497:5): [True: 0, False: 7.11k]
  ------------------
 2498|  7.10k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2498:5): [True: 7.10k, False: 8]
  ------------------
 2499|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2499:5): [True: 0, False: 7.11k]
  ------------------
 2500|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2500:5): [True: 0, False: 7.11k]
  ------------------
 2501|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2501:5): [True: 0, False: 7.11k]
  ------------------
 2502|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2502:5): [True: 0, False: 7.11k]
  ------------------
 2503|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2503:5): [True: 0, False: 7.11k]
  ------------------
 2504|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2504:5): [True: 0, False: 7.11k]
  ------------------
 2505|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2505:5): [True: 0, False: 7.11k]
  ------------------
 2506|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2506:5): [True: 0, False: 7.11k]
  ------------------
 2507|      8|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2507:5): [True: 8, False: 7.10k]
  ------------------
 2508|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2508:5): [True: 0, False: 7.11k]
  ------------------
 2509|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2509:5): [True: 0, False: 7.11k]
  ------------------
 2510|  7.11k|    }
 2511|      0|    return vis(monostate());
 2512|  7.11k|  }
_ZNK3fmt3v1211basic_specs13dynamic_widthEv:
  737|  7.36k|  constexpr auto dynamic_width() const -> arg_id_kind {
  738|  7.36k|    return static_cast<arg_id_kind>((data_ & width_mask) >> width_shift);
  739|  7.36k|  }
_ZNK3fmt3v1211basic_specs17dynamic_precisionEv:
  744|  6.68k|  FMT_CONSTEXPR auto dynamic_precision() const -> arg_id_kind {
  745|  6.68k|    return static_cast<arg_id_kind>((data_ & precision_mask) >>
  746|  6.68k|                                    precision_shift);
  747|  6.68k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail13arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2491|   140k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2492|   140k|    using detail::map;
 2493|   140k|    switch (type_) {
  ------------------
  |  Branch (2493:13): [True: 140k, False: 0]
  ------------------
 2494|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2494:5): [True: 0, False: 140k]
  ------------------
 2495|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2495:5): [True: 0, False: 140k]
  ------------------
 2496|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2496:5): [True: 0, False: 140k]
  ------------------
 2497|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2497:5): [True: 0, False: 140k]
  ------------------
 2498|  68.7k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2498:5): [True: 68.7k, False: 71.6k]
  ------------------
 2499|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2499:5): [True: 0, False: 140k]
  ------------------
 2500|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2500:5): [True: 0, False: 140k]
  ------------------
 2501|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2501:5): [True: 0, False: 140k]
  ------------------
 2502|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2502:5): [True: 0, False: 140k]
  ------------------
 2503|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2503:5): [True: 0, False: 140k]
  ------------------
 2504|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2504:5): [True: 0, False: 140k]
  ------------------
 2505|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2505:5): [True: 0, False: 140k]
  ------------------
 2506|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2506:5): [True: 0, False: 140k]
  ------------------
 2507|  71.6k|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2507:5): [True: 71.6k, False: 68.7k]
  ------------------
 2508|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2508:5): [True: 0, False: 140k]
  ------------------
 2509|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2509:5): [True: 0, False: 140k]
  ------------------
 2510|   140k|    }
 2511|      0|    return vis(monostate());
 2512|   140k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2IRyEEOT_:
 2478|  13.7k|      : value_(val), type_(detail::stored_type_constant<T, Context>::value) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ey:
 2169|  79.9k|  constexpr FMT_INLINE value(ullong x FMT_BUILTIN) : ulong_long_value(x) {}
_ZN3fmt3v126detail4copyIcPKcPcTnNSt3__19enable_ifIXoontcvNS1_23is_back_insert_iteratorIT1_NS6_17integral_constantIbLb1EEEEE_EntoocvNS1_10has_appendIS9_T0_vEE_EcvNS1_10has_insertIS9_SE_vEE_EEiE4typeELi0EEES9_SE_SE_S9_:
 1916|  88.8k|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1917|   309k|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (1917:10): [True: 220k, False: 88.8k]
  ------------------
 1918|  88.8k|  return out;
 1919|  88.8k|}
_ZN3fmt3v126detail15counting_bufferIcEC2Ev:
 2065|   132M|  constexpr counting_buffer() : buffer<T>(grow, data_, 0, buffer_size) {}
_ZNK3fmt3v126detail15counting_bufferIcE5countEv:
 2067|   132M|  constexpr auto count() const noexcept -> size_t {
 2068|   132M|    return count_ + this->size();
 2069|   132M|  }
_ZN3fmt3v126detail4copyIcPKcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SD_NS0_17basic_string_viewISA_EERKNS0_12format_specsEE23bounded_output_iteratorTnNS9_IXoontcvNS1_23is_back_insert_iteratorIT1_NS8_17integral_constantIbLb1EEEEE_EntoocvNS1_10has_appendISL_SD_vEE_EcvNS1_10has_insertISL_SD_vEE_EEiE4typeELi0EEESL_SD_SD_SL_:
 1916|   229M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1917|   276M|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (1917:10): [True: 47.1M, False: 229M]
  ------------------
 1918|   229M|  return out;
 1919|   229M|}
_ZN3fmt3v126detail4copyIcPcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SC_NS0_17basic_string_viewIS9_EERKNS0_12format_specsEE23bounded_output_iteratorTnNS8_IXoontcvNS1_23is_back_insert_iteratorIT1_NS7_17integral_constantIbLb1EEEEE_EntoocvNS1_10has_appendISK_SC_vEE_EcvNS1_10has_insertISK_SC_vEE_EEiE4typeELi0EEESK_SC_SC_SK_:
 1916|   216M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1917|   653M|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (1917:10): [True: 437M, False: 216M]
  ------------------
 1918|   216M|  return out;
 1919|   216M|}
_ZNK3fmt3v127context6localeEv:
 2664|   140k|  constexpr auto locale() const -> locale_ref { return loc_; }
_ZN3fmt3v1213parse_contextIcEC2ENS0_17basic_string_viewIcEEi:
  848|  44.8k|      : fmt_(fmt), next_arg_id_(next_arg_id) {}
_ZN3fmt3v127contextC2ENS0_14basic_appenderIcEENS0_17basic_format_argsIS1_EENS0_10locale_refE:
 2644|  44.8k|      : out_(out), args_(args), loc_(loc) {}
_ZN3fmt3v1210locale_refC2Ev:
  901|  45.5k|  constexpr locale_ref() : locale_(nullptr) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ei:
 2163|  12.4k|  constexpr FMT_INLINE value(int x) : int_value(x) {}
_ZN3fmt3v126detail13ignore_unusedIJNS0_17basic_string_viewIcEEEEEvDpRKT_:
  368|  12.4k|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZN3fmt3v126detail13ignore_unusedIJiEEEvDpRKT_:
  368|  12.4k|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZN3fmt3v126detail6bufferIcE5beginEv:
 1782|  8.19k|  auto begin() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail6bufferIcE3endEv:
 1783|  8.19k|  auto end() noexcept -> T* { return ptr_ + size_; }
_ZNK3fmt3v126detail6bufferIcE4dataEv:
 1796|  20.6k|  FMT_CONSTEXPR auto data() const noexcept -> const T* { return ptr_; }
_ZN3fmt3v126detail5valueINS0_7contextEEC2EPKc:
 2189|  24.8k|  FMT_CONSTEXPR FMT_INLINE value(const char_type* x FMT_BUILTIN) {
 2190|  24.8k|    string.data = x;
 2191|  24.8k|    if (is_constant_evaluated()) string.size = 0;
  ------------------
  |  Branch (2191:9): [Folded, False: 24.8k]
  ------------------
 2192|  24.8k|  }
_ZN3fmt3v1217basic_format_argsINS0_7contextEEC2ILi3ELi0ELy460ETnNSt3__19enable_ifIXleT_LNS0_6detail3$_0E15EEiE4typeELi0EEERKNS7_16format_arg_storeIS2_XT_EXT0_EXT1_EEE:
 2576|  12.4k|      : desc_(DESC | (NUM_NAMED_ARGS != 0 ? +detail::has_named_args_bit : 0)),
  ------------------
  |  Branch (2576:23): [Folded, False: 12.4k]
  ------------------
 2577|  12.4k|        values_(s.args) {}
_ZN3fmt3v126detail10get_bufferIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr18is_buffer_appenderIT0_EE5valueEiE4typeELi0EEERNS1_6bufferIT_EES7_:
 2093|  33.0k|auto get_buffer(OutputIt out) -> buffer<T>& {
 2094|  33.0k|  return get_container(out);
 2095|  33.0k|}
_ZN3fmt3v126detail12get_iteratorIcNS0_14basic_appenderIcEEEET0_RNS1_6bufferIT_EES5_:
 2102|  8.19k|auto get_iterator(buffer<T>&, OutputIt out) -> OutputIt {
 2103|  8.19k|  return out;
 2104|  8.19k|}
_ZN3fmt3v127fstringIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEC2IPKcTnNS4_9enable_ifIXsr3std14is_convertibleIRKT_NS0_17basic_string_viewIcEEEE5valueEiE4typeELi0EEESK_:
 2712|  41.3k|  FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) {
 2713|  41.3k|    if (FMT_USE_CONSTEVAL)
  ------------------
  |  |  120|  41.3k|#  define FMT_USE_CONSTEVAL 0
  |  |  ------------------
  |  |  |  Branch (120:29): [Folded, False: 41.3k]
  |  |  ------------------
  ------------------
 2714|      0|      detail::parse_format_string<char>(str, checker(str, arg_pack()));
 2715|  41.3k|    constexpr bool unused = detail::enforce_compile_checks<sizeof(s) != 0>();
 2716|  41.3k|    (void)unused;
 2717|  41.3k|  }
_ZN3fmt3v1210vformat_toINS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr6detail18is_output_iteratorINS4_9remove_cvINS4_16remove_referenceIT_E4typeEE4typeEcEE5valueEiE4typeELi0EEESC_OS8_NS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEE:
 2796|  33.0k|    -> remove_cvref_t<OutputIt> {
 2797|  33.0k|  auto&& buf = detail::get_buffer<char>(out);
 2798|  33.0k|  detail::vformat_to(buf, fmt, args, {});
 2799|  33.0k|  return detail::get_iterator(buf, out);
 2800|  33.0k|}
_ZN3fmt3v1216make_format_argsINS0_7contextEJKmS3_KNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEELi3ELi0ELy3396EEENS0_6detail16format_arg_storeIT_XT1_EXT2_EXT3_EEEDpRT0_:
 2763|  33.0k|    -> detail::format_arg_store<Context, NUM_ARGS, NUM_NAMED_ARGS, DESC> {
 2764|  33.0k|  return {{args...}};
 2765|  33.0k|}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Em:
 2167|  66.1k|      : value(ulong_type(x)) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2INSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEcTnNS6_9enable_ifIXntsr3std10is_pointerIT_EE5valueEiE4typeELi0EEERKSE_:
 2195|  33.0k|  FMT_CONSTEXPR value(const T& x FMT_BUILTIN) {
 2196|  33.0k|    static_assert(std::is_same<C, char_type>::value,
 2197|  33.0k|                  "mixing character types is disallowed");
 2198|  33.0k|    auto sv = to_string_view(x);
 2199|  33.0k|    string.data = sv.data();
 2200|  33.0k|    string.size = sv.size();
 2201|  33.0k|  }
_ZN3fmt3v126detail14to_string_viewINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEETnNS3_9enable_ifIXsr18is_std_string_likeIT_EE5valueEiE4typeELi0EEENS0_17basic_string_viewINSB_10value_typeEEERKSB_:
  942|  33.0k|    -> basic_string_view<typename T::value_type> {
  943|  33.0k|  return s;
  944|  33.0k|}
_ZN3fmt3v1217basic_format_argsINS0_7contextEEC2ILi3ELi0ELy3396ETnNSt3__19enable_ifIXleT_LNS0_6detail3$_0E15EEiE4typeELi0EEERKNS7_16format_arg_storeIS2_XT_EXT0_EXT1_EEE:
 2576|  33.0k|      : desc_(DESC | (NUM_NAMED_ARGS != 0 ? +detail::has_named_args_bit : 0)),
  ------------------
  |  Branch (2576:23): [Folded, False: 33.0k]
  ------------------
 2577|  33.0k|        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_:
 2721|  12.4k|  FMT_ALWAYS_INLINE fstring(const S&) : str(S()) {
 2722|  12.4k|    FMT_CONSTEXPR auto sv = string_view(S());
  ------------------
  |  |  111|  12.4k|#  define FMT_CONSTEXPR constexpr
  ------------------
 2723|  12.4k|    FMT_CONSTEXPR int x = (parse_format_string(sv, checker(sv, arg_pack())), 0);
  ------------------
  |  |  111|  12.4k|#  define FMT_CONSTEXPR constexpr
  ------------------
 2724|  12.4k|    detail::ignore_unused(x);
 2725|  12.4k|  }
_ZNK3fmt3v127fstringIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE3getEv:
 2729|  41.3k|  auto get() const -> string_view { return str; }

_ZN3fmt3v126detail8allocateEm:
   85|  34.7k|FMT_FUNC auto allocate(size_t size) -> void* {
   86|  34.7k|  void* p = malloc(size);
   87|  34.7k|  if (!p) FMT_THROW(std::bad_alloc());
  ------------------
  |  |  166|      0|#  define FMT_THROW(x) throw x
  ------------------
  |  Branch (87:7): [True: 0, False: 34.7k]
  ------------------
   88|  34.7k|  return p;
   89|  34.7k|}
_ZN3fmt3v126detail10vformat_toERNS1_6bufferIcEENS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEENS0_10locale_refE:
 1467|  45.5k|                         locale_ref loc) {
 1468|  45.5k|  auto out = appender(buf);
 1469|  45.5k|  if (fmt.size() == 2 && equal2(fmt.data(), "{}"))
  ------------------
  |  Branch (1469:7): [True: 2.04k, False: 43.4k]
  |  Branch (1469:26): [True: 704, False: 1.33k]
  ------------------
 1470|    704|    return args.get(0).visit(default_arg_formatter<char>{out});
 1471|  44.8k|  parse_format_string(fmt,
 1472|  44.8k|                      format_handler<>{parse_context<>(fmt), {out, args, loc}});
 1473|  44.8k|}
_ZN3fmt3v126detail9write_locENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsENS0_10locale_refE:
  143|  13.7k|                        const format_specs& specs, locale_ref loc) -> bool {
  144|  13.7k|  auto locale = loc.get<std::locale>();
  145|       |  // We cannot use the num_put<char> facet because it may produce output in
  146|       |  // a wrong encoding.
  147|  13.7k|  using facet = format_facet<std::locale>;
  148|  13.7k|  if (std::has_facet<facet>(locale))
  ------------------
  |  Branch (148:7): [True: 0, False: 13.7k]
  ------------------
  149|      0|    return use_facet<facet>(locale).put(out, value, specs);
  150|  13.7k|  return facet(locale).put(out, value, specs);
  151|  13.7k|}
_ZNK3fmt3v1210locale_ref3getINSt3__16localeEEET_v:
   74|  13.7k|template <typename Locale> auto locale_ref::get() const -> Locale {
   75|  13.7k|  using namespace detail;
   76|  13.7k|  static_assert(std::is_same<Locale, locale>::value, "");
   77|  13.7k|#if FMT_USE_LOCALE
   78|  13.7k|  if (locale_) return *static_cast<const locale*>(locale_);
  ------------------
  |  Branch (78:7): [True: 0, False: 13.7k]
  ------------------
   79|  13.7k|#endif
   80|  13.7k|  return locale();
   81|  13.7k|}
_ZN3fmt3v1212format_facetINSt3__16localeEEC2ERS3_:
  167|  13.7k|template <typename Locale> format_facet<Locale>::format_facet(Locale& loc) {
  168|  13.7k|  auto& np = detail::use_facet<detail::numpunct<char>>(loc);
  169|  13.7k|  grouping_ = np.grouping();
  170|  13.7k|  if (!grouping_.empty()) separator_ = std::string(1, np.thousands_sep());
  ------------------
  |  Branch (170:7): [True: 0, False: 13.7k]
  ------------------
  171|  13.7k|}
_ZNK3fmt3v1212format_facetINSt3__16localeEE6do_putENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsE:
  176|  13.7k|    appender out, loc_value val, const format_specs& specs) const -> bool {
  177|  13.7k|  return val.visit(
  178|  13.7k|      detail::loc_writer<>{out, specs, separator_, grouping_, decimal_point_});
  179|  13.7k|}
_ZN3fmt3v126detail12is_printableEj:
 1819|   274M|FMT_FUNC auto is_printable(uint32_t cp) -> bool {
 1820|   274M|  static constexpr singleton singletons0[] = {
 1821|   274M|      {0x00, 1},  {0x03, 5},  {0x05, 6},  {0x06, 3},  {0x07, 6},  {0x08, 8},
 1822|   274M|      {0x09, 17}, {0x0a, 28}, {0x0b, 25}, {0x0c, 20}, {0x0d, 16}, {0x0e, 13},
 1823|   274M|      {0x0f, 4},  {0x10, 3},  {0x12, 18}, {0x13, 9},  {0x16, 1},  {0x17, 5},
 1824|   274M|      {0x18, 2},  {0x19, 3},  {0x1a, 7},  {0x1c, 2},  {0x1d, 1},  {0x1f, 22},
 1825|   274M|      {0x20, 3},  {0x2b, 3},  {0x2c, 2},  {0x2d, 11}, {0x2e, 1},  {0x30, 3},
 1826|   274M|      {0x31, 2},  {0x32, 1},  {0xa7, 2},  {0xa9, 2},  {0xaa, 4},  {0xab, 8},
 1827|   274M|      {0xfa, 2},  {0xfb, 5},  {0xfd, 4},  {0xfe, 3},  {0xff, 9},
 1828|   274M|  };
 1829|   274M|  static constexpr unsigned char singletons0_lower[] = {
 1830|   274M|      0xad, 0x78, 0x79, 0x8b, 0x8d, 0xa2, 0x30, 0x57, 0x58, 0x8b, 0x8c, 0x90,
 1831|   274M|      0x1c, 0x1d, 0xdd, 0x0e, 0x0f, 0x4b, 0x4c, 0xfb, 0xfc, 0x2e, 0x2f, 0x3f,
 1832|   274M|      0x5c, 0x5d, 0x5f, 0xb5, 0xe2, 0x84, 0x8d, 0x8e, 0x91, 0x92, 0xa9, 0xb1,
 1833|   274M|      0xba, 0xbb, 0xc5, 0xc6, 0xc9, 0xca, 0xde, 0xe4, 0xe5, 0xff, 0x00, 0x04,
 1834|   274M|      0x11, 0x12, 0x29, 0x31, 0x34, 0x37, 0x3a, 0x3b, 0x3d, 0x49, 0x4a, 0x5d,
 1835|   274M|      0x84, 0x8e, 0x92, 0xa9, 0xb1, 0xb4, 0xba, 0xbb, 0xc6, 0xca, 0xce, 0xcf,
 1836|   274M|      0xe4, 0xe5, 0x00, 0x04, 0x0d, 0x0e, 0x11, 0x12, 0x29, 0x31, 0x34, 0x3a,
 1837|   274M|      0x3b, 0x45, 0x46, 0x49, 0x4a, 0x5e, 0x64, 0x65, 0x84, 0x91, 0x9b, 0x9d,
 1838|   274M|      0xc9, 0xce, 0xcf, 0x0d, 0x11, 0x29, 0x45, 0x49, 0x57, 0x64, 0x65, 0x8d,
 1839|   274M|      0x91, 0xa9, 0xb4, 0xba, 0xbb, 0xc5, 0xc9, 0xdf, 0xe4, 0xe5, 0xf0, 0x0d,
 1840|   274M|      0x11, 0x45, 0x49, 0x64, 0x65, 0x80, 0x84, 0xb2, 0xbc, 0xbe, 0xbf, 0xd5,
 1841|   274M|      0xd7, 0xf0, 0xf1, 0x83, 0x85, 0x8b, 0xa4, 0xa6, 0xbe, 0xbf, 0xc5, 0xc7,
 1842|   274M|      0xce, 0xcf, 0xda, 0xdb, 0x48, 0x98, 0xbd, 0xcd, 0xc6, 0xce, 0xcf, 0x49,
 1843|   274M|      0x4e, 0x4f, 0x57, 0x59, 0x5e, 0x5f, 0x89, 0x8e, 0x8f, 0xb1, 0xb6, 0xb7,
 1844|   274M|      0xbf, 0xc1, 0xc6, 0xc7, 0xd7, 0x11, 0x16, 0x17, 0x5b, 0x5c, 0xf6, 0xf7,
 1845|   274M|      0xfe, 0xff, 0x80, 0x0d, 0x6d, 0x71, 0xde, 0xdf, 0x0e, 0x0f, 0x1f, 0x6e,
 1846|   274M|      0x6f, 0x1c, 0x1d, 0x5f, 0x7d, 0x7e, 0xae, 0xaf, 0xbb, 0xbc, 0xfa, 0x16,
 1847|   274M|      0x17, 0x1e, 0x1f, 0x46, 0x47, 0x4e, 0x4f, 0x58, 0x5a, 0x5c, 0x5e, 0x7e,
 1848|   274M|      0x7f, 0xb5, 0xc5, 0xd4, 0xd5, 0xdc, 0xf0, 0xf1, 0xf5, 0x72, 0x73, 0x8f,
 1849|   274M|      0x74, 0x75, 0x96, 0x2f, 0x5f, 0x26, 0x2e, 0x2f, 0xa7, 0xaf, 0xb7, 0xbf,
 1850|   274M|      0xc7, 0xcf, 0xd7, 0xdf, 0x9a, 0x40, 0x97, 0x98, 0x30, 0x8f, 0x1f, 0xc0,
 1851|   274M|      0xc1, 0xce, 0xff, 0x4e, 0x4f, 0x5a, 0x5b, 0x07, 0x08, 0x0f, 0x10, 0x27,
 1852|   274M|      0x2f, 0xee, 0xef, 0x6e, 0x6f, 0x37, 0x3d, 0x3f, 0x42, 0x45, 0x90, 0x91,
 1853|   274M|      0xfe, 0xff, 0x53, 0x67, 0x75, 0xc8, 0xc9, 0xd0, 0xd1, 0xd8, 0xd9, 0xe7,
 1854|   274M|      0xfe, 0xff,
 1855|   274M|  };
 1856|   274M|  static constexpr singleton singletons1[] = {
 1857|   274M|      {0x00, 6},  {0x01, 1}, {0x03, 1},  {0x04, 2}, {0x08, 8},  {0x09, 2},
 1858|   274M|      {0x0a, 5},  {0x0b, 2}, {0x0e, 4},  {0x10, 1}, {0x11, 2},  {0x12, 5},
 1859|   274M|      {0x13, 17}, {0x14, 1}, {0x15, 2},  {0x17, 2}, {0x19, 13}, {0x1c, 5},
 1860|   274M|      {0x1d, 8},  {0x24, 1}, {0x6a, 3},  {0x6b, 2}, {0xbc, 2},  {0xd1, 2},
 1861|   274M|      {0xd4, 12}, {0xd5, 9}, {0xd6, 2},  {0xd7, 2}, {0xda, 1},  {0xe0, 5},
 1862|   274M|      {0xe1, 2},  {0xe8, 2}, {0xee, 32}, {0xf0, 4}, {0xf8, 2},  {0xf9, 2},
 1863|   274M|      {0xfa, 2},  {0xfb, 1},
 1864|   274M|  };
 1865|   274M|  static constexpr unsigned char singletons1_lower[] = {
 1866|   274M|      0x0c, 0x27, 0x3b, 0x3e, 0x4e, 0x4f, 0x8f, 0x9e, 0x9e, 0x9f, 0x06, 0x07,
 1867|   274M|      0x09, 0x36, 0x3d, 0x3e, 0x56, 0xf3, 0xd0, 0xd1, 0x04, 0x14, 0x18, 0x36,
 1868|   274M|      0x37, 0x56, 0x57, 0x7f, 0xaa, 0xae, 0xaf, 0xbd, 0x35, 0xe0, 0x12, 0x87,
 1869|   274M|      0x89, 0x8e, 0x9e, 0x04, 0x0d, 0x0e, 0x11, 0x12, 0x29, 0x31, 0x34, 0x3a,
 1870|   274M|      0x45, 0x46, 0x49, 0x4a, 0x4e, 0x4f, 0x64, 0x65, 0x5c, 0xb6, 0xb7, 0x1b,
 1871|   274M|      0x1c, 0x07, 0x08, 0x0a, 0x0b, 0x14, 0x17, 0x36, 0x39, 0x3a, 0xa8, 0xa9,
 1872|   274M|      0xd8, 0xd9, 0x09, 0x37, 0x90, 0x91, 0xa8, 0x07, 0x0a, 0x3b, 0x3e, 0x66,
 1873|   274M|      0x69, 0x8f, 0x92, 0x6f, 0x5f, 0xee, 0xef, 0x5a, 0x62, 0x9a, 0x9b, 0x27,
 1874|   274M|      0x28, 0x55, 0x9d, 0xa0, 0xa1, 0xa3, 0xa4, 0xa7, 0xa8, 0xad, 0xba, 0xbc,
 1875|   274M|      0xc4, 0x06, 0x0b, 0x0c, 0x15, 0x1d, 0x3a, 0x3f, 0x45, 0x51, 0xa6, 0xa7,
 1876|   274M|      0xcc, 0xcd, 0xa0, 0x07, 0x19, 0x1a, 0x22, 0x25, 0x3e, 0x3f, 0xc5, 0xc6,
 1877|   274M|      0x04, 0x20, 0x23, 0x25, 0x26, 0x28, 0x33, 0x38, 0x3a, 0x48, 0x4a, 0x4c,
 1878|   274M|      0x50, 0x53, 0x55, 0x56, 0x58, 0x5a, 0x5c, 0x5e, 0x60, 0x63, 0x65, 0x66,
 1879|   274M|      0x6b, 0x73, 0x78, 0x7d, 0x7f, 0x8a, 0xa4, 0xaa, 0xaf, 0xb0, 0xc0, 0xd0,
 1880|   274M|      0xae, 0xaf, 0x79, 0xcc, 0x6e, 0x6f, 0x93,
 1881|   274M|  };
 1882|   274M|  static constexpr unsigned char normal0[] = {
 1883|   274M|      0x00, 0x20, 0x5f, 0x22, 0x82, 0xdf, 0x04, 0x82, 0x44, 0x08, 0x1b, 0x04,
 1884|   274M|      0x06, 0x11, 0x81, 0xac, 0x0e, 0x80, 0xab, 0x35, 0x28, 0x0b, 0x80, 0xe0,
 1885|   274M|      0x03, 0x19, 0x08, 0x01, 0x04, 0x2f, 0x04, 0x34, 0x04, 0x07, 0x03, 0x01,
 1886|   274M|      0x07, 0x06, 0x07, 0x11, 0x0a, 0x50, 0x0f, 0x12, 0x07, 0x55, 0x07, 0x03,
 1887|   274M|      0x04, 0x1c, 0x0a, 0x09, 0x03, 0x08, 0x03, 0x07, 0x03, 0x02, 0x03, 0x03,
 1888|   274M|      0x03, 0x0c, 0x04, 0x05, 0x03, 0x0b, 0x06, 0x01, 0x0e, 0x15, 0x05, 0x3a,
 1889|   274M|      0x03, 0x11, 0x07, 0x06, 0x05, 0x10, 0x07, 0x57, 0x07, 0x02, 0x07, 0x15,
 1890|   274M|      0x0d, 0x50, 0x04, 0x43, 0x03, 0x2d, 0x03, 0x01, 0x04, 0x11, 0x06, 0x0f,
 1891|   274M|      0x0c, 0x3a, 0x04, 0x1d, 0x25, 0x5f, 0x20, 0x6d, 0x04, 0x6a, 0x25, 0x80,
 1892|   274M|      0xc8, 0x05, 0x82, 0xb0, 0x03, 0x1a, 0x06, 0x82, 0xfd, 0x03, 0x59, 0x07,
 1893|   274M|      0x15, 0x0b, 0x17, 0x09, 0x14, 0x0c, 0x14, 0x0c, 0x6a, 0x06, 0x0a, 0x06,
 1894|   274M|      0x1a, 0x06, 0x59, 0x07, 0x2b, 0x05, 0x46, 0x0a, 0x2c, 0x04, 0x0c, 0x04,
 1895|   274M|      0x01, 0x03, 0x31, 0x0b, 0x2c, 0x04, 0x1a, 0x06, 0x0b, 0x03, 0x80, 0xac,
 1896|   274M|      0x06, 0x0a, 0x06, 0x21, 0x3f, 0x4c, 0x04, 0x2d, 0x03, 0x74, 0x08, 0x3c,
 1897|   274M|      0x03, 0x0f, 0x03, 0x3c, 0x07, 0x38, 0x08, 0x2b, 0x05, 0x82, 0xff, 0x11,
 1898|   274M|      0x18, 0x08, 0x2f, 0x11, 0x2d, 0x03, 0x20, 0x10, 0x21, 0x0f, 0x80, 0x8c,
 1899|   274M|      0x04, 0x82, 0x97, 0x19, 0x0b, 0x15, 0x88, 0x94, 0x05, 0x2f, 0x05, 0x3b,
 1900|   274M|      0x07, 0x02, 0x0e, 0x18, 0x09, 0x80, 0xb3, 0x2d, 0x74, 0x0c, 0x80, 0xd6,
 1901|   274M|      0x1a, 0x0c, 0x05, 0x80, 0xff, 0x05, 0x80, 0xdf, 0x0c, 0xee, 0x0d, 0x03,
 1902|   274M|      0x84, 0x8d, 0x03, 0x37, 0x09, 0x81, 0x5c, 0x14, 0x80, 0xb8, 0x08, 0x80,
 1903|   274M|      0xcb, 0x2a, 0x38, 0x03, 0x0a, 0x06, 0x38, 0x08, 0x46, 0x08, 0x0c, 0x06,
 1904|   274M|      0x74, 0x0b, 0x1e, 0x03, 0x5a, 0x04, 0x59, 0x09, 0x80, 0x83, 0x18, 0x1c,
 1905|   274M|      0x0a, 0x16, 0x09, 0x4c, 0x04, 0x80, 0x8a, 0x06, 0xab, 0xa4, 0x0c, 0x17,
 1906|   274M|      0x04, 0x31, 0xa1, 0x04, 0x81, 0xda, 0x26, 0x07, 0x0c, 0x05, 0x05, 0x80,
 1907|   274M|      0xa5, 0x11, 0x81, 0x6d, 0x10, 0x78, 0x28, 0x2a, 0x06, 0x4c, 0x04, 0x80,
 1908|   274M|      0x8d, 0x04, 0x80, 0xbe, 0x03, 0x1b, 0x03, 0x0f, 0x0d,
 1909|   274M|  };
 1910|   274M|  static constexpr unsigned char normal1[] = {
 1911|   274M|      0x5e, 0x22, 0x7b, 0x05, 0x03, 0x04, 0x2d, 0x03, 0x66, 0x03, 0x01, 0x2f,
 1912|   274M|      0x2e, 0x80, 0x82, 0x1d, 0x03, 0x31, 0x0f, 0x1c, 0x04, 0x24, 0x09, 0x1e,
 1913|   274M|      0x05, 0x2b, 0x05, 0x44, 0x04, 0x0e, 0x2a, 0x80, 0xaa, 0x06, 0x24, 0x04,
 1914|   274M|      0x24, 0x04, 0x28, 0x08, 0x34, 0x0b, 0x01, 0x80, 0x90, 0x81, 0x37, 0x09,
 1915|   274M|      0x16, 0x0a, 0x08, 0x80, 0x98, 0x39, 0x03, 0x63, 0x08, 0x09, 0x30, 0x16,
 1916|   274M|      0x05, 0x21, 0x03, 0x1b, 0x05, 0x01, 0x40, 0x38, 0x04, 0x4b, 0x05, 0x2f,
 1917|   274M|      0x04, 0x0a, 0x07, 0x09, 0x07, 0x40, 0x20, 0x27, 0x04, 0x0c, 0x09, 0x36,
 1918|   274M|      0x03, 0x3a, 0x05, 0x1a, 0x07, 0x04, 0x0c, 0x07, 0x50, 0x49, 0x37, 0x33,
 1919|   274M|      0x0d, 0x33, 0x07, 0x2e, 0x08, 0x0a, 0x81, 0x26, 0x52, 0x4e, 0x28, 0x08,
 1920|   274M|      0x2a, 0x56, 0x1c, 0x14, 0x17, 0x09, 0x4e, 0x04, 0x1e, 0x0f, 0x43, 0x0e,
 1921|   274M|      0x19, 0x07, 0x0a, 0x06, 0x48, 0x08, 0x27, 0x09, 0x75, 0x0b, 0x3f, 0x41,
 1922|   274M|      0x2a, 0x06, 0x3b, 0x05, 0x0a, 0x06, 0x51, 0x06, 0x01, 0x05, 0x10, 0x03,
 1923|   274M|      0x05, 0x80, 0x8b, 0x62, 0x1e, 0x48, 0x08, 0x0a, 0x80, 0xa6, 0x5e, 0x22,
 1924|   274M|      0x45, 0x0b, 0x0a, 0x06, 0x0d, 0x13, 0x39, 0x07, 0x0a, 0x36, 0x2c, 0x04,
 1925|   274M|      0x10, 0x80, 0xc0, 0x3c, 0x64, 0x53, 0x0c, 0x48, 0x09, 0x0a, 0x46, 0x45,
 1926|   274M|      0x1b, 0x48, 0x08, 0x53, 0x1d, 0x39, 0x81, 0x07, 0x46, 0x0a, 0x1d, 0x03,
 1927|   274M|      0x47, 0x49, 0x37, 0x03, 0x0e, 0x08, 0x0a, 0x06, 0x39, 0x07, 0x0a, 0x81,
 1928|   274M|      0x36, 0x19, 0x80, 0xb7, 0x01, 0x0f, 0x32, 0x0d, 0x83, 0x9b, 0x66, 0x75,
 1929|   274M|      0x0b, 0x80, 0xc4, 0x8a, 0xbc, 0x84, 0x2f, 0x8f, 0xd1, 0x82, 0x47, 0xa1,
 1930|   274M|      0xb9, 0x82, 0x39, 0x07, 0x2a, 0x04, 0x02, 0x60, 0x26, 0x0a, 0x46, 0x0a,
 1931|   274M|      0x28, 0x05, 0x13, 0x82, 0xb0, 0x5b, 0x65, 0x4b, 0x04, 0x39, 0x07, 0x11,
 1932|   274M|      0x40, 0x05, 0x0b, 0x02, 0x0e, 0x97, 0xf8, 0x08, 0x84, 0xd6, 0x2a, 0x09,
 1933|   274M|      0xa2, 0xf7, 0x81, 0x1f, 0x31, 0x03, 0x11, 0x04, 0x08, 0x81, 0x8c, 0x89,
 1934|   274M|      0x04, 0x6b, 0x05, 0x0d, 0x03, 0x09, 0x07, 0x10, 0x93, 0x60, 0x80, 0xf6,
 1935|   274M|      0x0a, 0x73, 0x08, 0x6e, 0x17, 0x46, 0x80, 0x9a, 0x14, 0x0c, 0x57, 0x09,
 1936|   274M|      0x19, 0x80, 0x87, 0x81, 0x47, 0x03, 0x85, 0x42, 0x0f, 0x15, 0x85, 0x50,
 1937|   274M|      0x2b, 0x80, 0xd5, 0x2d, 0x03, 0x1a, 0x04, 0x02, 0x81, 0x70, 0x3a, 0x05,
 1938|   274M|      0x01, 0x85, 0x00, 0x80, 0xd7, 0x29, 0x4c, 0x04, 0x0a, 0x04, 0x02, 0x83,
 1939|   274M|      0x11, 0x44, 0x4c, 0x3d, 0x80, 0xc2, 0x3c, 0x06, 0x01, 0x04, 0x55, 0x05,
 1940|   274M|      0x1b, 0x34, 0x02, 0x81, 0x0e, 0x2c, 0x04, 0x64, 0x0c, 0x56, 0x0a, 0x80,
 1941|   274M|      0xae, 0x38, 0x1d, 0x0d, 0x2c, 0x04, 0x09, 0x07, 0x02, 0x0e, 0x06, 0x80,
 1942|   274M|      0x9a, 0x83, 0xd8, 0x08, 0x0d, 0x03, 0x0d, 0x03, 0x74, 0x0c, 0x59, 0x07,
 1943|   274M|      0x0c, 0x14, 0x0c, 0x04, 0x38, 0x08, 0x0a, 0x06, 0x28, 0x08, 0x22, 0x4e,
 1944|   274M|      0x81, 0x54, 0x0c, 0x15, 0x03, 0x03, 0x05, 0x07, 0x09, 0x19, 0x07, 0x07,
 1945|   274M|      0x09, 0x03, 0x0d, 0x07, 0x29, 0x80, 0xcb, 0x25, 0x0a, 0x84, 0x06,
 1946|   274M|  };
 1947|   274M|  auto lower = static_cast<uint16_t>(cp);
 1948|   274M|  if (cp < 0x10000) {
  ------------------
  |  Branch (1948:7): [True: 150M, False: 124M]
  ------------------
 1949|   150M|    return is_printable(lower, singletons0,
 1950|   150M|                        sizeof(singletons0) / sizeof(*singletons0),
 1951|   150M|                        singletons0_lower, normal0, sizeof(normal0));
 1952|   150M|  }
 1953|   124M|  if (cp < 0x20000) {
  ------------------
  |  Branch (1953:7): [True: 759k, False: 123M]
  ------------------
 1954|   759k|    return is_printable(lower, singletons1,
 1955|   759k|                        sizeof(singletons1) / sizeof(*singletons1),
 1956|   759k|                        singletons1_lower, normal1, sizeof(normal1));
 1957|   759k|  }
 1958|   123M|  if (0x2a6de <= cp && cp < 0x2a700) return false;
  ------------------
  |  Branch (1958:7): [True: 123M, False: 10.7k]
  |  Branch (1958:24): [True: 65.4k, False: 123M]
  ------------------
 1959|   123M|  if (0x2b735 <= cp && cp < 0x2b740) return false;
  ------------------
  |  Branch (1959:7): [True: 123M, False: 15.4k]
  |  Branch (1959:24): [True: 4.71k, False: 123M]
  ------------------
 1960|   123M|  if (0x2b81e <= cp && cp < 0x2b820) return false;
  ------------------
  |  Branch (1960:7): [True: 123M, False: 16.0k]
  |  Branch (1960:24): [True: 2.12k, False: 123M]
  ------------------
 1961|   123M|  if (0x2cea2 <= cp && cp < 0x2ceb0) return false;
  ------------------
  |  Branch (1961:7): [True: 123M, False: 21.5k]
  |  Branch (1961:24): [True: 28.1k, False: 123M]
  ------------------
 1962|   123M|  if (0x2ebe1 <= cp && cp < 0x2f800) return false;
  ------------------
  |  Branch (1962:7): [True: 123M, False: 40.4k]
  |  Branch (1962:24): [True: 54.4k, False: 123M]
  ------------------
 1963|   123M|  if (0x2fa1e <= cp && cp < 0x30000) return false;
  ------------------
  |  Branch (1963:7): [True: 123M, False: 40.8k]
  |  Branch (1963:24): [True: 7.37k, False: 123M]
  ------------------
 1964|   123M|  if (0x3134b <= cp && cp < 0xe0100) return false;
  ------------------
  |  Branch (1964:7): [True: 123M, False: 42.8k]
  |  Branch (1964:24): [True: 64.4k, False: 123M]
  ------------------
 1965|   123M|  if (0xe01f0 <= cp && cp < 0x110000) return false;
  ------------------
  |  Branch (1965:7): [True: 123M, False: 46.4k]
  |  Branch (1965:24): [True: 35.7k, False: 123M]
  ------------------
 1966|   123M|  return cp < 0x110000;
 1967|   123M|}
_ZN3fmt3v126detail12is_printableEtPKNS1_9singletonEmPKhS6_m:
 1791|   151M|    -> bool {
 1792|   151M|  auto upper = x >> 8;
 1793|   151M|  auto lower_start = 0;
 1794|   347M|  for (size_t i = 0; i < singletons_size; ++i) {
  ------------------
  |  Branch (1794:22): [True: 347M, False: 184k]
  ------------------
 1795|   347M|    auto s = singletons[i];
 1796|   347M|    auto lower_end = lower_start + s.lower_count;
 1797|   347M|    if (upper < s.upper) break;
  ------------------
  |  Branch (1797:9): [True: 149M, False: 197M]
  ------------------
 1798|   197M|    if (upper == s.upper) {
  ------------------
  |  Branch (1798:9): [True: 150M, False: 47.2M]
  ------------------
 1799|   307M|      for (auto j = lower_start; j < lower_end; ++j) {
  ------------------
  |  Branch (1799:34): [True: 158M, False: 148M]
  ------------------
 1800|   158M|        if (singleton_lowers[j] == (x & 0xff)) return false;
  ------------------
  |  Branch (1800:13): [True: 1.22M, False: 157M]
  ------------------
 1801|   158M|      }
 1802|   150M|    }
 1803|   196M|    lower_start = lower_end;
 1804|   196M|  }
 1805|       |
 1806|   149M|  auto xsigned = static_cast<int>(x);
 1807|   149M|  auto current = true;
 1808|   793M|  for (size_t i = 0; i < normal_size; ++i) {
  ------------------
  |  Branch (1808:22): [True: 792M, False: 126k]
  ------------------
 1809|   792M|    auto v = static_cast<int>(normal[i]);
 1810|   792M|    auto len = (v & 0x80) != 0 ? (v & 0x7f) << 8 | normal[++i] : v;
  ------------------
  |  Branch (1810:16): [True: 42.4M, False: 750M]
  ------------------
 1811|   792M|    xsigned -= len;
 1812|   792M|    if (xsigned < 0) break;
  ------------------
  |  Branch (1812:9): [True: 149M, False: 643M]
  ------------------
 1813|   643M|    current = !current;
 1814|   643M|  }
 1815|   149M|  return current;
 1816|   151M|}
_ZN3fmt3v1212report_errorEPKc:
  155|  24.8k|FMT_FUNC void report_error(const char* message) {
  156|       |#if FMT_MSC_VERSION || defined(__NVCC__)
  157|       |  // Silence unreachable code warnings in MSVC and NVCC because these
  158|       |  // are nearly impossible to fix in a generic code.
  159|       |  volatile bool b = true;
  160|       |  if (!b) return;
  161|       |#endif
  162|  24.8k|  FMT_THROW(format_error(message));
  ------------------
  |  |  166|  24.8k|#  define FMT_THROW(x) throw x
  ------------------
  163|  24.8k|}
_ZN3fmt3v127vformatENS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEE:
 1456|  12.4k|FMT_FUNC auto vformat(string_view fmt, format_args args) -> std::string {
 1457|       |  // Don't optimize the "{}" case to keep the binary size small and because it
 1458|       |  // can be better optimized in fmt::format anyway.
 1459|  12.4k|  auto buffer = memory_buffer();
 1460|  12.4k|  detail::vformat_to(buffer, fmt, args);
 1461|  12.4k|  return to_string(buffer);
 1462|  12.4k|}

_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEEC2ERKS4_:
  822|  41.2k|      : detail::buffer<T>(grow), alloc_(alloc) {
  823|  41.2k|    this->set(store_, SIZE);
  824|  41.2k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (824:9): [Folded, False: 41.2k]
  ------------------
  825|  41.2k|  }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE4growERNS2_6bufferIcEEm:
  792|  34.7k|  static FMT_CONSTEXPR20 void grow(detail::buffer<T>& buf, size_t size) {
  793|  34.7k|    detail::abort_fuzzing_if(size > 5000);
  794|  34.7k|    auto& self = static_cast<basic_memory_buffer&>(buf);
  795|  34.7k|    const size_t max_size =
  796|  34.7k|        std::allocator_traits<Allocator>::max_size(self.alloc_);
  797|  34.7k|    size_t old_capacity = buf.capacity();
  798|  34.7k|    size_t new_capacity = old_capacity + old_capacity / 2;
  799|  34.7k|    if (size > new_capacity)
  ------------------
  |  Branch (799:9): [True: 13.4k, False: 21.2k]
  ------------------
  800|  13.4k|      new_capacity = size;
  801|  21.2k|    else if (new_capacity > max_size)
  ------------------
  |  Branch (801:14): [True: 0, False: 21.2k]
  ------------------
  802|      0|      new_capacity = max_of(size, max_size);
  803|  34.7k|    T* old_data = buf.data();
  804|  34.7k|    T* new_data = self.alloc_.allocate(new_capacity);
  805|       |    // Suppress a bogus -Wstringop-overflow in gcc 13.1 (#3481).
  806|  34.7k|    detail::assume(buf.size() <= new_capacity);
  807|       |    // The following code doesn't throw, so the raw pointer above doesn't leak.
  808|  34.7k|    memcpy(new_data, old_data, buf.size() * sizeof(T));
  809|  34.7k|    self.set(new_data, new_capacity);
  810|       |    // deallocate must not throw according to the standard, but even if it does,
  811|       |    // the buffer already uses the new storage and will deallocate it in
  812|       |    // destructor.
  813|  34.7k|    if (old_data != self.store_) self.alloc_.deallocate(old_data, old_capacity);
  ------------------
  |  Branch (813:9): [True: 18.9k, False: 15.7k]
  ------------------
  814|  34.7k|  }
_ZN3fmt3v126detail16abort_fuzzing_ifEb:
  241|  34.7k|FMT_CONSTEXPR inline void abort_fuzzing_if(bool condition) {
  242|  34.7k|  ignore_unused(condition);
  243|       |#ifdef FMT_FUZZ
  244|       |  if (condition) throw std::runtime_error("fuzzing limit reached");
  245|       |#endif
  246|  34.7k|}
_ZN3fmt3v126detail9allocatorIcE8allocateEm:
  733|  34.7k|  auto allocate(size_t n) -> T* {
  734|  34.7k|    if (n > max_value<size_t>() / sizeof(T)) FMT_THROW(std::bad_alloc());
  ------------------
  |  |  166|      0|#  define FMT_THROW(x) throw x
  ------------------
  |  Branch (734:9): [True: 0, False: 34.7k]
  ------------------
  735|  34.7k|    return static_cast<T*>(detail::allocate(n * sizeof(T)));
  736|  34.7k|  }
_ZN3fmt3v126detail9max_valueImEET_v:
  408|  34.7k|template <typename T> constexpr auto max_value() -> T {
  409|  34.7k|  return (std::numeric_limits<T>::max)();
  410|  34.7k|}
_ZN3fmt3v126detail6assumeEb:
  460|  47.1k|FMT_INLINE void assume(bool condition) {
  461|  47.1k|  (void)condition;
  462|  47.1k|#if FMT_HAS_BUILTIN(__builtin_assume) && !FMT_ICC_VERSION
  463|  47.1k|  __builtin_assume(condition);
  464|       |#elif FMT_GCC_VERSION
  465|       |  if (!condition) __builtin_unreachable();
  466|       |#endif
  467|  47.1k|}
_ZN3fmt3v126detail9allocatorIcE10deallocateEPcm:
  738|  34.7k|  void deallocate(T* p, size_t) { free(p); }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEED2Ev:
  826|  41.2k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE10deallocateEv:
  787|  41.2k|  FMT_CONSTEXPR20 void deallocate() {
  788|  41.2k|    T* data = this->data();
  789|  41.2k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (789:9): [True: 15.7k, False: 25.5k]
  ------------------
  790|  41.2k|  }
_ZN3fmt3v1210format_intC2Ei:
 4209|  4.65k|  FMT_CONSTEXPR20 explicit format_int(int value) : str_(format_signed(value)) {}
_ZN3fmt3v1210format_int13format_signedIiEEPcT_:
 4199|  4.65k|  FMT_CONSTEXPR20 auto format_signed(Int value) -> char* {
 4200|  4.65k|    auto abs_value = static_cast<detail::uint32_or_64_or_128_t<Int>>(value);
 4201|  4.65k|    bool negative = value < 0;
 4202|  4.65k|    if (negative) abs_value = 0 - abs_value;
  ------------------
  |  Branch (4202:9): [True: 0, False: 4.65k]
  ------------------
 4203|  4.65k|    auto begin = format_unsigned(abs_value);
 4204|  4.65k|    if (negative) *--begin = '-';
  ------------------
  |  Branch (4204:9): [True: 0, False: 4.65k]
  ------------------
 4205|  4.65k|    return begin;
 4206|  4.65k|  }
_ZN3fmt3v1210format_int15format_unsignedIjEEPcT_:
 4193|  4.65k|  FMT_CONSTEXPR20 auto format_unsigned(UInt value) -> char* {
 4194|  4.65k|    auto n = static_cast<detail::uint32_or_64_or_128_t<UInt>>(value);
 4195|  4.65k|    return detail::do_format_decimal(buffer_, n, buffer_size - 1);
 4196|  4.65k|  }
_ZN3fmt3v126detail17do_format_decimalIcjEEPT_S4_T0_i:
 1230|  17.0k|    -> Char* {
 1231|  17.0k|  FMT_ASSERT(size >= count_digits(value), "invalid digit count");
  ------------------
  |  |  394|  17.0k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:6): [True: 17.0k, False: 0]
  |  |  ------------------
  |  |  395|  17.0k|         ? (void)0                                                          \
  |  |  396|  17.0k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1232|  17.0k|  unsigned n = to_unsigned(size);
 1233|  17.6k|  while (value >= 100) {
  ------------------
  |  Branch (1233:10): [True: 555, False: 17.0k]
  ------------------
 1234|    555|    n -= 2;
 1235|    555|    if (!is_constant_evaluated() && sizeof(UInt) == 4) {
  ------------------
  |  Branch (1235:9): [True: 0, Folded]
  |  Branch (1235:37): [True: 0, Folded]
  ------------------
 1236|    555|      auto p = value * static_cast<uint64_t>((1ull << 39) / 100 + 1);
 1237|    555|      write2digits_i(out + n, p >> (39 - 7) & ((1 << 7) - 1));
 1238|    555|      value = static_cast<UInt>(p >> 39) +
 1239|    555|              (static_cast<UInt>(value >= (100u << 25)) << 25);
 1240|    555|    } else {
 1241|       |      // Integer division is slow so do it for a group of two digits instead
 1242|       |      // of for every digit. The idea comes from the talk by Alexandrescu
 1243|       |      // "Three Optimization Tips for C++". See speed-test for a comparison.
 1244|      0|      write2digits(out + n, static_cast<unsigned>(value % 100));
 1245|      0|      value /= 100;
 1246|      0|    }
 1247|    555|  }
 1248|  17.0k|  if (value >= 10) {
  ------------------
  |  Branch (1248:7): [True: 17.0k, False: 0]
  ------------------
 1249|  17.0k|    n -= 2;
 1250|  17.0k|    write2digits(out + n, static_cast<unsigned>(value));
 1251|  17.0k|  } else {
 1252|      0|    out[--n] = static_cast<Char>('0' + value);
 1253|      0|  }
 1254|  17.0k|  return out + n;
 1255|  17.0k|}
_ZN3fmt3v126detail12count_digitsEj:
 1144|  29.5k|FMT_CONSTEXPR20 inline auto count_digits(uint32_t n) -> int {
 1145|  29.5k|#ifdef FMT_BUILTIN_CLZ
 1146|  29.5k|  if (!is_constant_evaluated() && !FMT_OPTIMIZE_SIZE) return do_count_digits(n);
  ------------------
  |  |  295|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1146:7): [True: 0, Folded]
  |  Branch (1146:35): [True: 0, Folded]
  ------------------
 1147|      0|#endif
 1148|      0|  return count_digits_fallback(n);
 1149|  29.5k|}
_ZN3fmt3v126detail15do_count_digitsEj:
 1121|  29.5k|FMT_INLINE auto do_count_digits(uint32_t n) -> int {
 1122|       |// An optimization by Kendall Willets from https://bit.ly/3uOIQrB.
 1123|       |// This increments the upper 32 bits (log10(T) - 1) when >= T is added.
 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
 1125|  29.5k|  static constexpr uint64_t table[] = {
 1126|  29.5k|      FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1127|  29.5k|      FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1128|  29.5k|      FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1129|  29.5k|      FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1130|  29.5k|      FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1131|  29.5k|      FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1132|  29.5k|      FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1133|  29.5k|      FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1134|  29.5k|      FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1135|  29.5k|      FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1136|  29.5k|      FMT_INC(1000000000), FMT_INC(1000000000)                        // 4B
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000)                        // 4B
  ------------------
  |  | 1124|  29.5k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1137|  29.5k|  };
 1138|  29.5k|  auto inc = table[FMT_BUILTIN_CLZ(n | 1) ^ 31];
  ------------------
  |  |  197|  29.5k|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1139|  29.5k|  return static_cast<int>((n + inc) >> 32);
 1140|  29.5k|}
_ZN3fmt3v126detail14write2digits_iIcEEvPT_m:
 1217|    555|FMT_INLINE void write2digits_i(Char* out, size_t value) {
 1218|    555|  if (std::is_same<Char, char>::value && !FMT_OPTIMIZE_SIZE) {
  ------------------
  |  |  295|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1218:7): [True: 0, Folded]
  |  Branch (1218:42): [True: 0, Folded]
  ------------------
 1219|    555|    memcpy(out, digits2_i(value), 2);
 1220|    555|    return;
 1221|    555|  }
 1222|      0|  *out++ = static_cast<Char>(digits2_i(value)[0]);
 1223|      0|  *out = static_cast<Char>(digits2_i(value)[1]);
 1224|      0|}
_ZN3fmt3v126detail9digits2_iEm:
 1033|    555|inline auto digits2_i(size_t value) noexcept -> const char* {
 1034|    555|  alignas(2) static constexpr char data[] =
 1035|    555|      "00010203  0405060707080910  1112"
 1036|    555|      "131414151617  18192021  222324  "
 1037|    555|      "25262728  2930313232333435  3637"
 1038|    555|      "383939404142  43444546  474849  "
 1039|    555|      "50515253  5455565757585960  6162"
 1040|    555|      "636464656667  68697071  727374  "
 1041|    555|      "75767778  7980818282838485  8687"
 1042|    555|      "888989909192  93949596  979899  ";
 1043|    555|  return &data[value * 2];
 1044|    555|}
_ZN3fmt3v126detail12write2digitsIcEEvPT_m:
 1206|   443k|FMT_CONSTEXPR20 FMT_INLINE void write2digits(Char* out, size_t value) {
 1207|   443k|  if (!is_constant_evaluated() && std::is_same<Char, char>::value &&
  ------------------
  |  Branch (1207:7): [True: 0, Folded]
  |  Branch (1207:35): [True: 0, Folded]
  ------------------
 1208|   443k|      !FMT_OPTIMIZE_SIZE) {
  ------------------
  |  |  295|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1208:7): [True: 0, Folded]
  ------------------
 1209|   443k|    memcpy(out, digits2(value), 2);
 1210|   443k|    return;
 1211|   443k|  }
 1212|      0|  *out++ = static_cast<Char>('0' + value / 10);
 1213|      0|  *out = static_cast<Char>('0' + value % 10);
 1214|      0|}
_ZN3fmt3v126detail7digits2Em:
 1018|   443k|inline auto digits2(size_t value) noexcept -> const char* {
 1019|       |  // Align data since unaligned access may be slower when crossing a
 1020|       |  // hardware-specific boundary.
 1021|   443k|  alignas(2) static constexpr char data[] =
 1022|   443k|      "0001020304050607080910111213141516171819"
 1023|   443k|      "2021222324252627282930313233343536373839"
 1024|   443k|      "4041424344454647484950515253545556575859"
 1025|   443k|      "6061626364656667686970717273747576777879"
 1026|   443k|      "8081828384858687888990919293949596979899";
 1027|   443k|  return &data[value * 2];
 1028|   443k|}
_ZNK3fmt3v1210format_int4dataEv:
 4228|  9.30k|  FMT_CONSTEXPR20 auto data() const -> const char* { return str_; }
_ZNK3fmt3v1210format_int4sizeEv:
 4222|  4.65k|  FMT_CONSTEXPR20 auto size() const -> size_t {
 4223|  4.65k|    return detail::to_unsigned(buffer_ - str_ + buffer_size - 1);
 4224|  4.65k|  }
_ZN3fmt3v126detail6equal2EPKcS3_:
 1200|  2.04k|inline auto equal2(const char* lhs, const char* rhs) -> bool {
 1201|  2.04k|  return memcmp(lhs, rhs, 2) == 0;
 1202|  2.04k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclIiTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3690|  12.4k|  void operator()(T value) {
 3691|  12.4k|    write<Char>(out, value);
 3692|  12.4k|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEiTnNSt3__19enable_ifIXaaaasr11is_integralIT1_EE5valuentsr3std7is_sameIS7_bEE5valuentsr3std7is_sameIS7_T_EE5valueEiE4typeELi0EEET0_SB_S7_:
 2320|  12.4k|FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt {
 2321|  12.4k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2322|  12.4k|  bool negative = is_negative(value);
 2323|       |  // Don't do -abs_value since it trips unsigned-integer-overflow sanitizer.
 2324|  12.4k|  if (negative) abs_value = ~abs_value + 1;
  ------------------
  |  Branch (2324:7): [True: 0, False: 12.4k]
  ------------------
 2325|  12.4k|  int num_digits = count_digits(abs_value);
 2326|  12.4k|  auto size = (negative ? 1 : 0) + static_cast<size_t>(num_digits);
  ------------------
  |  Branch (2326:16): [True: 0, False: 12.4k]
  ------------------
 2327|  12.4k|  if (auto ptr = to_pointer<Char>(out, size)) {
  ------------------
  |  Branch (2327:12): [True: 12.4k, False: 0]
  ------------------
 2328|  12.4k|    if (negative) *ptr++ = static_cast<Char>('-');
  ------------------
  |  Branch (2328:9): [True: 0, False: 12.4k]
  ------------------
 2329|  12.4k|    format_decimal<Char>(ptr, abs_value, num_digits);
 2330|  12.4k|    return out;
 2331|  12.4k|  }
 2332|      0|  if (negative) *out++ = static_cast<Char>('-');
  ------------------
  |  Branch (2332:7): [True: 0, False: 0]
  ------------------
 2333|      0|  return format_decimal<Char>(out, abs_value, num_digits);
 2334|  12.4k|}
_ZN3fmt3v126detail11is_negativeIiTnNSt3__19enable_ifIXsr9is_signedIT_EE5valueEiE4typeELi0EEEbS5_:
  993|  12.4k|constexpr auto is_negative(T value) -> bool {
  994|  12.4k|  return value < 0;
  995|  12.4k|}
_ZN3fmt3v126detail10to_pointerIcEEPT_NS0_14basic_appenderIS3_EEm:
  512|  50.7k|FMT_CONSTEXPR20 auto to_pointer(basic_appender<T> it, size_t n) -> T* {
  513|  50.7k|  buffer<T>& buf = get_container(it);
  514|  50.7k|  buf.try_reserve(buf.size() + n);
  515|  50.7k|  auto size = buf.size();
  516|  50.7k|  if (buf.capacity() < size + n) return nullptr;
  ------------------
  |  Branch (516:7): [True: 0, False: 50.7k]
  ------------------
  517|  50.7k|  buf.try_resize(size + n);
  518|  50.7k|  return buf.data() + size;
  519|  50.7k|}
_ZN3fmt3v126detail14format_decimalIcjEEPT_S4_T0_i:
 1259|  12.4k|                                             int num_digits) -> Char* {
 1260|  12.4k|  do_format_decimal(out, value, num_digits);
 1261|  12.4k|  return out + num_digits;
 1262|  12.4k|}
_ZN3fmt3v126detail12count_digitsEm:
 1094|  83.0k|FMT_CONSTEXPR20 inline auto count_digits(uint64_t n) -> int {
 1095|  83.0k|#ifdef FMT_BUILTIN_CLZLL
 1096|  83.0k|  if (!is_constant_evaluated() && !FMT_OPTIMIZE_SIZE) return do_count_digits(n);
  ------------------
  |  |  295|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1096:7): [True: 0, Folded]
  |  Branch (1096:35): [True: 0, Folded]
  ------------------
 1097|      0|#endif
 1098|      0|  return count_digits_fallback(n);
 1099|  83.0k|}
_ZN3fmt3v126detail15do_count_digitsEm:
 1074|  83.0k|inline auto do_count_digits(uint64_t n) -> int {
 1075|       |  // This has comparable performance to the version by Kendall Willets
 1076|       |  // (https://github.com/fmtlib/format-benchmark/blob/master/digits10)
 1077|       |  // but uses smaller tables.
 1078|       |  // Maps bsr(n) to ceil(log10(pow(2, bsr(n) + 1) - 1)).
 1079|  83.0k|  static constexpr uint8_t bsr2log10[] = {
 1080|  83.0k|      1,  1,  1,  2,  2,  2,  3,  3,  3,  4,  4,  4,  4,  5,  5,  5,
 1081|  83.0k|      6,  6,  6,  7,  7,  7,  7,  8,  8,  8,  9,  9,  9,  10, 10, 10,
 1082|  83.0k|      10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 15, 15,
 1083|  83.0k|      15, 16, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 19, 20};
 1084|  83.0k|  auto t = bsr2log10[FMT_BUILTIN_CLZLL(n | 1) ^ 63];
  ------------------
  |  |  200|  83.0k|#    define FMT_BUILTIN_CLZLL(n) __builtin_clzll(n)
  ------------------
 1085|  83.0k|  static constexpr uint64_t zero_or_powers_of_10[] = {
 1086|  83.0k|      0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL),
  ------------------
  |  | 1012|  83.0k|  factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, \
  |  | 1013|  83.0k|      (factor) * 100000, (factor) * 1000000, (factor) * 10000000, \
  |  | 1014|  83.0k|      (factor) * 100000000, (factor) * 1000000000
  ------------------
                    0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL),
  ------------------
  |  | 1012|  83.0k|  factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, \
  |  | 1013|  83.0k|      (factor) * 100000, (factor) * 1000000, (factor) * 10000000, \
  |  | 1014|  83.0k|      (factor) * 100000000, (factor) * 1000000000
  ------------------
 1087|  83.0k|      10000000000000000000ULL};
 1088|  83.0k|  return t - (n < zero_or_powers_of_10[t]);
 1089|  83.0k|}
_ZN3fmt3v126detail14format_decimalIcmEEPT_S4_T0_i:
 1259|  24.7k|                                             int num_digits) -> Char* {
 1260|  24.7k|  do_format_decimal(out, value, num_digits);
 1261|  24.7k|  return out + num_digits;
 1262|  24.7k|}
_ZN3fmt3v126detail17do_format_decimalIcmEEPT_S4_T0_i:
 1230|  52.2k|    -> Char* {
 1231|  52.2k|  FMT_ASSERT(size >= count_digits(value), "invalid digit count");
  ------------------
  |  |  394|  52.2k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:6): [True: 52.2k, False: 0]
  |  |  ------------------
  |  |  395|  52.2k|         ? (void)0                                                          \
  |  |  396|  52.2k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1232|  52.2k|  unsigned n = to_unsigned(size);
 1233|   451k|  while (value >= 100) {
  ------------------
  |  Branch (1233:10): [True: 399k, False: 52.2k]
  ------------------
 1234|   399k|    n -= 2;
 1235|   399k|    if (!is_constant_evaluated() && sizeof(UInt) == 4) {
  ------------------
  |  Branch (1235:9): [True: 0, Folded]
  |  Branch (1235:37): [Folded, False: 0]
  ------------------
 1236|      0|      auto p = value * static_cast<uint64_t>((1ull << 39) / 100 + 1);
 1237|      0|      write2digits_i(out + n, p >> (39 - 7) & ((1 << 7) - 1));
 1238|      0|      value = static_cast<UInt>(p >> 39) +
 1239|      0|              (static_cast<UInt>(value >= (100u << 25)) << 25);
 1240|   399k|    } else {
 1241|       |      // Integer division is slow so do it for a group of two digits instead
 1242|       |      // of for every digit. The idea comes from the talk by Alexandrescu
 1243|       |      // "Three Optimization Tips for C++". See speed-test for a comparison.
 1244|   399k|      write2digits(out + n, static_cast<unsigned>(value % 100));
 1245|   399k|      value /= 100;
 1246|   399k|    }
 1247|   399k|  }
 1248|  52.2k|  if (value >= 10) {
  ------------------
  |  Branch (1248:7): [True: 27.1k, False: 25.0k]
  ------------------
 1249|  27.1k|    n -= 2;
 1250|  27.1k|    write2digits(out + n, static_cast<unsigned>(value));
 1251|  27.1k|  } else {
 1252|  25.0k|    out[--n] = static_cast<Char>('0' + value);
 1253|  25.0k|  }
 1254|  52.2k|  return out + n;
 1255|  52.2k|}
_ZN3fmt3v126detail14format_decimalIcmNS0_14basic_appenderIcEETnNSt3__19enable_ifIXntsr3std10is_pointerINS5_9remove_cvINS5_16remove_referenceIT1_E4typeEE4typeEEE5valueEiE4typeELi0EEES9_S9_T0_i:
 1267|  6.02k|    -> OutputIt {
 1268|  6.02k|  if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
  ------------------
  |  Branch (1268:12): [True: 6.02k, False: 0]
  ------------------
 1269|  6.02k|    do_format_decimal(ptr, value, num_digits);
 1270|  6.02k|    return out;
 1271|  6.02k|  }
 1272|       |  // Buffer is large enough to hold all digits (digits10 + 1).
 1273|      0|  char buffer[digits10<UInt>() + 1];
 1274|      0|  if (is_constant_evaluated()) fill_n(buffer, sizeof(buffer), '\0');
  ------------------
  |  Branch (1274:7): [Folded, False: 0]
  ------------------
 1275|      0|  do_format_decimal(buffer, value, num_digits);
 1276|      0|  return copy_noinline<Char>(buffer, buffer + num_digits, out);
 1277|  6.02k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclIyTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3690|  24.7k|  void operator()(T value) {
 3691|  24.7k|    write<Char>(out, value);
 3692|  24.7k|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEyTnNSt3__19enable_ifIXaaaasr11is_integralIT1_EE5valuentsr3std7is_sameIS7_bEE5valuentsr3std7is_sameIS7_T_EE5valueEiE4typeELi0EEET0_SB_S7_:
 2320|  24.7k|FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt {
 2321|  24.7k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2322|  24.7k|  bool negative = is_negative(value);
 2323|       |  // Don't do -abs_value since it trips unsigned-integer-overflow sanitizer.
 2324|  24.7k|  if (negative) abs_value = ~abs_value + 1;
  ------------------
  |  Branch (2324:7): [True: 0, False: 24.7k]
  ------------------
 2325|  24.7k|  int num_digits = count_digits(abs_value);
 2326|  24.7k|  auto size = (negative ? 1 : 0) + static_cast<size_t>(num_digits);
  ------------------
  |  Branch (2326:16): [True: 0, False: 24.7k]
  ------------------
 2327|  24.7k|  if (auto ptr = to_pointer<Char>(out, size)) {
  ------------------
  |  Branch (2327:12): [True: 24.7k, False: 0]
  ------------------
 2328|  24.7k|    if (negative) *ptr++ = static_cast<Char>('-');
  ------------------
  |  Branch (2328:9): [True: 0, False: 24.7k]
  ------------------
 2329|  24.7k|    format_decimal<Char>(ptr, abs_value, num_digits);
 2330|  24.7k|    return out;
 2331|  24.7k|  }
 2332|      0|  if (negative) *out++ = static_cast<Char>('-');
  ------------------
  |  Branch (2332:7): [True: 0, False: 0]
  ------------------
 2333|      0|  return format_decimal<Char>(out, abs_value, num_digits);
 2334|  24.7k|}
_ZN3fmt3v126detail11is_negativeIyTnNSt3__19enable_ifIXntsr9is_signedIT_EE5valueEiE4typeELi0EEEbS5_:
  997|   100k|constexpr auto is_negative(T) -> bool {
  998|   100k|  return false;
  999|   100k|}
_ZNK3fmt3v1212format_facetINSt3__16localeEE3putENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsE:
 3943|  13.7k|      -> bool {
 3944|  13.7k|    return do_put(out, val, specs);
 3945|  13.7k|  }
_ZN3fmt3v129loc_value5visitINS0_6detail10loc_writerIcEEEEDTclfp_Li0EEEOT_:
 3915|  13.7k|  template <typename Visitor> auto visit(Visitor&& vis) -> decltype(vis(0)) {
 3916|  13.7k|    return value_.visit(vis);
 3917|  13.7k|  }
_ZN3fmt3v126detail9write_intINS0_14basic_appenderIcEEmcEET_S5_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EE:
 1966|  13.7k|    -> OutputIt {
 1967|  13.7k|  static_assert(std::is_same<uint64_or_128_t<UInt>, UInt>::value, "");
 1968|  13.7k|  int num_digits = 0;
 1969|  13.7k|  auto buffer = memory_buffer();
 1970|  13.7k|  switch (specs.type()) {
 1971|      0|  default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  394|      0|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:6): [Folded, False: 0]
  |  |  ------------------
  |  |  395|      0|         ? (void)0                                                          \
  |  |  396|      0|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
                default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1971:3): [True: 0, False: 13.7k]
  ------------------
 1972|  5.52k|  case presentation_type::none:
  ------------------
  |  Branch (1972:3): [True: 5.52k, False: 8.24k]
  ------------------
 1973|  6.02k|  case presentation_type::dec:
  ------------------
  |  Branch (1973:3): [True: 496, False: 13.2k]
  ------------------
 1974|  6.02k|    num_digits = count_digits(value);
 1975|  6.02k|    format_decimal<char>(appender(buffer), value, num_digits);
 1976|  6.02k|    break;
 1977|  2.10k|  case presentation_type::hex:
  ------------------
  |  Branch (1977:3): [True: 2.10k, False: 11.6k]
  ------------------
 1978|  2.10k|    if (specs.alt())
  ------------------
  |  Branch (1978:9): [True: 1.64k, False: 456]
  ------------------
 1979|  1.64k|      prefix_append(prefix, unsigned(specs.upper() ? 'X' : 'x') << 8 | '0');
  ------------------
  |  Branch (1979:38): [True: 352, False: 1.29k]
  ------------------
 1980|  2.10k|    num_digits = count_digits<4>(value);
 1981|  2.10k|    format_base2e<char>(4, appender(buffer), value, num_digits, specs.upper());
 1982|  2.10k|    break;
 1983|  4.51k|  case presentation_type::oct:
  ------------------
  |  Branch (1983:3): [True: 4.51k, False: 9.25k]
  ------------------
 1984|  4.51k|    num_digits = count_digits<3>(value);
 1985|       |    // Octal prefix '0' is counted as a digit, so only add it if precision
 1986|       |    // is not greater than the number of digits.
 1987|  4.51k|    if (specs.alt() && specs.precision <= num_digits && value != 0)
  ------------------
  |  Branch (1987:9): [True: 3.15k, False: 1.36k]
  |  Branch (1987:24): [True: 3.15k, False: 0]
  |  Branch (1987:57): [True: 2.71k, False: 440]
  ------------------
 1988|  2.71k|      prefix_append(prefix, '0');
 1989|  4.51k|    format_base2e<char>(3, appender(buffer), value, num_digits);
 1990|  4.51k|    break;
 1991|    920|  case presentation_type::bin:
  ------------------
  |  Branch (1991:3): [True: 920, False: 12.8k]
  ------------------
 1992|    920|    if (specs.alt())
  ------------------
  |  Branch (1992:9): [True: 616, False: 304]
  ------------------
 1993|    616|      prefix_append(prefix, unsigned(specs.upper() ? 'B' : 'b') << 8 | '0');
  ------------------
  |  Branch (1993:38): [True: 592, False: 24]
  ------------------
 1994|    920|    num_digits = count_digits<1>(value);
 1995|    920|    format_base2e<char>(1, appender(buffer), value, num_digits);
 1996|    920|    break;
 1997|    208|  case presentation_type::chr:
  ------------------
  |  Branch (1997:3): [True: 208, False: 13.5k]
  ------------------
 1998|    208|    return write_char<Char>(out, static_cast<Char>(value), specs);
 1999|  13.7k|  }
 2000|       |
 2001|  13.5k|  unsigned size = (prefix != 0 ? prefix >> 24 : 0) + to_unsigned(num_digits) +
  ------------------
  |  Branch (2001:20): [True: 4.97k, False: 8.58k]
  ------------------
 2002|  13.5k|                  to_unsigned(grouping.count_separators(num_digits));
 2003|  13.5k|  return write_padded<Char, align::right>(
 2004|  13.5k|      out, specs, size, size, [&](reserve_iterator<OutputIt> it) {
 2005|  13.5k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
 2006|  13.5k|          *it++ = static_cast<Char>(p & 0xff);
 2007|  13.5k|        return grouping.apply(it, string_view(buffer.data(), buffer.size()));
 2008|  13.5k|      });
 2009|  13.7k|}
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEEC2ERKS4_:
  822|  26.2k|      : detail::buffer<T>(grow), alloc_(alloc) {
  823|  26.2k|    this->set(store_, SIZE);
  824|  26.2k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (824:9): [Folded, False: 26.2k]
  ------------------
  825|  26.2k|  }
_ZN3fmt3v126detail13prefix_appendERjj:
 1957|  16.1k|FMT_CONSTEXPR inline void prefix_append(unsigned& prefix, unsigned value) {
 1958|  16.1k|  prefix |= prefix != 0 ? value << 8 : value;
  ------------------
  |  Branch (1958:13): [True: 0, False: 16.1k]
  ------------------
 1959|  16.1k|  prefix += (1u + (value > 0xff ? 1 : 0)) << 24;
  ------------------
  |  Branch (1959:20): [True: 10.9k, False: 5.17k]
  ------------------
 1960|  16.1k|}
_ZN3fmt3v126detail12count_digitsILi4EmEEiT0_:
 1103|  2.10k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1104|  2.10k|#ifdef FMT_BUILTIN_CLZ
 1105|  2.10k|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1105:7): [True: 0, Folded]
  |  Branch (1105:35): [Folded, False: 0]
  ------------------
 1106|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  197|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1107|  2.10k|#endif
 1108|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1109|  2.10k|  return [](UInt m) {
 1110|  2.10k|    int num_digits = 0;
 1111|  2.10k|    do {
 1112|  2.10k|      ++num_digits;
 1113|  2.10k|    } while ((m >>= BITS) != 0);
 1114|  2.10k|    return num_digits;
 1115|  2.10k|  }(n);
 1116|  2.10k|}
_ZZN3fmt3v126detail12count_digitsILi4EmEEiT0_ENKUlmE_clEm:
 1109|  2.10k|  return [](UInt m) {
 1110|  2.10k|    int num_digits = 0;
 1111|  31.8k|    do {
 1112|  31.8k|      ++num_digits;
 1113|  31.8k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1113:14): [True: 29.7k, False: 2.10k]
  ------------------
 1114|  2.10k|    return num_digits;
 1115|  2.10k|  }(n);
_ZN3fmt3v126detail13format_base2eIcNS0_14basic_appenderIcEEmTnNSt3__19enable_ifIXsr23is_back_insert_iteratorIT0_EE5valueEiE4typeELi0EEES7_iS7_T1_ib:
 1304|  7.53k|    -> OutputIt {
 1305|  7.53k|  if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
  ------------------
  |  Branch (1305:12): [True: 7.53k, False: 0]
  ------------------
 1306|  7.53k|    format_base2e(base_bits, ptr, value, num_digits, upper);
 1307|  7.53k|    return out;
 1308|  7.53k|  }
 1309|       |  // Make buffer large enough for any base.
 1310|      0|  char buffer[num_bits<UInt>()];
 1311|      0|  if (is_constant_evaluated()) fill_n(buffer, sizeof(buffer), '\0');
  ------------------
  |  Branch (1311:7): [Folded, False: 0]
  ------------------
 1312|      0|  format_base2e(base_bits, buffer, value, num_digits, upper);
 1313|      0|  return detail::copy_noinline<Char>(buffer, buffer + num_digits, out);
 1314|  7.53k|}
_ZN3fmt3v126detail13format_base2eIcmEEPT_iS4_T0_ib:
 1295|  7.53k|                                 int num_digits, bool upper = false) -> Char* {
 1296|  7.53k|  do_format_base2e(base_bits, out, value, num_digits, upper);
 1297|  7.53k|  return out + num_digits;
 1298|  7.53k|}
_ZN3fmt3v126detail16do_format_base2eIcmEEPT_iS4_T0_ib:
 1281|  31.0k|                                    int size, bool upper = false) -> Char* {
 1282|  31.0k|  out += size;
 1283|  1.10M|  do {
 1284|  1.10M|    const char* digits = upper ? "0123456789ABCDEF" : "0123456789abcdef";
  ------------------
  |  Branch (1284:26): [True: 19.1k, False: 1.08M]
  ------------------
 1285|  1.10M|    unsigned digit = static_cast<unsigned>(value & ((1u << base_bits) - 1));
 1286|  1.10M|    *--out = static_cast<Char>(base_bits < 4 ? static_cast<char>('0' + digit)
  ------------------
  |  Branch (1286:32): [True: 983k, False: 118k]
  ------------------
 1287|  1.10M|                                             : digits[digit]);
 1288|  1.10M|  } while ((value >>= base_bits) != 0);
  ------------------
  |  Branch (1288:12): [True: 1.07M, False: 31.0k]
  ------------------
 1289|  31.0k|  return out;
 1290|  31.0k|}
_ZN3fmt3v126detail12count_digitsILi3EmEEiT0_:
 1103|  4.51k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1104|  4.51k|#ifdef FMT_BUILTIN_CLZ
 1105|  4.51k|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1105:7): [True: 0, Folded]
  |  Branch (1105:35): [Folded, False: 0]
  ------------------
 1106|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  197|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1107|  4.51k|#endif
 1108|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1109|  4.51k|  return [](UInt m) {
 1110|  4.51k|    int num_digits = 0;
 1111|  4.51k|    do {
 1112|  4.51k|      ++num_digits;
 1113|  4.51k|    } while ((m >>= BITS) != 0);
 1114|  4.51k|    return num_digits;
 1115|  4.51k|  }(n);
 1116|  4.51k|}
_ZZN3fmt3v126detail12count_digitsILi3EmEEiT0_ENKUlmE_clEm:
 1109|  4.51k|  return [](UInt m) {
 1110|  4.51k|    int num_digits = 0;
 1111|  75.8k|    do {
 1112|  75.8k|      ++num_digits;
 1113|  75.8k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1113:14): [True: 71.2k, False: 4.51k]
  ------------------
 1114|  4.51k|    return num_digits;
 1115|  4.51k|  }(n);
_ZN3fmt3v126detail12count_digitsILi1EmEEiT0_:
 1103|    920|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1104|    920|#ifdef FMT_BUILTIN_CLZ
 1105|    920|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1105:7): [True: 0, Folded]
  |  Branch (1105:35): [Folded, False: 0]
  ------------------
 1106|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  197|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1107|    920|#endif
 1108|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1109|    920|  return [](UInt m) {
 1110|    920|    int num_digits = 0;
 1111|    920|    do {
 1112|    920|      ++num_digits;
 1113|    920|    } while ((m >>= BITS) != 0);
 1114|    920|    return num_digits;
 1115|    920|  }(n);
 1116|    920|}
_ZZN3fmt3v126detail12count_digitsILi1EmEEiT0_ENKUlmE_clEm:
 1109|    920|  return [](UInt m) {
 1110|    920|    int num_digits = 0;
 1111|  55.1k|    do {
 1112|  55.1k|      ++num_digits;
 1113|  55.1k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1113:14): [True: 54.2k, False: 920]
  ------------------
 1114|    920|    return num_digits;
 1115|    920|  }(n);
_ZN3fmt3v126detail10write_charIcNS0_14basic_appenderIcEEEET0_S5_T_RKNS0_12format_specsE:
 1884|  10.2k|                              const format_specs& specs) -> OutputIt {
 1885|  10.2k|  bool is_debug = specs.type() == presentation_type::debug;
 1886|  10.2k|  return write_padded<Char>(out, specs, 1, [=](reserve_iterator<OutputIt> it) {
 1887|  10.2k|    if (is_debug) return write_escaped_char(it, value);
 1888|  10.2k|    *it++ = value;
 1889|  10.2k|    return it;
 1890|  10.2k|  });
 1891|  10.2k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEEZNS1_10write_charIcS5_EET0_S7_T_RKNS0_12format_specsEEUlS5_E_EET1_SD_SB_mOT2_:
 1734|  10.2k|                            size_t size, F&& f) -> OutputIt {
 1735|  10.2k|  return write_padded<Char, default_align>(out, specs, size, size, f);
 1736|  10.2k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEERZNS1_10write_charIcS5_EET0_S7_T_RKNS0_12format_specsEEUlS5_E_EET1_SE_SB_mmOT2_:
 1713|  10.2k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1714|  10.2k|  static_assert(default_align == align::left || default_align == align::right,
 1715|  10.2k|                "");
 1716|  10.2k|  unsigned spec_width = to_unsigned(specs.width);
 1717|  10.2k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1717:20): [True: 6.00k, False: 4.23k]
  ------------------
 1718|       |  // Shifts are encoded as string literals because static constexpr is not
 1719|       |  // supported in constexpr functions.
 1720|  10.2k|  auto* shifts =
 1721|  10.2k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1721:7): [True: 10.2k, Folded]
  ------------------
 1722|  10.2k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1723|  10.2k|  size_t right_padding = padding - left_padding;
 1724|  10.2k|  auto it = reserve(out, size + padding * specs.fill_size());
 1725|  10.2k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1725:7): [True: 4.31k, False: 5.92k]
  ------------------
 1726|  10.2k|  it = f(it);
 1727|  10.2k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1727:7): [True: 5.79k, False: 4.44k]
  ------------------
 1728|  10.2k|  return base_iterator(out, it);
 1729|  10.2k|}
_ZN3fmt3v126detail7reserveIcEENS0_14basic_appenderIT_EES5_m:
  487|   140k|    -> basic_appender<T> {
  488|   140k|  buffer<T>& buf = get_container(it);
  489|   140k|  buf.try_reserve(buf.size() + n);
  490|   140k|  return it;
  491|   140k|}
_ZN3fmt3v126detail4fillIcNS0_14basic_appenderIcEEEET0_S5_mRKNS0_11basic_specsE:
 1698|  32.8k|                                     const basic_specs& specs) -> OutputIt {
 1699|  32.8k|  auto fill_size = specs.fill_size();
 1700|  32.8k|  if (fill_size == 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
  ------------------
  |  Branch (1700:7): [True: 31.3k, False: 1.46k]
  ------------------
 1701|  1.46k|  if (const Char* data = specs.fill<Char>()) {
  ------------------
  |  Branch (1701:19): [True: 1.46k, False: 0]
  ------------------
 1702|  1.00G|    for (size_t i = 0; i < n; ++i) it = copy<Char>(data, data + fill_size, it);
  ------------------
  |  Branch (1702:24): [True: 1.00G, False: 1.46k]
  ------------------
 1703|  1.46k|  }
 1704|  1.46k|  return it;
 1705|  32.8k|}
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEmcEET_S5_T0_RKT1_:
  539|  31.3k|    -> OutputIt {
  540|   111G|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (540:20): [True: 111G, False: 31.3k]
  ------------------
  541|  31.3k|  return out;
  542|  31.3k|}
_ZZN3fmt3v126detail10write_charIcNS0_14basic_appenderIcEEEET0_S5_T_RKNS0_12format_specsEENKUlS4_E_clES4_:
 1886|  10.2k|  return write_padded<Char>(out, specs, 1, [=](reserve_iterator<OutputIt> it) {
 1887|  10.2k|    if (is_debug) return write_escaped_char(it, value);
  ------------------
  |  Branch (1887:9): [True: 0, False: 10.2k]
  ------------------
 1888|  10.2k|    *it++ = value;
 1889|  10.2k|    return it;
 1890|  10.2k|  });
_ZN3fmt3v126detail12needs_escapeEj:
 1765|   626M|inline auto needs_escape(uint32_t cp) -> bool {
 1766|   626M|  if (cp < 0x20 || cp == 0x7f || cp == '"' || cp == '\\') return true;
  ------------------
  |  Branch (1766:7): [True: 336M, False: 290M]
  |  Branch (1766:20): [True: 974k, False: 289M]
  |  Branch (1766:34): [True: 13.9M, False: 275M]
  |  Branch (1766:47): [True: 569k, False: 274M]
  ------------------
 1767|   274M|  if FMT_CONSTEXPR20 (FMT_OPTIMIZE_SIZE > 1) return false;
  ------------------
  |  |  295|   274M|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1767:23): [Folded, False: 274M]
  ------------------
 1768|   274M|  return !is_printable(cp);
 1769|   274M|}
_ZN3fmt3v126detail16write_escaped_cpINS0_14basic_appenderIcEEcEET_S5_RKNS1_18find_escape_resultIT0_EE:
 1815|   248M|    -> OutputIt {
 1816|   248M|  auto c = static_cast<Char>(escape.cp);
 1817|   248M|  switch (escape.cp) {
 1818|  40.3M|  case '\n':
  ------------------
  |  Branch (1818:3): [True: 40.3M, False: 207M]
  ------------------
 1819|  40.3M|    *out++ = static_cast<Char>('\\');
 1820|  40.3M|    c = static_cast<Char>('n');
 1821|  40.3M|    break;
 1822|   661k|  case '\r':
  ------------------
  |  Branch (1822:3): [True: 661k, False: 247M]
  ------------------
 1823|   661k|    *out++ = static_cast<Char>('\\');
 1824|   661k|    c = static_cast<Char>('r');
 1825|   661k|    break;
 1826|   600k|  case '\t':
  ------------------
  |  Branch (1826:3): [True: 600k, False: 247M]
  ------------------
 1827|   600k|    *out++ = static_cast<Char>('\\');
 1828|   600k|    c = static_cast<Char>('t');
 1829|   600k|    break;
 1830|  6.46M|  case '"':  FMT_FALLTHROUGH;
  ------------------
  |  |  181|  6.46M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1830:3): [True: 6.46M, False: 241M]
  ------------------
 1831|  6.46M|  case '\'': FMT_FALLTHROUGH;
  ------------------
  |  |  181|  6.46M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1831:3): [True: 0, False: 248M]
  ------------------
 1832|  6.71M|  case '\\': *out++ = static_cast<Char>('\\'); break;
  ------------------
  |  Branch (1832:3): [True: 254k, False: 247M]
  ------------------
 1833|   199M|  default:
  ------------------
  |  Branch (1833:3): [True: 199M, False: 48.3M]
  ------------------
 1834|   199M|    if (escape.cp < 0x100) return write_codepoint<2, Char>(out, 'x', escape.cp);
  ------------------
  |  Branch (1834:9): [True: 139M, False: 59.7M]
  ------------------
 1835|  59.7M|    if (escape.cp < 0x10000)
  ------------------
  |  Branch (1835:9): [True: 556k, False: 59.2M]
  ------------------
 1836|   556k|      return write_codepoint<4, Char>(out, 'u', escape.cp);
 1837|  59.2M|    if (escape.cp < 0x110000)
  ------------------
  |  Branch (1837:9): [True: 432k, False: 58.7M]
  ------------------
 1838|   432k|      return write_codepoint<8, Char>(out, 'U', escape.cp);
 1839|  58.7M|    for (Char escape_char : basic_string_view<Char>(
  ------------------
  |  Branch (1839:27): [True: 58.7M, False: 58.7M]
  ------------------
 1840|  58.7M|             escape.begin, to_unsigned(escape.end - escape.begin))) {
 1841|  58.7M|      out = write_codepoint<2, Char>(out, 'x',
 1842|  58.7M|                                     static_cast<uint32_t>(escape_char) & 0xFF);
 1843|  58.7M|    }
 1844|  58.7M|    return out;
 1845|   248M|  }
 1846|  48.3M|  *out++ = c;
 1847|  48.3M|  return out;
 1848|   248M|}
_ZN3fmt3v126detail15write_codepointILm2EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1804|   198M|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1805|   198M|  *out++ = static_cast<Char>('\\');
 1806|   198M|  *out++ = static_cast<Char>(prefix);
 1807|   198M|  Char buf[width];
 1808|   198M|  fill_n(buf, width, static_cast<Char>('0'));
 1809|   198M|  format_base2e(4, buf, cp, width);
 1810|   198M|  return copy<Char>(buf, buf + width, out);
 1811|   198M|}
_ZN3fmt3v126detail6fill_nIcmEEPT_S4_T0_c:
  544|   415M|FMT_CONSTEXPR20 auto fill_n(T* out, Size count, char value) -> T* {
  545|   415M|  if (is_constant_evaluated()) return fill_n<T*, Size, T>(out, count, value);
  ------------------
  |  Branch (545:7): [Folded, False: 415M]
  ------------------
  546|   415M|  static_assert(sizeof(T) == 1,
  547|   415M|                "sizeof(T) must be 1 to use char for initialization");
  548|   415M|  memset(out, value, to_unsigned(count));
  549|   415M|  return out + count;
  550|   415M|}
_ZN3fmt3v126detail13format_base2eIcjEEPT_iS4_T0_ib:
 1295|   415M|                                 int num_digits, bool upper = false) -> Char* {
 1296|   415M|  do_format_base2e(base_bits, out, value, num_digits, upper);
 1297|   415M|  return out + num_digits;
 1298|   415M|}
_ZN3fmt3v126detail16do_format_base2eIcjEEPT_iS4_T0_ib:
 1281|   415M|                                    int size, bool upper = false) -> Char* {
 1282|   415M|  out += size;
 1283|   570M|  do {
 1284|   570M|    const char* digits = upper ? "0123456789ABCDEF" : "0123456789abcdef";
  ------------------
  |  Branch (1284:26): [True: 0, False: 570M]
  ------------------
 1285|   570M|    unsigned digit = static_cast<unsigned>(value & ((1u << base_bits) - 1));
 1286|   570M|    *--out = static_cast<Char>(base_bits < 4 ? static_cast<char>('0' + digit)
  ------------------
  |  Branch (1286:32): [True: 0, False: 570M]
  ------------------
 1287|   570M|                                             : digits[digit]);
 1288|   570M|  } while ((value >>= base_bits) != 0);
  ------------------
  |  Branch (1288:12): [True: 154M, False: 415M]
  ------------------
 1289|   415M|  return out;
 1290|   415M|}
_ZN3fmt3v126detail15write_codepointILm4EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1804|   556k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1805|   556k|  *out++ = static_cast<Char>('\\');
 1806|   556k|  *out++ = static_cast<Char>(prefix);
 1807|   556k|  Char buf[width];
 1808|   556k|  fill_n(buf, width, static_cast<Char>('0'));
 1809|   556k|  format_base2e(4, buf, cp, width);
 1810|   556k|  return copy<Char>(buf, buf + width, out);
 1811|   556k|}
_ZN3fmt3v126detail15write_codepointILm8EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1804|   432k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1805|   432k|  *out++ = static_cast<Char>('\\');
 1806|   432k|  *out++ = static_cast<Char>(prefix);
 1807|   432k|  Char buf[width];
 1808|   432k|  fill_n(buf, width, static_cast<Char>('0'));
 1809|   432k|  format_base2e(4, buf, cp, width);
 1810|   432k|  return copy<Char>(buf, buf + width, out);
 1811|   432k|}
_ZN3fmt3v126detail13base_iteratorINS0_14basic_appenderIcEEEET_S5_S5_:
  531|   122k|constexpr auto base_iterator(Iterator, Iterator it) -> Iterator {
  532|   122k|  return it;
  533|   122k|}
_ZNK3fmt3v126detail14digit_groupingIcE16count_separatorsEi:
 1926|  13.5k|  auto count_separators(int num_digits) const -> int {
 1927|  13.5k|    int count = 0;
 1928|  13.5k|    auto state = initial_state();
 1929|  13.5k|    while (num_digits > next(state)) ++count;
  ------------------
  |  Branch (1929:12): [True: 0, False: 13.5k]
  ------------------
 1930|  13.5k|    return count;
 1931|  13.5k|  }
_ZNK3fmt3v126detail14digit_groupingIcE13initial_stateEv:
 1902|  27.1k|  auto initial_state() const -> next_state { return {grouping_.begin(), 0}; }
_ZNK3fmt3v126detail14digit_groupingIcE4nextERNS3_10next_stateE:
 1905|  27.1k|  auto next(next_state& state) const -> int {
 1906|  27.1k|    if (thousands_sep_.empty()) return max_value<int>();
  ------------------
  |  Branch (1906:9): [True: 27.1k, False: 0]
  ------------------
 1907|      0|    if (state.group == grouping_.end()) return state.pos += grouping_.back();
  ------------------
  |  Branch (1907:9): [True: 0, False: 0]
  ------------------
 1908|      0|    if (*state.group <= 0 || *state.group == max_value<char>())
  ------------------
  |  Branch (1908:9): [True: 0, False: 0]
  |  Branch (1908:30): [True: 0, False: 0]
  ------------------
 1909|      0|      return max_value<int>();
 1910|      0|    state.pos += *state.group++;
 1911|      0|    return state.pos;
 1912|      0|  }
_ZN3fmt3v126detail9max_valueIiEET_v:
  408|  34.2k|template <typename T> constexpr auto max_value() -> T {
  409|  34.2k|  return (std::numeric_limits<T>::max)();
  410|  34.2k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_9write_intIS5_mcEET_S7_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EEEUlS5_E_EESD_SD_SB_mmOT2_:
 1713|  13.5k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1714|  13.5k|  static_assert(default_align == align::left || default_align == align::right,
 1715|  13.5k|                "");
 1716|  13.5k|  unsigned spec_width = to_unsigned(specs.width);
 1717|  13.5k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1717:20): [True: 3.45k, False: 10.1k]
  ------------------
 1718|       |  // Shifts are encoded as string literals because static constexpr is not
 1719|       |  // supported in constexpr functions.
 1720|  13.5k|  auto* shifts =
 1721|  13.5k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1721:7): [Folded, False: 13.5k]
  ------------------
 1722|  13.5k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1723|  13.5k|  size_t right_padding = padding - left_padding;
 1724|  13.5k|  auto it = reserve(out, size + padding * specs.fill_size());
 1725|  13.5k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1725:7): [True: 1.25k, False: 12.3k]
  ------------------
 1726|  13.5k|  it = f(it);
 1727|  13.5k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1727:7): [True: 2.20k, False: 11.3k]
  ------------------
 1728|  13.5k|  return base_iterator(out, it);
 1729|  13.5k|}
_ZZN3fmt3v126detail9write_intINS0_14basic_appenderIcEEmcEET_S5_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EEENKUlS4_E_clES4_:
 2004|  13.5k|      out, specs, size, size, [&](reserve_iterator<OutputIt> it) {
 2005|  20.8k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2005:46): [True: 7.24k, False: 13.5k]
  ------------------
 2006|  7.24k|          *it++ = static_cast<Char>(p & 0xff);
 2007|  13.5k|        return grouping.apply(it, string_view(buffer.data(), buffer.size()));
 2008|  13.5k|      });
_ZNK3fmt3v126detail14digit_groupingIcE5applyINS0_14basic_appenderIcEEcEET_S7_NS0_17basic_string_viewIT0_EE:
 1935|  13.5k|  auto apply(Out out, basic_string_view<C> digits) const -> Out {
 1936|  13.5k|    auto num_digits = static_cast<int>(digits.size());
 1937|  13.5k|    auto separators = basic_memory_buffer<int>();
 1938|  13.5k|    separators.push_back(0);
 1939|  13.5k|    auto state = initial_state();
 1940|  13.5k|    while (int i = next(state)) {
  ------------------
  |  Branch (1940:16): [True: 13.5k, False: 0]
  ------------------
 1941|  13.5k|      if (i >= num_digits) break;
  ------------------
  |  Branch (1941:11): [True: 13.5k, False: 0]
  ------------------
 1942|      0|      separators.push_back(i);
 1943|      0|    }
 1944|  13.5k|    for (int i = 0, sep_index = static_cast<int>(separators.size() - 1);
 1945|   246k|         i < num_digits; ++i) {
  ------------------
  |  Branch (1945:10): [True: 232k, False: 13.5k]
  ------------------
 1946|   232k|      if (num_digits - i == separators[sep_index]) {
  ------------------
  |  Branch (1946:11): [True: 0, False: 232k]
  ------------------
 1947|      0|        out = copy<Char>(thousands_sep_.data(),
 1948|      0|                         thousands_sep_.data() + thousands_sep_.size(), out);
 1949|      0|        --sep_index;
 1950|      0|      }
 1951|   232k|      *out++ = static_cast<Char>(digits[to_unsigned(i)]);
 1952|   232k|    }
 1953|  13.5k|    return out;
 1954|  13.5k|  }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEEC2ERKS4_:
  822|  13.5k|      : detail::buffer<T>(grow), alloc_(alloc) {
  823|  13.5k|    this->set(store_, SIZE);
  824|  13.5k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (824:9): [Folded, False: 13.5k]
  ------------------
  825|  13.5k|  }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEED2Ev:
  826|  13.5k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEE10deallocateEv:
  787|  13.5k|  FMT_CONSTEXPR20 void deallocate() {
  788|  13.5k|    T* data = this->data();
  789|  13.5k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (789:9): [True: 0, False: 13.5k]
  ------------------
  790|  13.5k|  }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEED2Ev:
  826|  26.2k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEE10deallocateEv:
  787|  26.2k|  FMT_CONSTEXPR20 void deallocate() {
  788|  26.2k|    T* data = this->data();
  789|  26.2k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (789:9): [True: 0, False: 26.2k]
  ------------------
  790|  26.2k|  }
_ZN3fmt3v126detail14digit_groupingIcEC2ENSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEESA_:
 1922|  13.7k|      : grouping_(std::move(grouping)), thousands_sep_(std::move(sep)) {}
_ZN3fmt3v126detail10loc_writerIcEclIyTnNSt3__19enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEbS7_:
 2052|  13.7k|  auto operator()(T value) -> bool {
 2053|  13.7k|    auto arg = make_write_int_arg(value, specs.sign());
 2054|  13.7k|    write_int(out, static_cast<uint64_or_128_t<T>>(arg.abs_value), arg.prefix,
 2055|  13.7k|              specs, digit_grouping<Char>(grouping, sep));
 2056|  13.7k|    return true;
 2057|  13.7k|  }
_ZN3fmt3v126detail18make_write_int_argIyEENS1_13write_int_argINSt3__111conditionalIXaalecl8num_bitsIT_EELi32EntLi0EEjNS5_IXlecl8num_bitsIS6_EELi64EEmoE4typeEE4typeEEES6_NS0_4signE:
 2031|  68.7k|    -> write_int_arg<uint32_or_64_or_128_t<T>> {
 2032|  68.7k|  auto prefix = 0u;
 2033|  68.7k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2034|  68.7k|  if (is_negative(value)) {
  ------------------
  |  Branch (2034:7): [True: 0, False: 68.7k]
  ------------------
 2035|      0|    prefix = 0x01000000 | '-';
 2036|      0|    abs_value = 0 - abs_value;
 2037|  68.7k|  } else {
 2038|  68.7k|    constexpr unsigned prefixes[4] = {0, 0, 0x1000000u | '+', 0x1000000u | ' '};
 2039|  68.7k|    prefix = prefixes[static_cast<int>(s)];
 2040|  68.7k|  }
 2041|  68.7k|  return {abs_value, prefix};
 2042|  68.7k|}
_ZN3fmt3v126detail12size_paddingC2EijRKNS0_12format_specsE:
 2072|  23.7k|      : size((prefix >> 24) + to_unsigned(num_digits)), padding(0) {
 2073|  23.7k|    if (specs.align() == align::numeric) {
  ------------------
  |  Branch (2073:9): [True: 7.53k, False: 16.2k]
  ------------------
 2074|  7.53k|      auto width = to_unsigned(specs.width);
 2075|  7.53k|      if (width > size) {
  ------------------
  |  Branch (2075:11): [True: 1.61k, False: 5.92k]
  ------------------
 2076|  1.61k|        padding = width - size;
 2077|  1.61k|        size = width;
 2078|  1.61k|      }
 2079|  16.2k|    } else if (specs.precision > num_digits) {
  ------------------
  |  Branch (2079:16): [True: 0, False: 16.2k]
  ------------------
 2080|      0|      size = (prefix >> 24) + to_unsigned(specs.precision);
 2081|      0|      padding = to_unsigned(specs.precision - num_digits);
 2082|      0|    }
 2083|  23.7k|  }
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEjcEET_S5_T0_RKT1_:
  539|  23.7k|    -> OutputIt {
  540|  4.56G|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (540:20): [True: 4.56G, False: 23.7k]
  ------------------
  541|  23.7k|  return out;
  542|  23.7k|}
_ZN3fmt3v126detail13copy_noinlineIcPKcNS0_14basic_appenderIcEEEET1_T0_S8_S7_:
  559|   295k|                                              OutputIt out) -> OutputIt {
  560|   295k|  return copy<OutChar>(begin, end, out);
  561|   295k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclIPKcTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3690|  24.8k|  void operator()(T value) {
 3691|  24.8k|    write<Char>(out, value);
 3692|  24.8k|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_PKT_:
 3646|  24.8k|FMT_CONSTEXPR20 auto write(OutputIt out, const Char* value) -> OutputIt {
 3647|  24.8k|  if (value) return write(out, basic_string_view<Char>(value));
  ------------------
  |  Branch (3647:7): [True: 24.8k, False: 0]
  ------------------
 3648|      0|  report_error("string pointer is null");
 3649|      0|  return out;
 3650|  24.8k|}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EE:
 3608|  27.8k|    -> OutputIt {
 3609|  27.8k|  return copy_noinline<Char>(value.begin(), value.end(), out);
 3610|  27.8k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3690|  2.97k|  void operator()(T value) {
 3691|  2.97k|    write<Char>(out, value);
 3692|  2.97k|  }
_ZN3fmt3v126detail21default_arg_formatterIcEclENS0_9monostateE:
 3687|    304|  void operator()(monostate) { report_error("argument not found"); }
_ZN3fmt3v126detail14format_handlerIcE7on_textEPKcS5_:
 3794|   268k|  void on_text(const Char* begin, const Char* end) {
 3795|   268k|    copy_noinline<Char>(begin, end, ctx.out());
 3796|   268k|  }
_ZN3fmt3v126detail14format_handlerIcE20on_replacement_fieldEiPKc:
 3810|  64.6k|  FMT_INLINE void on_replacement_field(int id, const Char*) {
 3811|  64.6k|    ctx.arg(id).visit(default_arg_formatter<Char>{ctx.out()});
 3812|  64.6k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEv:
 3798|  53.6k|  FMT_CONSTEXPR auto on_arg_id() -> int { return parse_ctx.next_arg_id(); }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEi:
 3799|   156k|  FMT_CONSTEXPR auto on_arg_id(int id) -> int {
 3800|   156k|    parse_ctx.check_arg_id(id);
 3801|   156k|    return id;
 3802|   156k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idENS0_17basic_string_viewIcEE:
 3803|    880|  FMT_CONSTEXPR auto on_arg_id(basic_string_view<Char> id) -> int {
 3804|    880|    parse_ctx.check_arg_id(id);
 3805|    880|    int arg_id = ctx.arg_id(id);
 3806|    880|    if (arg_id < 0) report_error("argument not found");
  ------------------
  |  Branch (3806:9): [True: 880, False: 0]
  ------------------
 3807|    880|    return arg_id;
 3808|    880|  }
_ZN3fmt3v126detail14format_handlerIcE15on_format_specsEiPKcS5_:
 3815|   145k|      -> const Char* {
 3816|   145k|    auto arg = ctx.arg(id);
 3817|   145k|    if (!arg) report_error("argument not found");
  ------------------
  |  Branch (3817:9): [True: 360, False: 145k]
  ------------------
 3818|       |    // Not using a visitor for custom types gives better codegen.
 3819|   145k|    if (arg.format_custom(begin, parse_ctx, ctx)) return parse_ctx.begin();
  ------------------
  |  Branch (3819:9): [True: 0, False: 145k]
  ------------------
 3820|       |
 3821|   145k|    auto specs = dynamic_format_specs<Char>();
 3822|   145k|    begin = parse_format_specs(begin, end, specs, parse_ctx, arg.type());
 3823|   145k|    if (specs.dynamic()) {
  ------------------
  |  Branch (3823:9): [True: 7.36k, False: 138k]
  ------------------
 3824|  7.36k|      handle_dynamic_spec(specs.dynamic_width(), specs.width, specs.width_ref,
 3825|  7.36k|                          ctx);
 3826|  7.36k|      handle_dynamic_spec(specs.dynamic_precision(), specs.precision,
 3827|  7.36k|                          specs.precision_ref, ctx);
 3828|  7.36k|    }
 3829|       |
 3830|   145k|    arg.visit(arg_formatter<Char>{ctx.out(), specs, ctx.locale()});
 3831|   145k|    return begin;
 3832|   145k|  }
_ZN3fmt3v126detail19handle_dynamic_specINS0_7contextEEEvNS0_11arg_id_kindERiRKNS1_7arg_refINT_9char_typeEEERS7_:
 3744|  14.0k|    const arg_ref<typename Context::char_type>& ref, Context& ctx) {
 3745|  14.0k|  if (kind == arg_id_kind::none) return;
  ------------------
  |  Branch (3745:7): [True: 6.68k, False: 7.37k]
  ------------------
 3746|  7.37k|  auto arg =
 3747|  7.37k|      kind == arg_id_kind::index ? ctx.arg(ref.index) : ctx.arg(ref.name);
  ------------------
  |  Branch (3747:7): [True: 7.36k, False: 16]
  ------------------
 3748|  7.37k|  if (!arg) report_error("argument not found");
  ------------------
  |  Branch (3748:7): [True: 264, False: 7.11k]
  ------------------
 3749|  7.37k|  ullong result = arg.visit(dynamic_spec_getter());
 3750|  7.37k|  if (result > to_unsigned(max_value<int>()))
  ------------------
  |  Branch (3750:7): [True: 488, False: 6.88k]
  ------------------
 3751|    488|    report_error("width/precision is out of range");
 3752|  7.37k|  value = static_cast<int>(result);
 3753|  7.37k|}
_ZN3fmt3v126detail19dynamic_spec_getterclIyTnNSt3__19enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEyS6_:
 3730|  7.10k|  FMT_CONSTEXPR auto operator()(T value) -> ullong {
 3731|  7.10k|    return is_negative(value) ? ~0ull : static_cast<ullong>(value);
  ------------------
  |  Branch (3731:12): [True: 0, False: 7.10k]
  ------------------
 3732|  7.10k|  }
_ZN3fmt3v126detail19dynamic_spec_getterclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXntsr10is_integerIT_EE5valueEiE4typeELi0EEEyS8_:
 3735|      8|  FMT_CONSTEXPR auto operator()(T) -> ullong {
 3736|      8|    report_error("width/precision is not integer");
 3737|      8|    return 0;
 3738|      8|  }
_ZN3fmt3v126detail18write_int_noinlineIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsE:
 2154|  54.9k|    -> OutputIt {
 2155|  54.9k|  return write_int<Char>(out, arg, specs);
 2156|  54.9k|}
_ZN3fmt3v126detail9write_intIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsE:
 2088|  54.9k|                                        const format_specs& specs) -> OutputIt {
 2089|  54.9k|  static_assert(std::is_same<T, uint32_or_64_or_128_t<T>>::value, "");
 2090|       |
 2091|  54.9k|  constexpr size_t buffer_size = num_bits<T>();
 2092|  54.9k|  char buffer[buffer_size];
 2093|  54.9k|  if (is_constant_evaluated()) fill_n(buffer, buffer_size, '\0');
  ------------------
  |  Branch (2093:7): [Folded, False: 54.9k]
  ------------------
 2094|  54.9k|  const char* begin = nullptr;
 2095|  54.9k|  const char* end = buffer + buffer_size;
 2096|       |
 2097|  54.9k|  auto abs_value = arg.abs_value;
 2098|  54.9k|  auto prefix = arg.prefix;
 2099|  54.9k|  switch (specs.type()) {
 2100|      0|  default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  394|      0|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:6): [Folded, False: 0]
  |  |  ------------------
  |  |  395|      0|         ? (void)0                                                          \
  |  |  396|      0|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
                default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (2100:3): [True: 0, False: 54.9k]
  ------------------
 2101|  15.6k|  case presentation_type::none:
  ------------------
  |  Branch (2101:3): [True: 15.6k, False: 39.3k]
  ------------------
 2102|  21.4k|  case presentation_type::dec:
  ------------------
  |  Branch (2102:3): [True: 5.81k, False: 49.1k]
  ------------------
 2103|  21.4k|    begin = do_format_decimal(buffer, abs_value, buffer_size);
 2104|  21.4k|    break;
 2105|  5.59k|  case presentation_type::hex:
  ------------------
  |  Branch (2105:3): [True: 5.59k, False: 49.3k]
  ------------------
 2106|  5.59k|    begin = do_format_base2e(4, buffer, abs_value, buffer_size, specs.upper());
 2107|  5.59k|    if (specs.alt())
  ------------------
  |  Branch (2107:9): [True: 792, False: 4.80k]
  ------------------
 2108|    792|      prefix_append(prefix, unsigned(specs.upper() ? 'X' : 'x') << 8 | '0');
  ------------------
  |  Branch (2108:38): [True: 296, False: 496]
  ------------------
 2109|  5.59k|    break;
 2110|  5.44k|  case presentation_type::oct: {
  ------------------
  |  Branch (2110:3): [True: 5.44k, False: 49.5k]
  ------------------
 2111|  5.44k|    begin = do_format_base2e(3, buffer, abs_value, buffer_size);
 2112|       |    // Octal prefix '0' is counted as a digit, so only add it if precision
 2113|       |    // is not greater than the number of digits.
 2114|  5.44k|    auto num_digits = end - begin;
 2115|  5.44k|    if (specs.alt() && specs.precision <= num_digits && abs_value != 0)
  ------------------
  |  Branch (2115:9): [True: 2.81k, False: 2.62k]
  |  Branch (2115:24): [True: 2.81k, False: 0]
  |  Branch (2115:57): [True: 2.46k, False: 352]
  ------------------
 2116|  2.46k|      prefix_append(prefix, '0');
 2117|  5.44k|    break;
 2118|  15.6k|  }
 2119|  12.4k|  case presentation_type::bin:
  ------------------
  |  Branch (2119:3): [True: 12.4k, False: 42.5k]
  ------------------
 2120|  12.4k|    begin = do_format_base2e(1, buffer, abs_value, buffer_size);
 2121|  12.4k|    if (specs.alt())
  ------------------
  |  Branch (2121:9): [True: 7.91k, False: 4.54k]
  ------------------
 2122|  7.91k|      prefix_append(prefix, unsigned(specs.upper() ? 'B' : 'b') << 8 | '0');
  ------------------
  |  Branch (2122:38): [True: 1.46k, False: 6.44k]
  ------------------
 2123|  12.4k|    break;
 2124|  10.0k|  case presentation_type::chr:
  ------------------
  |  Branch (2124:3): [True: 10.0k, False: 44.9k]
  ------------------
 2125|  10.0k|    return write_char<Char>(out, static_cast<Char>(abs_value), specs);
 2126|  54.9k|  }
 2127|       |
 2128|       |  // Write an integer in the format
 2129|       |  //   <left-padding><prefix><numeric-padding><digits><right-padding>
 2130|       |  // prefix contains chars in three lower bytes and the size in the fourth byte.
 2131|  44.9k|  int num_digits = static_cast<int>(end - begin);
 2132|       |  // Slightly faster check for specs.width == 0 && specs.precision == -1.
 2133|  44.9k|  if ((specs.width | (specs.precision + 1)) == 0) {
  ------------------
  |  Branch (2133:7): [True: 21.1k, False: 23.7k]
  ------------------
 2134|  21.1k|    auto it = reserve(out, to_unsigned(num_digits) + (prefix >> 24));
 2135|  23.1k|    for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2135:42): [True: 1.95k, False: 21.1k]
  ------------------
 2136|  1.95k|      *it++ = static_cast<Char>(p & 0xff);
 2137|  21.1k|    return base_iterator(out, copy<Char>(begin, end, it));
 2138|  21.1k|  }
 2139|  23.7k|  auto sp = size_padding(num_digits, prefix, specs);
 2140|  23.7k|  unsigned padding = sp.padding;
 2141|  23.7k|  return write_padded<Char, align::right>(
 2142|  23.7k|      out, specs, sp.size, [=](reserve_iterator<OutputIt> it) {
 2143|  23.7k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
 2144|  23.7k|          *it++ = static_cast<Char>(p & 0xff);
 2145|  23.7k|        it = detail::fill_n(it, padding, static_cast<Char>('0'));
 2146|  23.7k|        return copy<Char>(begin, end, it);
 2147|  23.7k|      });
 2148|  44.9k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_9write_intIcS5_mEET0_S7_NS1_13write_int_argIT1_EERKNS0_12format_specsEEUlS5_E_EES9_S9_SD_mOT2_:
 1734|  23.7k|                            size_t size, F&& f) -> OutputIt {
 1735|  23.7k|  return write_padded<Char, default_align>(out, specs, size, size, f);
 1736|  23.7k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEERZNS1_9write_intIcS5_mEET0_S7_NS1_13write_int_argIT1_EERKNS0_12format_specsEEUlS5_E_EES9_S9_SD_mmOT2_:
 1713|  23.7k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1714|  23.7k|  static_assert(default_align == align::left || default_align == align::right,
 1715|  23.7k|                "");
 1716|  23.7k|  unsigned spec_width = to_unsigned(specs.width);
 1717|  23.7k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1717:20): [True: 5.14k, False: 18.6k]
  ------------------
 1718|       |  // Shifts are encoded as string literals because static constexpr is not
 1719|       |  // supported in constexpr functions.
 1720|  23.7k|  auto* shifts =
 1721|  23.7k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1721:7): [Folded, False: 23.7k]
  ------------------
 1722|  23.7k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1723|  23.7k|  size_t right_padding = padding - left_padding;
 1724|  23.7k|  auto it = reserve(out, size + padding * specs.fill_size());
 1725|  23.7k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1725:7): [True: 4.37k, False: 19.3k]
  ------------------
 1726|  23.7k|  it = f(it);
 1727|  23.7k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1727:7): [True: 2.58k, False: 21.1k]
  ------------------
 1728|  23.7k|  return base_iterator(out, it);
 1729|  23.7k|}
_ZZN3fmt3v126detail9write_intIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsEENKUlS4_E_clES4_:
 2142|  23.7k|      out, specs, sp.size, [=](reserve_iterator<OutputIt> it) {
 2143|  41.6k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2143:46): [True: 17.9k, False: 23.7k]
  ------------------
 2144|  17.9k|          *it++ = static_cast<Char>(p & 0xff);
 2145|  23.7k|        it = detail::fill_n(it, padding, static_cast<Char>('0'));
 2146|  23.7k|        return copy<Char>(begin, end, it);
 2147|  23.7k|      });
_ZN3fmt3v126detail13arg_formatterIcEclIyTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3713|  68.7k|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 3714|  68.7k|    detail::write<Char>(out, value, specs, locale);
 3715|  68.7k|  }
_ZN3fmt3v126detail5writeIcyTnNSt3__19enable_ifIXaaaasr11is_integralIT0_EE5valuentsr3std7is_sameIS5_bEE5valuentsr3std7is_sameIS5_T_EE5valueEiE4typeELi0EEENS0_14basic_appenderIS6_EESA_S5_RKNS0_12format_specsENS0_10locale_refE:
 2164|  68.7k|    -> basic_appender<Char> {
 2165|  68.7k|  if (specs.localized() && write_loc(out, value, specs, loc)) return out;
  ------------------
  |  Branch (2165:7): [True: 13.7k, False: 54.9k]
  |  Branch (2165:28): [True: 13.7k, False: 0]
  ------------------
 2166|  54.9k|  return write_int_noinline<Char>(out, make_write_int_arg(value, specs.sign()),
 2167|  54.9k|                                  specs);
 2168|  68.7k|}
_ZN3fmt3v129loc_valueC2IyTnNSt3__19enable_ifIXntsr6detail11is_float128IT_EE5valueEiE4typeELi0EEES5_:
 3910|  13.7k|  loc_value(T value) : value_(value) {}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EERKNS0_12format_specsENS0_10locale_refE:
 2303|  71.6k|                         const format_specs& specs, locale_ref) -> OutputIt {
 2304|  71.6k|  return write<Char>(out, s, specs);
 2305|  71.6k|}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsE:
 2197|  71.6k|                         const format_specs& specs) -> OutputIt {
 2198|  71.6k|  bool is_debug = specs.type() == presentation_type::debug;
 2199|  71.6k|  if (specs.precision < 0 && specs.width == 0) {
  ------------------
  |  Branch (2199:7): [True: 57.7k, False: 13.8k]
  |  Branch (2199:30): [True: 17.4k, False: 40.3k]
  ------------------
 2200|  17.4k|    auto&& it = reserve(out, s.size());
 2201|  17.4k|    return is_debug ? write_escaped_string(it, s) : copy<char>(s, it);
  ------------------
  |  Branch (2201:12): [True: 11.1k, False: 6.31k]
  ------------------
 2202|  17.4k|  }
 2203|       |
 2204|  54.1k|  size_t display_width_limit =
 2205|  54.1k|      specs.precision < 0 ? SIZE_MAX : to_unsigned(specs.precision);
  ------------------
  |  Branch (2205:7): [True: 40.3k, False: 13.8k]
  ------------------
 2206|  54.1k|  size_t display_width =
 2207|  54.1k|      !is_debug || specs.precision == 0 ? 0 : 1;  // Account for opening '"'.
  ------------------
  |  Branch (2207:7): [True: 32.9k, False: 21.2k]
  |  Branch (2207:20): [True: 392, False: 20.8k]
  ------------------
 2208|  54.1k|  size_t size = !is_debug || specs.precision == 0 ? 0 : 1;
  ------------------
  |  Branch (2208:17): [True: 32.9k, False: 21.2k]
  |  Branch (2208:30): [True: 392, False: 20.8k]
  ------------------
 2209|  54.1k|  for_each_codepoint(s, [&](uint32_t cp, string_view sv) {
 2210|  54.1k|    if (is_debug && needs_escape(cp)) {
 2211|  54.1k|      counting_buffer<char> buf;
 2212|  54.1k|      write_escaped_cp(basic_appender<char>(buf),
 2213|  54.1k|                       find_escape_result<char>{sv.begin(), sv.end(), cp});
 2214|       |      // We're reinterpreting bytes as display width. That's okay
 2215|       |      // because write_escaped_cp() only writes ASCII characters.
 2216|  54.1k|      size_t cp_width = buf.count();
 2217|  54.1k|      if (display_width + cp_width <= display_width_limit) {
 2218|  54.1k|        display_width += cp_width;
 2219|  54.1k|        size += cp_width;
 2220|       |        // If this is the end of the string, account for closing '"'.
 2221|  54.1k|        if (display_width < display_width_limit && sv.end() == s.end()) {
 2222|  54.1k|          ++display_width;
 2223|  54.1k|          ++size;
 2224|  54.1k|        }
 2225|  54.1k|        return true;
 2226|  54.1k|      }
 2227|       |
 2228|  54.1k|      size += display_width_limit - display_width;
 2229|  54.1k|      display_width = display_width_limit;
 2230|  54.1k|      return false;
 2231|  54.1k|    }
 2232|       |
 2233|  54.1k|    size_t cp_width = display_width_of(cp);
 2234|  54.1k|    if (cp_width + display_width <= display_width_limit) {
 2235|  54.1k|      display_width += cp_width;
 2236|  54.1k|      size += sv.size();
 2237|       |      // If this is the end of the string, account for closing '"'.
 2238|  54.1k|      if (is_debug && display_width < display_width_limit &&
 2239|  54.1k|          sv.end() == s.end()) {
 2240|  54.1k|        ++display_width;
 2241|  54.1k|        ++size;
 2242|  54.1k|      }
 2243|  54.1k|      return true;
 2244|  54.1k|    }
 2245|       |
 2246|  54.1k|    return false;
 2247|  54.1k|  });
 2248|       |
 2249|  54.1k|  struct bounded_output_iterator {
 2250|  54.1k|    reserve_iterator<OutputIt> underlying_iterator;
 2251|  54.1k|    size_t bound;
 2252|       |
 2253|  54.1k|    FMT_CONSTEXPR auto operator*() -> bounded_output_iterator& { return *this; }
 2254|  54.1k|    FMT_CONSTEXPR auto operator++() -> bounded_output_iterator& {
 2255|  54.1k|      return *this;
 2256|  54.1k|    }
 2257|  54.1k|    FMT_CONSTEXPR auto operator++(int) -> bounded_output_iterator& {
 2258|  54.1k|      return *this;
 2259|  54.1k|    }
 2260|  54.1k|    FMT_CONSTEXPR auto operator=(char c) -> bounded_output_iterator& {
 2261|  54.1k|      if (bound > 0) {
 2262|  54.1k|        *underlying_iterator++ = c;
 2263|  54.1k|        --bound;
 2264|  54.1k|      }
 2265|  54.1k|      return *this;
 2266|  54.1k|    }
 2267|  54.1k|  };
 2268|       |
 2269|  54.1k|  return write_padded<char>(
 2270|  54.1k|      out, specs, size, display_width, [=](reserve_iterator<OutputIt> it) {
 2271|  54.1k|        return is_debug
 2272|  54.1k|                   ? write_escaped_string(bounded_output_iterator{it, size}, s)
 2273|  54.1k|                         .underlying_iterator
 2274|  54.1k|                   : copy<char>(s.data(), s.data() + size, it);
 2275|  54.1k|      });
 2276|  71.6k|}
_ZN3fmt3v126detail20write_escaped_stringIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EE:
 1852|  11.1k|    -> OutputIt {
 1853|  11.1k|  *out++ = static_cast<Char>('"');
 1854|  11.1k|  auto begin = str.begin(), end = str.end();
 1855|   115M|  do {
 1856|   115M|    auto escape = find_escape(begin, end);
 1857|   115M|    out = copy<Char>(begin, escape.begin, out);
 1858|   115M|    begin = escape.end;
 1859|   115M|    if (!begin) break;
  ------------------
  |  Branch (1859:9): [True: 5.37k, False: 115M]
  ------------------
 1860|   115M|    out = write_escaped_cp<OutputIt, Char>(out, escape);
 1861|   115M|  } while (begin != end);
  ------------------
  |  Branch (1861:12): [True: 115M, False: 5.79k]
  ------------------
 1862|  11.1k|  *out++ = static_cast<Char>('"');
 1863|  11.1k|  return out;
 1864|  11.1k|}
_ZN3fmt3v126detail11find_escapeEPKcS3_:
 1789|   344M|    -> find_escape_result<char> {
 1790|   344M|  if FMT_CONSTEXPR20 (!use_utf8) return find_escape<char>(begin, end);
  ------------------
  |  Branch (1790:23): [Folded, False: 344M]
  ------------------
 1791|   344M|  auto result = find_escape_result<char>{end, nullptr, 0};
 1792|   344M|  for_each_codepoint(string_view(begin, to_unsigned(end - begin)),
 1793|   344M|                     [&](uint32_t cp, string_view sv) {
 1794|   344M|                       if (needs_escape(cp)) {
 1795|   344M|                         result = {sv.begin(), sv.end(), cp};
 1796|   344M|                         return false;
 1797|   344M|                       }
 1798|   344M|                       return true;
 1799|   344M|                     });
 1800|   344M|  return result;
 1801|   344M|}
_ZN3fmt3v126detail18for_each_codepointIZNS1_11find_escapeEPKcS4_EUljNS0_17basic_string_viewIcEEE_EEvS6_T_:
  622|   344M|FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
  623|   344M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  624|   344M|    auto cp = uint32_t();
  625|   344M|    auto error = 0;
  626|   344M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  627|   344M|    bool result = f(error ? invalid_code_point : cp,
  628|   344M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  629|   344M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  630|   344M|  };
  631|       |
  632|   344M|  auto p = s.data();
  633|   344M|  const size_t block_size = 4;  // utf8_decode always reads blocks of 4 chars.
  634|   344M|  if (s.size() >= block_size) {
  ------------------
  |  Branch (634:7): [True: 344M, False: 36.7k]
  ------------------
  635|   454M|    for (auto end = p + s.size() - block_size + 1; p < end;) {
  ------------------
  |  Branch (635:52): [True: 454M, False: 16.5k]
  ------------------
  636|   454M|      p = decode(p, p);
  637|   454M|      if (!p) return;
  ------------------
  |  Branch (637:11): [True: 344M, False: 110M]
  ------------------
  638|   454M|    }
  639|   344M|  }
  640|  53.2k|  auto num_chars_left = to_unsigned(s.data() + s.size() - p);
  641|  53.2k|  if (num_chars_left == 0) return;
  ------------------
  |  Branch (641:7): [True: 2.96k, False: 50.3k]
  ------------------
  642|       |
  643|       |  // Suppress bogus -Wstringop-overflow.
  644|  50.3k|  if (FMT_GCC_VERSION) num_chars_left &= 3;
  ------------------
  |  |   35|  50.3k|#  define FMT_GCC_VERSION 0
  |  |  ------------------
  |  |  |  Branch (35:27): [Folded, False: 50.3k]
  |  |  ------------------
  ------------------
  645|  50.3k|  char buf[2 * block_size - 1] = {};
  646|  50.3k|  copy<char>(p, p + num_chars_left, buf);
  647|  50.3k|  const char* buf_ptr = buf;
  648|  77.1k|  do {
  649|  77.1k|    auto end = decode(buf_ptr, p);
  650|  77.1k|    if (!end) return;
  ------------------
  |  Branch (650:9): [True: 35.8k, False: 41.2k]
  ------------------
  651|  41.2k|    p += end - buf_ptr;
  652|  41.2k|    buf_ptr = end;
  653|  41.2k|  } while (buf_ptr < buf + num_chars_left);
  ------------------
  |  Branch (653:12): [True: 26.8k, False: 14.4k]
  ------------------
  654|  50.3k|}
_ZZN3fmt3v126detail18for_each_codepointIZNS1_11find_escapeEPKcS4_EUljNS0_17basic_string_viewIcEEE_EEvS6_T_ENKUlS4_S4_E_clES4_S4_:
  623|   455M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  624|   455M|    auto cp = uint32_t();
  625|   455M|    auto error = 0;
  626|   455M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  627|   455M|    bool result = f(error ? invalid_code_point : cp,
  ------------------
  |  Branch (627:21): [True: 83.8M, False: 371M]
  ------------------
  628|   455M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  ------------------
  |  Branch (628:38): [True: 83.8M, False: 371M]
  ------------------
  629|   455M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  ------------------
  |  Branch (629:12): [True: 110M, False: 344M]
  |  Branch (629:22): [True: 0, False: 110M]
  ------------------
  630|   455M|  };
_ZN3fmt3v126detail11utf8_decodeEPKcPjPi:
  581|   713M|    -> const char* {
  582|   713M|  constexpr int masks[] = {0x00, 0x7f, 0x1f, 0x0f, 0x07};
  583|   713M|  constexpr uint32_t mins[] = {4194304, 0, 128, 2048, 65536};
  584|   713M|  constexpr int shiftc[] = {0, 18, 12, 6, 0};
  585|   713M|  constexpr int shifte[] = {0, 6, 4, 2, 0};
  586|       |
  587|   713M|  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"
  588|   713M|      [static_cast<unsigned char>(*s) >> 3];
  589|       |  // Compute the pointer to the next character early so that the next
  590|       |  // iteration can start working on the next character. Neither Clang
  591|       |  // nor GCC figure out this reordering on their own.
  592|   713M|  const char* next = s + len + !len;
  593|       |
  594|   713M|  using uchar = unsigned char;
  595|       |
  596|       |  // Assume a four-byte character and load four bytes. Unused bits are
  597|       |  // shifted out.
  598|   713M|  *c = uint32_t(uchar(s[0]) & masks[len]) << 18;
  599|   713M|  *c |= uint32_t(uchar(s[1]) & 0x3f) << 12;
  600|   713M|  *c |= uint32_t(uchar(s[2]) & 0x3f) << 6;
  601|   713M|  *c |= uint32_t(uchar(s[3]) & 0x3f) << 0;
  602|   713M|  *c >>= shiftc[len];
  603|       |
  604|       |  // Accumulate the various error conditions.
  605|   713M|  *e = (*c < mins[len]) << 6;       // non-canonical encoding
  606|   713M|  *e |= ((*c >> 11) == 0x1b) << 7;  // surrogate half?
  607|   713M|  *e |= (*c > 0x10FFFF) << 8;       // out of range?
  608|   713M|  *e |= (uchar(s[1]) & 0xc0) >> 2;
  609|   713M|  *e |= (uchar(s[2]) & 0xc0) >> 4;
  610|   713M|  *e |= uchar(s[3]) >> 6;
  611|   713M|  *e ^= 0x2a;  // top two bits of each tail byte correct?
  612|   713M|  *e >>= shifte[len];
  613|       |
  614|   713M|  return next;
  615|   713M|}
_ZZN3fmt3v126detail11find_escapeEPKcS3_ENKUljNS0_17basic_string_viewIcEEE_clEjS5_:
 1793|   455M|                     [&](uint32_t cp, string_view sv) {
 1794|   455M|                       if (needs_escape(cp)) {
  ------------------
  |  Branch (1794:28): [True: 344M, False: 110M]
  ------------------
 1795|   344M|                         result = {sv.begin(), sv.end(), cp};
 1796|   344M|                         return false;
 1797|   344M|                       }
 1798|   110M|                       return true;
 1799|   455M|                     });
_ZN3fmt3v126detail4copyIccNS0_14basic_appenderIcEEEET1_NS0_17basic_string_viewIT0_EES5_:
  553|  6.31k|FMT_CONSTEXPR auto copy(basic_string_view<V> s, OutputIt out) -> OutputIt {
  554|  6.31k|  return copy<T>(s.begin(), s.end(), out);
  555|  6.31k|}
_ZN3fmt3v126detail18for_each_codepointIZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEEUljNSC_IcEEE_EEvSH_S8_:
  622|  54.1k|FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
  623|  54.1k|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  624|  54.1k|    auto cp = uint32_t();
  625|  54.1k|    auto error = 0;
  626|  54.1k|    auto end = utf8_decode(buf_ptr, &cp, &error);
  627|  54.1k|    bool result = f(error ? invalid_code_point : cp,
  628|  54.1k|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  629|  54.1k|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  630|  54.1k|  };
  631|       |
  632|  54.1k|  auto p = s.data();
  633|  54.1k|  const size_t block_size = 4;  // utf8_decode always reads blocks of 4 chars.
  634|  54.1k|  if (s.size() >= block_size) {
  ------------------
  |  Branch (634:7): [True: 47.8k, False: 6.33k]
  ------------------
  635|   258M|    for (auto end = p + s.size() - block_size + 1; p < end;) {
  ------------------
  |  Branch (635:52): [True: 258M, False: 37.0k]
  ------------------
  636|   258M|      p = decode(p, p);
  637|   258M|      if (!p) return;
  ------------------
  |  Branch (637:11): [True: 10.7k, False: 258M]
  ------------------
  638|   258M|    }
  639|  47.8k|  }
  640|  43.3k|  auto num_chars_left = to_unsigned(s.data() + s.size() - p);
  641|  43.3k|  if (num_chars_left == 0) return;
  ------------------
  |  Branch (641:7): [True: 4.82k, False: 38.5k]
  ------------------
  642|       |
  643|       |  // Suppress bogus -Wstringop-overflow.
  644|  38.5k|  if (FMT_GCC_VERSION) num_chars_left &= 3;
  ------------------
  |  |   35|  38.5k|#  define FMT_GCC_VERSION 0
  |  |  ------------------
  |  |  |  Branch (35:27): [Folded, False: 38.5k]
  |  |  ------------------
  ------------------
  645|  38.5k|  char buf[2 * block_size - 1] = {};
  646|  38.5k|  copy<char>(p, p + num_chars_left, buf);
  647|  38.5k|  const char* buf_ptr = buf;
  648|  92.9k|  do {
  649|  92.9k|    auto end = decode(buf_ptr, p);
  650|  92.9k|    if (!end) return;
  ------------------
  |  Branch (650:9): [True: 936, False: 92.0k]
  ------------------
  651|  92.0k|    p += end - buf_ptr;
  652|  92.0k|    buf_ptr = end;
  653|  92.0k|  } while (buf_ptr < buf + num_chars_left);
  ------------------
  |  Branch (653:12): [True: 54.4k, False: 37.6k]
  ------------------
  654|  38.5k|}
_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_:
  623|   258M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  624|   258M|    auto cp = uint32_t();
  625|   258M|    auto error = 0;
  626|   258M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  627|   258M|    bool result = f(error ? invalid_code_point : cp,
  ------------------
  |  Branch (627:21): [True: 53.0M, False: 205M]
  ------------------
  628|   258M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  ------------------
  |  Branch (628:38): [True: 53.0M, False: 205M]
  ------------------
  629|   258M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  ------------------
  |  Branch (629:12): [True: 258M, False: 11.7k]
  |  Branch (629:22): [True: 53.0M, False: 205M]
  ------------------
  630|   258M|  };
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEENKUljNSB_IcEEE_clEjSG_:
 2209|   258M|  for_each_codepoint(s, [&](uint32_t cp, string_view sv) {
 2210|   258M|    if (is_debug && needs_escape(cp)) {
  ------------------
  |  Branch (2210:9): [True: 171M, False: 86.8M]
  |  Branch (2210:21): [True: 132M, False: 38.5M]
  ------------------
 2211|   132M|      counting_buffer<char> buf;
 2212|   132M|      write_escaped_cp(basic_appender<char>(buf),
 2213|   132M|                       find_escape_result<char>{sv.begin(), sv.end(), cp});
 2214|       |      // We're reinterpreting bytes as display width. That's okay
 2215|       |      // because write_escaped_cp() only writes ASCII characters.
 2216|   132M|      size_t cp_width = buf.count();
 2217|   132M|      if (display_width + cp_width <= display_width_limit) {
  ------------------
  |  Branch (2217:11): [True: 132M, False: 6.00k]
  ------------------
 2218|   132M|        display_width += cp_width;
 2219|   132M|        size += cp_width;
 2220|       |        // If this is the end of the string, account for closing '"'.
 2221|   132M|        if (display_width < display_width_limit && sv.end() == s.end()) {
  ------------------
  |  Branch (2221:13): [True: 132M, False: 512]
  |  Branch (2221:52): [True: 7.49k, False: 132M]
  ------------------
 2222|  7.49k|          ++display_width;
 2223|  7.49k|          ++size;
 2224|  7.49k|        }
 2225|   132M|        return true;
 2226|   132M|      }
 2227|       |
 2228|  6.00k|      size += display_width_limit - display_width;
 2229|  6.00k|      display_width = display_width_limit;
 2230|  6.00k|      return false;
 2231|   132M|    }
 2232|       |
 2233|   125M|    size_t cp_width = display_width_of(cp);
 2234|   125M|    if (cp_width + display_width <= display_width_limit) {
  ------------------
  |  Branch (2234:9): [True: 125M, False: 5.71k]
  ------------------
 2235|   125M|      display_width += cp_width;
 2236|   125M|      size += sv.size();
 2237|       |      // If this is the end of the string, account for closing '"'.
 2238|   125M|      if (is_debug && display_width < display_width_limit &&
  ------------------
  |  Branch (2238:11): [True: 38.5M, False: 86.8M]
  |  Branch (2238:23): [True: 38.5M, False: 344]
  ------------------
 2239|  38.5M|          sv.end() == s.end()) {
  ------------------
  |  Branch (2239:11): [True: 6.63k, False: 38.5M]
  ------------------
 2240|  6.63k|        ++display_width;
 2241|  6.63k|        ++size;
 2242|  6.63k|      }
 2243|   125M|      return true;
 2244|   125M|    }
 2245|       |
 2246|  5.71k|    return false;
 2247|   125M|  });
_ZN3fmt3v126detail16display_width_ofEj:
  656|   125M|FMT_CONSTEXPR inline auto display_width_of(uint32_t cp) noexcept -> size_t {
  657|   125M|  return to_unsigned(
  658|   125M|      1 + (cp >= 0x1100 &&
  ------------------
  |  Branch (658:12): [True: 14.1M, False: 111M]
  ------------------
  659|  14.1M|           (cp <= 0x115f ||  // Hangul Jamo init. consonants
  ------------------
  |  Branch (659:13): [True: 3.45k, False: 14.1M]
  ------------------
  660|  14.1M|            cp == 0x2329 ||  // LEFT-POINTING ANGLE BRACKET
  ------------------
  |  Branch (660:13): [True: 1.45k, False: 14.1M]
  ------------------
  661|  14.1M|            cp == 0x232a ||  // RIGHT-POINTING ANGLE BRACKET
  ------------------
  |  Branch (661:13): [True: 184, False: 14.1M]
  ------------------
  662|       |            // CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE:
  663|  14.1M|            (cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) ||
  ------------------
  |  Branch (663:14): [True: 14.1M, False: 4.58k]
  |  Branch (663:30): [True: 12.1k, False: 14.0M]
  |  Branch (663:46): [True: 8.80k, False: 3.30k]
  ------------------
  664|  14.0M|            (cp >= 0xac00 && cp <= 0xd7a3) ||    // Hangul Syllables
  ------------------
  |  Branch (664:14): [True: 14.0M, False: 10.0k]
  |  Branch (664:30): [True: 6.28k, False: 14.0M]
  ------------------
  665|  14.0M|            (cp >= 0xf900 && cp <= 0xfaff) ||    // CJK Compatibility Ideographs
  ------------------
  |  Branch (665:14): [True: 14.0M, False: 24.7k]
  |  Branch (665:30): [True: 1.38k, False: 14.0M]
  ------------------
  666|  14.0M|            (cp >= 0xfe10 && cp <= 0xfe19) ||    // Vertical Forms
  ------------------
  |  Branch (666:14): [True: 14.0M, False: 26.5k]
  |  Branch (666:30): [True: 6.20k, False: 14.0M]
  ------------------
  667|  14.0M|            (cp >= 0xfe30 && cp <= 0xfe6f) ||    // CJK Compatibility Forms
  ------------------
  |  Branch (667:14): [True: 14.0M, False: 26.6k]
  |  Branch (667:30): [True: 4.35k, False: 14.0M]
  ------------------
  668|  14.0M|            (cp >= 0xff00 && cp <= 0xff60) ||    // Fullwidth Forms
  ------------------
  |  Branch (668:14): [True: 14.0M, False: 26.7k]
  |  Branch (668:30): [True: 4.96k, False: 14.0M]
  ------------------
  669|  14.0M|            (cp >= 0xffe0 && cp <= 0xffe6) ||    // Fullwidth Forms
  ------------------
  |  Branch (669:14): [True: 14.0M, False: 33.6k]
  |  Branch (669:30): [True: 10.6k, False: 14.0M]
  ------------------
  670|  14.0M|            (cp >= 0x20000 && cp <= 0x2fffd) ||  // CJK
  ------------------
  |  Branch (670:14): [True: 13.9M, False: 149k]
  |  Branch (670:31): [True: 40.5k, False: 13.8M]
  ------------------
  671|  14.0M|            (cp >= 0x30000 && cp <= 0x3fffd) ||
  ------------------
  |  Branch (671:14): [True: 13.8M, False: 149k]
  |  Branch (671:31): [True: 9.96k, False: 13.8M]
  ------------------
  672|       |            // Miscellaneous Symbols and Pictographs + Emoticons:
  673|  14.0M|            (cp >= 0x1f300 && cp <= 0x1f64f) ||
  ------------------
  |  Branch (673:14): [True: 13.9M, False: 109k]
  |  Branch (673:31): [True: 6.48k, False: 13.8M]
  ------------------
  674|       |            // Supplemental Symbols and Pictographs:
  675|  14.0M|            (cp >= 0x1f900 && cp <= 0x1f9ff))));
  ------------------
  |  Branch (675:14): [True: 13.8M, False: 138k]
  |  Branch (675:31): [True: 3.27k, False: 13.8M]
  ------------------
  676|   125M|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEEZNS1_5writeIcS5_TnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SC_NS0_17basic_string_viewIS9_EERKNS0_12format_specsEEUlS5_E_EET1_SJ_SH_mmOT2_:
 1713|  54.1k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1714|  54.1k|  static_assert(default_align == align::left || default_align == align::right,
 1715|  54.1k|                "");
 1716|  54.1k|  unsigned spec_width = to_unsigned(specs.width);
 1717|  54.1k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1717:20): [True: 11.6k, False: 42.5k]
  ------------------
 1718|       |  // Shifts are encoded as string literals because static constexpr is not
 1719|       |  // supported in constexpr functions.
 1720|  54.1k|  auto* shifts =
 1721|  54.1k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1721:7): [True: 54.1k, Folded]
  ------------------
 1722|  54.1k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1723|  54.1k|  size_t right_padding = padding - left_padding;
 1724|  54.1k|  auto it = reserve(out, size + padding * specs.fill_size());
 1725|  54.1k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1725:7): [True: 1.88k, False: 52.2k]
  ------------------
 1726|  54.1k|  it = f(it);
 1727|  54.1k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1727:7): [True: 10.4k, False: 43.7k]
  ------------------
 1728|  54.1k|  return base_iterator(out, it);
 1729|  54.1k|}
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEENKUlS4_E_clES4_:
 2270|  54.1k|      out, specs, size, display_width, [=](reserve_iterator<OutputIt> it) {
 2271|  54.1k|        return is_debug
  ------------------
  |  Branch (2271:16): [True: 21.2k, False: 32.9k]
  ------------------
 2272|  54.1k|                   ? write_escaped_string(bounded_output_iterator{it, size}, s)
 2273|  21.2k|                         .underlying_iterator
 2274|  54.1k|                   : copy<char>(s.data(), s.data() + size, it);
 2275|  54.1k|      });
_ZN3fmt3v126detail20write_escaped_stringIcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEESB_SB_SD_:
 1852|  21.2k|    -> OutputIt {
 1853|  21.2k|  *out++ = static_cast<Char>('"');
 1854|  21.2k|  auto begin = str.begin(), end = str.end();
 1855|   229M|  do {
 1856|   229M|    auto escape = find_escape(begin, end);
 1857|   229M|    out = copy<Char>(begin, escape.begin, out);
 1858|   229M|    begin = escape.end;
 1859|   229M|    if (!begin) break;
  ------------------
  |  Branch (1859:9): [True: 12.0k, False: 229M]
  ------------------
 1860|   229M|    out = write_escaped_cp<OutputIt, Char>(out, escape);
 1861|   229M|  } while (begin != end);
  ------------------
  |  Branch (1861:12): [True: 229M, False: 9.23k]
  ------------------
 1862|  21.2k|  *out++ = static_cast<Char>('"');
 1863|  21.2k|  return out;
 1864|  21.2k|}
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratorppEi:
 2257|   942M|    FMT_CONSTEXPR auto operator++(int) -> bounded_output_iterator& {
 2258|   942M|      return *this;
 2259|   942M|    }
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratordeEv:
 2253|   942M|    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:
 2260|   942M|    FMT_CONSTEXPR auto operator=(char c) -> bounded_output_iterator& {
 2261|   942M|      if (bound > 0) {
  ------------------
  |  Branch (2261:11): [True: 555M, False: 387M]
  ------------------
 2262|   555M|        *underlying_iterator++ = c;
 2263|   555M|        --bound;
 2264|   555M|      }
 2265|   942M|      return *this;
 2266|   942M|    }
_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:
 1815|   229M|    -> OutputIt {
 1816|   229M|  auto c = static_cast<Char>(escape.cp);
 1817|   229M|  switch (escape.cp) {
 1818|  3.85M|  case '\n':
  ------------------
  |  Branch (1818:3): [True: 3.85M, False: 225M]
  ------------------
 1819|  3.85M|    *out++ = static_cast<Char>('\\');
 1820|  3.85M|    c = static_cast<Char>('n');
 1821|  3.85M|    break;
 1822|   888k|  case '\r':
  ------------------
  |  Branch (1822:3): [True: 888k, False: 228M]
  ------------------
 1823|   888k|    *out++ = static_cast<Char>('\\');
 1824|   888k|    c = static_cast<Char>('r');
 1825|   888k|    break;
 1826|   380k|  case '\t':
  ------------------
  |  Branch (1826:3): [True: 380k, False: 228M]
  ------------------
 1827|   380k|    *out++ = static_cast<Char>('\\');
 1828|   380k|    c = static_cast<Char>('t');
 1829|   380k|    break;
 1830|  7.53M|  case '"':  FMT_FALLTHROUGH;
  ------------------
  |  |  181|  7.53M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1830:3): [True: 7.53M, False: 221M]
  ------------------
 1831|  7.53M|  case '\'': FMT_FALLTHROUGH;
  ------------------
  |  |  181|  7.53M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1831:3): [True: 0, False: 229M]
  ------------------
 1832|  7.84M|  case '\\': *out++ = static_cast<Char>('\\'); break;
  ------------------
  |  Branch (1832:3): [True: 315k, False: 228M]
  ------------------
 1833|   216M|  default:
  ------------------
  |  Branch (1833:3): [True: 216M, False: 12.9M]
  ------------------
 1834|   216M|    if (escape.cp < 0x100) return write_codepoint<2, Char>(out, 'x', escape.cp);
  ------------------
  |  Branch (1834:9): [True: 150M, False: 65.6M]
  ------------------
 1835|  65.6M|    if (escape.cp < 0x10000)
  ------------------
  |  Branch (1835:9): [True: 790k, False: 64.8M]
  ------------------
 1836|   790k|      return write_codepoint<4, Char>(out, 'u', escape.cp);
 1837|  64.8M|    if (escape.cp < 0x110000)
  ------------------
  |  Branch (1837:9): [True: 558k, False: 64.2M]
  ------------------
 1838|   558k|      return write_codepoint<8, Char>(out, 'U', escape.cp);
 1839|  64.2M|    for (Char escape_char : basic_string_view<Char>(
  ------------------
  |  Branch (1839:27): [True: 64.2M, False: 64.2M]
  ------------------
 1840|  64.2M|             escape.begin, to_unsigned(escape.end - escape.begin))) {
 1841|  64.2M|      out = write_codepoint<2, Char>(out, 'x',
 1842|  64.2M|                                     static_cast<uint32_t>(escape_char) & 0xFF);
 1843|  64.2M|    }
 1844|  64.2M|    return out;
 1845|   229M|  }
 1846|  12.9M|  *out++ = c;
 1847|  12.9M|  return out;
 1848|   229M|}
_ZN3fmt3v126detail15write_codepointILm2EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1804|   214M|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1805|   214M|  *out++ = static_cast<Char>('\\');
 1806|   214M|  *out++ = static_cast<Char>(prefix);
 1807|   214M|  Char buf[width];
 1808|   214M|  fill_n(buf, width, static_cast<Char>('0'));
 1809|   214M|  format_base2e(4, buf, cp, width);
 1810|   214M|  return copy<Char>(buf, buf + width, out);
 1811|   214M|}
_ZN3fmt3v126detail15write_codepointILm4EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1804|   790k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1805|   790k|  *out++ = static_cast<Char>('\\');
 1806|   790k|  *out++ = static_cast<Char>(prefix);
 1807|   790k|  Char buf[width];
 1808|   790k|  fill_n(buf, width, static_cast<Char>('0'));
 1809|   790k|  format_base2e(4, buf, cp, width);
 1810|   790k|  return copy<Char>(buf, buf + width, out);
 1811|   790k|}
_ZN3fmt3v126detail15write_codepointILm8EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1804|   558k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1805|   558k|  *out++ = static_cast<Char>('\\');
 1806|   558k|  *out++ = static_cast<Char>(prefix);
 1807|   558k|  Char buf[width];
 1808|   558k|  fill_n(buf, width, static_cast<Char>('0'));
 1809|   558k|  format_base2e(4, buf, cp, width);
 1810|   558k|  return copy<Char>(buf, buf + width, out);
 1811|   558k|}
_ZN3fmt3v126detail13arg_formatterIcEclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3713|  71.6k|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 3714|  71.6k|    detail::write<Char>(out, value, specs, locale);
 3715|  71.6k|  }
_ZN3fmt3v126detail14format_handlerIcE8on_errorEPKc:
 3834|  16.1k|  FMT_NORETURN void on_error(const char* message) { report_error(message); }
_ZN3fmt3v129to_stringILm500EEENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERKNS0_19basic_memory_bufferIcXT_ENS0_6detail9allocatorIcEEEE:
  905|  12.4k|    -> std::string {
  906|  12.4k|  auto size = buf.size();
  907|  12.4k|  detail::assume(size < std::string().max_size());
  908|  12.4k|  return {buf.data(), size};
  909|  12.4k|}
_ZN3fmt3v126detail22compile_string_to_viewIcLm12EEENS0_17basic_string_viewIT_EERAT0__KS4_:
  979|  24.8k|    -> basic_string_view<Char> {
  980|       |  // Remove trailing NUL character if needed. Won't be present if this is used
  981|       |  // with a raw character array (i.e. not defined as a string).
  982|  24.8k|  return {s, N - (std::char_traits<Char>::to_int_type(s[N - 1]) == 0 ? 1 : 0)};
  ------------------
  |  Branch (982:19): [True: 24.8k, False: 0]
  ------------------
  983|  24.8k|}
_ZN3fmt3v126formatIJPKcRS3_RiEEENSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEENS0_7fstringIJDpT_EE1tEDpOSE_:
 4371|  12.4k|    -> std::string {
 4372|  12.4k|  return vformat(fmt.str, vargs<T...>{{args...}});
 4373|  12.4k|}
_ZZN6spdlog6logger4log_IJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v1217basic_string_viewIcEEDpOT_ENKUlvE_clEv:
 4245|  12.4k|    [] {                                                                     \
 4246|  12.4k|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
 4247|  12.4k|      /* Use a macro-like name to avoid shadowing warnings. */               \
 4248|  12.4k|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
 4249|  12.4k|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
 4250|  12.4k|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
 4251|  12.4k|            const {                                                          \
 4252|  12.4k|          return fmt::detail::compile_string_to_view<char_type>(s);          \
 4253|  12.4k|        }                                                                    \
 4254|  12.4k|      };                                                                     \
 4255|  12.4k|      using FMT_STRING_VIEW =                                                \
 4256|  12.4k|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
 4257|  12.4k|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
 4258|  12.4k|      return FMT_COMPILE_STRING();                                           \
 4259|  12.4k|    }()
_ZZZN6spdlog6logger4log_IJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v1217basic_string_viewIcEEDpOT_ENKUlvE_clEvENK18FMT_COMPILE_STRINGcvSJ_Ev:
 4251|  24.8k|            const {                                                          \
 4252|  24.8k|          return fmt::detail::compile_string_to_view<char_type>(s);          \
 4253|  24.8k|        }                                                                    \

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

_ZNK6spdlog6logger4nameEv:
   68|    813|SPDLOG_INLINE const std::string &logger::name() const { return name_; }
_ZN6spdlog6logger8sink_it_ERKNS_7details7log_msgE:
  135|  8.19k|SPDLOG_INLINE void logger::sink_it_(const details::log_msg &msg) {
  136|  8.19k|    for (auto &sink : sinks_) {
  ------------------
  |  Branch (136:21): [True: 8.19k, False: 8.19k]
  ------------------
  137|  8.19k|        if (sink->should_log(msg.level)) {
  ------------------
  |  Branch (137:13): [True: 8.19k, False: 0]
  ------------------
  138|  8.19k|            SPDLOG_TRY { sink->log(msg); }
  ------------------
  |  |  116|  8.19k|#define SPDLOG_TRY try
  ------------------
  139|  8.19k|            SPDLOG_LOGGER_CATCH(msg.source)
  ------------------
  |  |   32|  8.19k|    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)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4273|      0|#  define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4245|      0|    [] {                                                                     \
  |  |  |  |  |  |  |  | 4246|      0|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  |  |  | 4247|      0|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  |  |  | 4248|      0|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  |  |  | 4249|      0|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  |  |  | 4250|      0|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  |  |  | 4251|      0|            const {                                                          \
  |  |  |  |  |  |  |  | 4252|      0|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  |  |  | 4253|      0|        }                                                                    \
  |  |  |  |  |  |  |  | 4254|      0|      };                                                                     \
  |  |  |  |  |  |  |  | 4255|      0|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  |  |  | 4256|      0|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  |  |  | 4257|      0|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  |  |  | 4258|      0|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  |  |  | 4259|      0|    }()
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   35|      0|                                         location.filename, location.line));          \
  |  |   36|      0|        } else {                                                                      \
  |  |   37|      0|            err_handler_(ex.what());                                                  \
  |  |   38|      0|        }                                                                             \
  |  |   39|      0|    }                                                                                 \
  |  |   40|  8.19k|    catch (...) {                                                                     \
  |  |   41|      0|        err_handler_("Rethrowing unknown exception in logger");                       \
  |  |   42|      0|        throw;                                                                        \
  |  |   43|      0|    }
  ------------------
  140|  8.19k|        }
  141|  8.19k|    }
  142|       |
  143|  8.19k|    if (should_flush_(msg)) {
  ------------------
  |  Branch (143:9): [True: 0, False: 8.19k]
  ------------------
  144|      0|        flush_();
  145|      0|    }
  146|  8.19k|}
_ZNK6spdlog6logger12err_handler_ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  170|  24.8k|SPDLOG_INLINE void logger::err_handler_(const std::string &msg) const {
  171|  24.8k|    if (custom_err_handler_) {
  ------------------
  |  Branch (171:9): [True: 0, False: 24.8k]
  ------------------
  172|      0|        custom_err_handler_(msg);
  173|  24.8k|    } else {
  174|  24.8k|        using std::chrono::system_clock;
  175|  24.8k|        static std::mutex mutex;
  176|  24.8k|        static std::chrono::system_clock::time_point last_report_time;
  177|  24.8k|        static size_t err_counter = 0;
  178|  24.8k|        std::lock_guard<std::mutex> lk{mutex};
  179|  24.8k|        auto now = system_clock::now();
  180|  24.8k|        err_counter++;
  181|  24.8k|        if (now - last_report_time < std::chrono::seconds(1)) {
  ------------------
  |  Branch (181:13): [True: 24.0k, False: 810]
  ------------------
  182|  24.0k|            return;
  183|  24.0k|        }
  184|    810|        last_report_time = now;
  185|    810|        auto tm_time = details::os::localtime(system_clock::to_time_t(now));
  186|    810|        char date_buf[64];
  187|    810|        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|    810|                     name().c_str(), msg.c_str());
  194|    810|#endif
  195|    810|    }
  196|  24.8k|}
_ZNK6spdlog6logger13should_flush_ERKNS_7details7log_msgE:
  166|  8.19k|SPDLOG_INLINE bool logger::should_flush_(const details::log_msg &msg) const {
  167|  8.19k|    return (msg.level >= flush_level()) && (msg.level != level::off);
  ------------------
  |  Branch (167:12): [True: 0, False: 8.19k]
  |  Branch (167:44): [True: 0, False: 0]
  ------------------
  168|  8.19k|}
_ZNK6spdlog6logger11flush_levelEv:
  102|  8.19k|SPDLOG_INLINE level::level_enum logger::flush_level() const {
  103|  8.19k|    return static_cast<level::level_enum>(flush_level_.load(std::memory_order_relaxed));
  104|  8.19k|}
_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|  8.19k|                                   bool traceback_enabled) {
  127|  8.19k|    if (log_enabled) {
  ------------------
  |  Branch (127:9): [True: 8.19k, False: 0]
  ------------------
  128|  8.19k|        sink_it_(log_msg);
  129|  8.19k|    }
  130|  8.19k|    if (traceback_enabled) {
  ------------------
  |  Branch (130:9): [True: 0, False: 8.19k]
  ------------------
  131|      0|        tracer_.push_back(log_msg);
  132|      0|    }
  133|  8.19k|}

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

_ZN6spdlog3mdc15context_createdEv:
   18|  8.19k|SPDLOG_INLINE bool& mdc::context_created() noexcept {
   19|  8.19k|    static thread_local bool created = false;
   20|  8.19k|    return created;
   21|  8.19k|}

_ZN6spdlog3mdc11has_contextEv:
   51|  8.19k|    static bool has_context() noexcept { return context_created(); }

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

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

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

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

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

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

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

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

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

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

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

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

