On a Thursday in 2023, Daniel P. Berrangé wrote:
The virNumaNodeIsAvailable function is stubbed out when building without libnuma, such that it just returns a constant value. When CLang is optimizing, it does inter-procedural analysis across function calls. When it sees that the call to virNumaNodeIsAvailable returns a fixed constant, it elides the conditional check for errors in the callers such as virNumaNodesetIsAvailable.
[...]
Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> --- meson.build | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx> Jano
Attachment:
signature.asc
Description: PGP signature