fix log macro

This commit is contained in:
Stanislaw Kaushanski 2024-04-15 13:03:47 +02:00
parent b25b7848c6
commit fbcd389580
1 changed files with 4 additions and 3 deletions

View File

@ -35,13 +35,14 @@
#ifndef _RISCV_HART_COMMON
#define _RISCV_HART_COMMON
#include "iss/arch_if.h"
#include "iss/log_categories.h"
#include <cstdint>
#include <elfio/elfio.hpp>
#include <fmt/format.h>
#include <iss/arch_if.h>
#include <iss/log_categories.h>
#include <string>
#include <unordered_map>
#include <util/logging.h>
namespace iss {
namespace arch {
@ -344,7 +345,7 @@ struct riscv_hart_common {
if(name != "") {
this->symbol_table[name] = value;
#ifndef NDEBUG
LOG(DEBUG) << "Found Symbol " << name;
CPPLOG(DEBUG) << "Found Symbol " << name;
#endif
}
}