[llvm-dev] llvm-dev Digest, Vol 179, Issue 18

18204310677 via llvm-dev llvm-dev at lists.llvm.org
Mon May 6 19:25:32 PDT 2019

Hello, I have a question now, according to the official llvm documentation, if you want to build fuzzers, you need to add following compile options as shown below.
Use the following cmake command "cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_SANITIZER=Address -DLLVM_USE_SANITIZE_COVERAGE=On -DLLVM_BUILD_RUNTIME=Off -DLLVM_TARGET_TO_BUILD=X86 ../LLVM-8.0.0" but when you make. you will be prompted the following error message:
>>>"c++: error: unrecognized argument to -fsanitize= option: 'fuzzer-no-link'.
This is because the c++ do not have no value named 'fuzzer-no-link'. So i want to know what cmake command should I use to build a compiler that can use the fuzzer tools.
In addition, I am a person who has just joined the community. How can I find the solution to my problem´╝čPlease let me know, thanks you.
Best wishes.

On 05/06/2019 01:19, via llvm-dev wrote:
Send llvm-dev mailing list submissions to
     llvm-dev at lists.llvm.org

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
     llvm-dev-request at lists.llvm.org

You can reach the person managing the list at
     llvm-dev-owner at lists.llvm.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of llvm-dev digest..."

Today's Topics:

  1. how to use llvm fuzzer tools (18204310677 via llvm-dev)


Message: 1
Date: Sun, 5 May 2019 09:45:32 +0800 (GMT+08:00)
From: 18204310677 via llvm-dev <llvm-dev at lists.llvm.org>
To: "via llvm-dev" <llvm-dev at lists.llvm.org>
Subject: [llvm-dev] how to use llvm fuzzer tools
Message-ID: <1f25ad35.3304.16a85aaeb32.Coremail.18204310677 at 163.com>
Content-Type: text/plain; charset="gbk"

Hello, I am a user of llvm, now I am learning to use the fuzzer tool provided by llvm, but now I have a problem.
According to the official llvm documentation, the fuzzer tool will automatically link to Libfuzzer, but when I use it, I will prompt the following message "This tool was not linked to libFuzzer".

When building the compiler, I used the following cmake command, "cmake -G "Unix Makefiles" -DLLVM_BUILD_TYPE=release -DLLVM_USE_SANITIZER=Address -DLLVM_USE_SANITIZER_COVERAGE=On -DLLVM_BUILD_RUNTIME=Off -DCMAKE_ASM_COMPILER=/home/nopea/LLVM/llvm_build/bin /clang -DCMAKE_CXX_COMPILER=/home/nopea/LLVM/llvm_build/bin/clang++ -DLLVM_TARGETS_TO_BUILD=X86 ../llvm-8.0.0/", I hope you can help me solve this problem, thank you.
Best wishes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190505/ff2d482c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c3c22d2e-6602-4b95-8a0b-901e7b666131.jpg
Type: image/jpeg
Size: 82153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190505/ff2d482c/attachment.jpg>


Subject: Digest Footer

llvm-dev mailing list
llvm-dev at lists.llvm.org


End of llvm-dev Digest, Vol 179, Issue 18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190507/22abbdd2/attachment.html>

More information about the llvm-dev mailing list