Skip to content

Commit 4b82f61

Browse files
committed
[libFuzzer] Use macro instead of __attribute__.
This should fix the Windows buildbot errors.
1 parent 38a6374 commit 4b82f61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/lib/fuzzer/FuzzerLoop.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,8 @@ static bool LooseMemeq(const uint8_t *A, const uint8_t *B, size_t Size) {
580580

581581
// This method is not inlined because it would cause a test to fail where it
582582
// is part of the stack unwinding. See D97975 for details.
583-
void __attribute__((noinline))
584-
Fuzzer::ExecuteCallback(const uint8_t *Data, size_t Size) {
583+
ATTRIBUTE_NOINLINE void Fuzzer::ExecuteCallback(const uint8_t *Data,
584+
size_t Size) {
585585
TPC.RecordInitialStack();
586586
TotalNumberOfRuns++;
587587
assert(InFuzzingThread());

0 commit comments

Comments
 (0)