[libFuzzer] Use macro instead of __attribute__.

This should fix the Windows buildbot errors.
This commit is contained in:
Matt Morehouse 2021-03-12 14:36:57 -08:00
parent 38a6374564
commit 4b82f61474
1 changed files with 2 additions and 2 deletions

View File

@ -580,8 +580,8 @@ static bool LooseMemeq(const uint8_t *A, const uint8_t *B, size_t Size) {
// This method is not inlined because it would cause a test to fail where it
// is part of the stack unwinding. See D97975 for details.
void __attribute__((noinline))
Fuzzer::ExecuteCallback(const uint8_t *Data, size_t Size) {
ATTRIBUTE_NOINLINE void Fuzzer::ExecuteCallback(const uint8_t *Data,
size_t Size) {
TPC.RecordInitialStack();
TotalNumberOfRuns++;
assert(InFuzzingThread());