summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-demangle-fuzzer/CMakeLists.txt
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2017-10-13 17:35:37 +0000
committerMatt Morehouse <mascasa@google.com>2017-10-13 17:35:37 +0000
commite29452b4b7a81269cb02bcfc995e7f1fc99b3845 (patch)
tree6f1e6bab0730d67674bc19c0d982bc8e9e5a8aa4 /llvm/tools/llvm-demangle-fuzzer/CMakeLists.txt
parentcbee219700d5581370ba18c45586e5bc0b5360ed (diff)
downloadbcm5719-llvm-e29452b4b7a81269cb02bcfc995e7f1fc99b3845.tar.gz
bcm5719-llvm-e29452b4b7a81269cb02bcfc995e7f1fc99b3845.zip
[llvm-demangle-fuzzer] Add a fuzz target for ItaniumDemangler.
Patch By: hctim Reviewers: morehouse, bogner Reviewed By: bogner Subscribers: bogner, kcc, llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D38855 llvm-svn: 315716
Diffstat (limited to 'llvm/tools/llvm-demangle-fuzzer/CMakeLists.txt')
-rw-r--r--llvm/tools/llvm-demangle-fuzzer/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/tools/llvm-demangle-fuzzer/CMakeLists.txt b/llvm/tools/llvm-demangle-fuzzer/CMakeLists.txt
new file mode 100644
index 00000000000..28132cf4c5f
--- /dev/null
+++ b/llvm/tools/llvm-demangle-fuzzer/CMakeLists.txt
@@ -0,0 +1,8 @@
+set(LLVM_LINK_COMPONENTS
+ Demangle
+ FuzzMutate
+)
+
+add_llvm_fuzzer(llvm-demangle-fuzzer
+ llvm-demangle-fuzzer.cpp
+ DUMMY_MAIN DummyDemanglerFuzzer.cpp)
OpenPOWER on IntegriCloud