[LLVM-C] Use NameLen in LLVMGetNamedGlobalAlias
authorJakob Bornecrantz <jakob@collabora.com>
Wed, 19 Jan 2022 16:48:28 +0000 (08:48 -0800)
committerArthur Eubanks <aeubanks@google.com>
Wed, 19 Jan 2022 16:58:57 +0000 (08:58 -0800)
commitbfed654e98888b8bc18df544757f3113de1cd4bd
treee85710e1a1e8187c5b63280575403947a32837cd
parent1324bb29f7ce9d29b82c66cb744ff41b5d3a00e5
[LLVM-C] Use NameLen in LLVMGetNamedGlobalAlias

I tried to look over the file and didn't see any other non-use of *Len variables.

Reviewed By: deadalnix

Differential Revision: https://reviews.llvm.org/D116482
llvm/lib/IR/Core.cpp