Removed formatKey call from exception message

This commit is contained in:
Nav
2025-02-05 21:28:39 +00:00
parent 395f58ff32
commit e8f747a152

View File

@@ -339,10 +339,9 @@ namespace Targets::RiscV::Wch
throw Exceptions::Exception{ throw Exceptions::Exception{
"Write access range (0x" + StringService::toHex(addressRange.startAddress) + " -> 0x" "Write access range (0x" + StringService::toHex(addressRange.startAddress) + " -> 0x"
+ StringService::toHex(addressRange.endAddress) + ", " + std::to_string(addressRange.size()) + StringService::toHex(addressRange.endAddress) + ", " + std::to_string(addressRange.size())
+ " bytes) exceeds the boundary of the selected program segment " + " bytes) exceeds the boundary of the selected program segment `"
+ StringService::formatKey(aliasedSegment.key) + " (0x" + aliasedSegment.key + "` (0x" + StringService::toHex(aliasedSegment.addressRange.startAddress)
+ StringService::toHex(aliasedSegment.addressRange.startAddress) + " -> 0x" + " -> 0x" + StringService::toHex(aliasedSegment.addressRange.endAddress) + ", "
+ StringService::toHex(aliasedSegment.addressRange.endAddress) + ", "
+ std::to_string(aliasedSegment.addressRange.size()) + " bytes)" + std::to_string(aliasedSegment.addressRange.size()) + " bytes)"
}; };
} }