blob: a174ddf618eed6760f90da6822847ed1dcabc191 [file] [log] [blame]
set(LLVM_LINK_COMPONENTS
AllTargetsDescs
AllTargetsDisassemblers
AllTargetsInfos
MC
MCDisassembler
Object
Option
Support
Symbolize
TargetParser
)
set(LLVM_TARGET_DEFINITIONS Opts.td)
tablegen(LLVM Opts.inc -gen-opt-parser-defs)
add_public_tablegen_target(SancovOptsTableGen)
add_llvm_tool(sancov
sancov.cpp
DEPENDS
SancovOptsTableGen
GENERATE_DRIVER
)