Add the TODO

This commit is contained in:
angie 2024-07-31 15:30:59 -04:00
parent dd71e92b44
commit 95d04c2aee

View file

@ -796,6 +796,7 @@ bool read_symbols(RecompPort::Context& context, const ELFIO::elfio& elf_file, EL
}
if (!ignored && type == ELFIO::STT_FUNC && num_instructions == 0 && bind != ELFIO::STB_WEAK) {
// TODO: functions ignored on the toml file do not silence this warning
fmt::print(stderr, "[WARN] Function '{}' has zero size.\n", name);
}