diff options
Diffstat (limited to 'third-party/benchmark/cmake/Modules/FindLLVMNm.cmake')
-rw-r--r-- | third-party/benchmark/cmake/Modules/FindLLVMNm.cmake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/third-party/benchmark/cmake/Modules/FindLLVMNm.cmake b/third-party/benchmark/cmake/Modules/FindLLVMNm.cmake new file mode 100644 index 000000000000..e56430a04f6e --- /dev/null +++ b/third-party/benchmark/cmake/Modules/FindLLVMNm.cmake @@ -0,0 +1,16 @@ +include(FeatureSummary) + +find_program(LLVMNM_EXECUTABLE + NAMES llvm-nm + DOC "The llvm-nm executable" + ) + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(LLVMNm + DEFAULT_MSG + LLVMNM_EXECUTABLE) + +SET_PACKAGE_PROPERTIES(LLVMNm PROPERTIES + URL https://llvm.org/docs/CommandGuide/llvm-nm.html + DESCRIPTION "list LLVM bitcode and object file’s symbol table" +) |