misc cleanups
This change touches several subsystems, tools and experiments (sal, util, cmake, import-trace, generic-tracing, nanojpeg), and changes details not worth separate commits. Change-Id: Icd1d664d1be5cfc2212dbf77801c271183214d08
This commit is contained in:
@ -22,6 +22,7 @@ void CPUArchitecture::m_addRegister(Register* reg, RegisterType type)
|
||||
Register* CPUArchitecture::getRegister(size_t i) const
|
||||
{
|
||||
assert(i < m_Registers.size() && "FATAL ERROR: Invalid index provided!");
|
||||
assert(m_Registers[i]->getId() == i && "FATAL ERROR: Register index mismatch");
|
||||
return m_Registers[i];
|
||||
}
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ namespace fail {
|
||||
/**
|
||||
* \class CPUArchitecture
|
||||
* This is the base class for CPU architectures that can be used to merge information and
|
||||
* functionallity that every backend with the same target architecture will share. The classes
|
||||
* functionality that every backend with the same target architecture will share. The classes
|
||||
* directly derived from this are especially meant to be usable in campaigns, so they shouldn't
|
||||
* contain any backend specific code.
|
||||
*/
|
||||
|
||||
@ -102,7 +102,7 @@ public:
|
||||
*/
|
||||
iterator begin() { return m_Regs.begin(); }
|
||||
/**
|
||||
* Returns an iterator to the end of the interal data structure.
|
||||
* Returns an iterator to the end of the internal data structure.
|
||||
* \code
|
||||
* [1|2| ... |n]X
|
||||
* ^
|
||||
|
||||
@ -217,7 +217,7 @@ void Database::cmdline_setup() {
|
||||
HOSTNAME = cmd.addOption("H", "hostname", Arg::Required,
|
||||
"-h/--hostname \tMYSQL Hostname (default: taken from ~/.my.cnf)");
|
||||
USERNAME = cmd.addOption("u", "username", Arg::Required,
|
||||
"-u/--username \tMYSQL Username (default: taken from ~/.my.cnf, or your current user)");
|
||||
"-u/--username \tMYSQL Username (default: taken from ~/.my.cnf, or your current user)\n");
|
||||
}
|
||||
|
||||
Database * Database::cmdline_connect() {
|
||||
|
||||
Reference in New Issue
Block a user