mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-12 02:47:10 +00:00
[fuzzer] Reduce size of large.test
This halves the size of LargeTest, dropping time to compile this file locally from 14s to 5.5s. Hopefully this will also fix the persistent timeouts in pre-merge checks. Differential Revision: https://reviews.llvm.org/D124237
This commit is contained in:
parent
03ab30686d
commit
ddfc84e634
@ -24,8 +24,7 @@ static inline void break_optimization(const void *arg) {
|
||||
|
||||
#define B do{A; A; A; A; A; A; A; A; A; A; A; A; A; A; A; A; A; A; }while(0)
|
||||
#define C do{B; B; B; B; B; B; B; B; B; B; B; B; B; B; B; B; B; B; }while(0)
|
||||
#define D do{C; C; C; C; C; C; C; C; C; C; C; C; C; C; C; C; C; C; }while(0)
|
||||
#define E do{D; D; D; D; D; D; D; D; D; D; D; D; D; D; D; D; D; D; }while(0)
|
||||
#define D do{C; C; C; C; C; C; C; C; C; }while(0)
|
||||
|
||||
volatile int sink;
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user