actually fix the list options
This commit is contained in:
@@ -207,9 +207,11 @@ int infoLTO(bool verbose) {
|
||||
}
|
||||
|
||||
static int CmdHfLTOList(const char *Cmd) {
|
||||
char args[128];
|
||||
char args[128] = {0};
|
||||
if (strlen(Cmd) == 0) {
|
||||
snprintf(args, sizeof(args), "-t lto");
|
||||
} else {
|
||||
strncpy(args, Cmd, sizeof(args) - 1);
|
||||
}
|
||||
return CmdTraceList(args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user