[libc][benchmarks] Link the memory benchmark exes to functions from LLVM libc.
authorSiva Chandra Reddy <sivachandra@google.com>
Mon, 15 Jun 2020 20:54:53 +0000 (13:54 -0700)
committerSiva Chandra Reddy <sivachandra@google.com>
Wed, 17 Jun 2020 18:42:26 +0000 (11:42 -0700)
commit438f7fc068f9ba5555052c4af0b10f5e816c3a01
tree6f837a60616b3a7da00712b62bcc7ab39b736316
parent5c244115c98acf61a5d5b867c590a34a6be6f5b9
[libc][benchmarks] Link the memory benchmark exes to functions from LLVM libc.

Summary:
To get the target order correct, the benchmarks directory has been moved
one level higher. Previously, it was living in the utils directory. The
utils directory is a collection of utils which are to be used by the
tests and implementations. However, benchmarks *use* the
implementations. So, moving it out of utils helps us setup proper
target level dependencies.

Reviewers: gchatelet

Differential Revision: https://reviews.llvm.org/D81910
22 files changed:
libc/CMakeLists.txt
libc/benchmarks/CMakeLists.txt [moved from libc/utils/benchmarks/CMakeLists.txt with 94% similarity]
libc/benchmarks/JSON.cpp [moved from libc/utils/benchmarks/JSON.cpp with 100% similarity]
libc/benchmarks/JSON.h [moved from libc/utils/benchmarks/JSON.h with 100% similarity]
libc/benchmarks/JSONTest.cpp [moved from libc/utils/benchmarks/JSONTest.cpp with 100% similarity]
libc/benchmarks/LibcBenchmark.cpp [moved from libc/utils/benchmarks/LibcBenchmark.cpp with 100% similarity]
libc/benchmarks/LibcBenchmark.h [moved from libc/utils/benchmarks/LibcBenchmark.h with 100% similarity]
libc/benchmarks/LibcBenchmarkTest.cpp [moved from libc/utils/benchmarks/LibcBenchmarkTest.cpp with 100% similarity]
libc/benchmarks/LibcMemoryBenchmark.cpp [moved from libc/utils/benchmarks/LibcMemoryBenchmark.cpp with 100% similarity]
libc/benchmarks/LibcMemoryBenchmark.h [moved from libc/utils/benchmarks/LibcMemoryBenchmark.h with 100% similarity]
libc/benchmarks/LibcMemoryBenchmarkMain.cpp [moved from libc/utils/benchmarks/LibcMemoryBenchmarkMain.cpp with 100% similarity]
libc/benchmarks/LibcMemoryBenchmarkMain.h [moved from libc/utils/benchmarks/LibcMemoryBenchmarkMain.h with 100% similarity]
libc/benchmarks/LibcMemoryBenchmarkTest.cpp [moved from libc/utils/benchmarks/LibcMemoryBenchmarkTest.cpp with 100% similarity]
libc/benchmarks/Memcmp.cpp [moved from libc/utils/benchmarks/Memcmp.cpp with 100% similarity]
libc/benchmarks/Memcpy.cpp [moved from libc/utils/benchmarks/Memcpy.cpp with 94% similarity]
libc/benchmarks/Memset.cpp [moved from libc/utils/benchmarks/Memset.cpp with 89% similarity]
libc/benchmarks/RATIONALE.md [moved from libc/utils/benchmarks/RATIONALE.md with 100% similarity]
libc/benchmarks/README.md [moved from libc/utils/benchmarks/README.md with 100% similarity]
libc/benchmarks/configuration_big.json [moved from libc/utils/benchmarks/configuration_big.json with 100% similarity]
libc/benchmarks/configuration_small.json [moved from libc/utils/benchmarks/configuration_small.json with 100% similarity]
libc/benchmarks/render.py3 [moved from libc/utils/benchmarks/render.py3 with 100% similarity]
libc/utils/CMakeLists.txt