Use the most recent Decl when mapping global variables. Don't replace existing
mappings with mappings to Decls that have incomplete types.