mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
Fix typo in CFI build documentation
Signed-off-by: Serge Guelton <sguelton@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210430150745.GA1401713@sguelton.remote.csb> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
32bec2eea2
commit
04a2521121
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ later).
|
||||||
Given the use of LTO, a version of AR that supports LLVM IR is required.
|
Given the use of LTO, a version of AR that supports LLVM IR is required.
|
||||||
The easies way of doing this is by selecting the AR provided by LLVM::
|
The easies way of doing this is by selecting the AR provided by LLVM::
|
||||||
|
|
||||||
AR=llvm-ar-9 CC=clang-9 CXX=lang++-9 /path/to/configure --enable-cfi
|
AR=llvm-ar-9 CC=clang-9 CXX=clang++-9 /path/to/configure --enable-cfi
|
||||||
|
|
||||||
CFI is enabled on every binary produced.
|
CFI is enabled on every binary produced.
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ lld with version 11+.
|
||||||
In other words, to compile with fuzzing and CFI, clang 11+ is required, and
|
In other words, to compile with fuzzing and CFI, clang 11+ is required, and
|
||||||
lld needs to be used as a linker::
|
lld needs to be used as a linker::
|
||||||
|
|
||||||
AR=llvm-ar-11 CC=clang-11 CXX=lang++-11 /path/to/configure --enable-cfi \
|
AR=llvm-ar-11 CC=clang-11 CXX=clang++-11 /path/to/configure --enable-cfi \
|
||||||
-enable-fuzzing --extra-ldflags="-fuse-ld=lld"
|
-enable-fuzzing --extra-ldflags="-fuse-ld=lld"
|
||||||
|
|
||||||
and then, compile the fuzzers as usual.
|
and then, compile the fuzzers as usual.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue