diff --git a/libc/benchmarks/Memcpy.cpp b/libc/benchmarks/Memcpy.cpp --- a/libc/benchmarks/Memcpy.cpp +++ b/libc/benchmarks/Memcpy.cpp @@ -48,8 +48,8 @@ BenchmarkResult benchmark(const BenchmarkOptions &Options, StringRef FunctionName, size_t Size) override { - FunctionPrototype Function = - StringSwitch(FunctionName).Case("memcpy", &::memcpy); + FunctionPrototype Function = StringSwitch(FunctionName) + .Case("memcpy", &__llvm_libc::memcpy); return llvm::libc_benchmarks::benchmark( Options, PP, [this, Function, Size](ParameterType p) { Function(DstBuffer + p.DstOffset, SrcBuffer + p.SrcOffset, Size);