Added ARM32 support

This commit is contained in:
alejo committed 2026-11-03 15:22:24 -03:00
1 parent df792729ef
commit 1212cb9dbe
36 files changed
+2381 -783

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
/**
* @file Status.cpp
* @brief toString(Status) -- one switch, kept in sync with Status.hpp by -Wswitch.
*/
#include "hot_reload/Status.hpp"
namespace hot_reload
{
std::string_view toString(Status status) noexcept
{
switch (status)
{
case Status::Ok:
return "ok";
case Status::InvalidArgument:
return "invalid argument";
case Status::LoadFailed:
return "load failed";
case Status::NoPreviousVersion:
return "no previous version loaded for this module name";
case Status::UnsupportedArchitecture:
return "no patch backend for this CPU architecture";
}
return "unknown hot reload status"; // unreachable for any enumerator; -Wswitch catches a missing one above
}
}