[PATCH openEuler-5.10 561/582] perf llvm: Return -ENOMEM when asprintf() fails