llvm-project/bolt/lib
Amir Ayupov d44f99c748 [BOLT] Added fuzzer target (llvm-bolt-fuzzer)
This adds a target that would consume random binary as an
input ELF file.
TBD: add structured input support (ELF).

Build:
```
cmake /path/to/llvm-project/llvm -GNinja \
-DLLVM_TARGETS_TO_BUILD="X86;AArch64" \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_ASSERTIONS=1 \
-DCMAKE_C_COMPILER=<sanitizer-capable clang> \
-DCMAKE_CXX_COMPILER=<sanitizer-capable clang++> \
-DLLVM_ENABLE_PROJECTS="bolt"  \
-DLLVM_USE_SANITIZER=Address \
-DLLVM_USE_SANITIZE_COVERAGE=On
ninja llvm-bolt-fuzzer
```

Test Plan: ninja llvm-bolt-fuzzer

Reviewed By: maksfb

Differential Revision: https://reviews.llvm.org/D120016
2022-02-20 17:24:16 -08:00
..
Core [BOLT][NFC] Report errors from createBinaryContext and RewriteInstance ctor 2022-02-17 00:50:52 -08:00
Passes [BOLT][NFC] Fix data race in ShrinkWrapping stats 2022-02-20 17:21:58 -08:00
Profile Cleanup LLVMDWARFDebugInfo 2022-02-15 09:16:03 +01:00
Rewrite [BOLT] Added fuzzer target (llvm-bolt-fuzzer) 2022-02-20 17:24:16 -08:00
RuntimeLibs [BOLT][NFC] Fix braces usage in the rest of the codebase 2021-12-28 18:43:53 -08:00
Target Add missing MC includes in bolt/ 2022-02-09 08:28:34 -05:00
Utils [BOLT] Refactor heatmap to be standalone tool 2022-02-07 22:00:44 +03:00
CMakeLists.txt Rebase: [NFC] Refactor sources to be buildable in shared mode 2021-10-08 11:47:10 -07:00