mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 00:16:05 +00:00

Stubify broadly takes either tbd files or binary dylibs and turns them into tbd files. In future patches, stubify will also allow additional information to be embedded into the final TBD output too. Add Util APIs to TextAPI for common operations used by readtapi for now.
25 lines
440 B
CMake
25 lines
440 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
BinaryFormat
|
|
Object
|
|
Support
|
|
Option
|
|
TextAPI
|
|
TextAPIBinaryReader
|
|
)
|
|
|
|
set(LLVM_TARGET_DEFINITIONS TapiOpts.td)
|
|
tablegen(LLVM TapiOpts.inc -gen-opt-parser-defs)
|
|
add_public_tablegen_target(ReadTAPIOptsTableGen)
|
|
|
|
add_llvm_tool(llvm-readtapi
|
|
llvm-readtapi.cpp
|
|
DiffEngine.cpp
|
|
|
|
DEPENDS
|
|
ReadTAPIOptsTableGen
|
|
)
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
add_llvm_tool_symlink(readtapi llvm-readtapi)
|
|
endif()
|