LTO: Check local linkage first