aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Sene <rafael@riscv.org>2024-06-22 11:26:41 -0300
committerGitHub <noreply@github.com>2024-06-22 11:26:41 -0300
commitef7416ce1d3e4511fe7fd6f4568edbbee25a0830 (patch)
treea06849b7f6279dba7a43c4ecc5ffcb17a17cc60c
parentf03e97c89fb5fa952f1a1264734aecf39619b65d (diff)
downloadspike-ef7416ce1d3e4511fe7fd6f4568edbbee25a0830.zip
spike-ef7416ce1d3e4511fe7fd6f4568edbbee25a0830.tar.gz
spike-ef7416ce1d3e4511fe7fd6f4568edbbee25a0830.tar.bz2
Fix: Add missing <stdexcept> header for std::logic_error
- Included <stdexcept> in isa_parser.cc to resolve compilation error due to missing type 'std::logic_error'. Signed-off-by: Rafael Sene <rafael@riscv.org>
-rw-r--r--disasm/isa_parser.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/disasm/isa_parser.cc b/disasm/isa_parser.cc
index cba5516..e37b72f 100644
--- a/disasm/isa_parser.cc
+++ b/disasm/isa_parser.cc
@@ -1,4 +1,5 @@
#include "isa_parser.h"
+#include <stdexcept>
static std::string strtolower(const char* str)
{