projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38a6374
)
[libFuzzer] Use macro instead of __attribute__.
author
Matt Morehouse
<mascasa@google.com>
Fri, 12 Mar 2021 22:36:57 +0000
(14:36 -0800)
committer
Matt Morehouse
<mascasa@google.com>
Fri, 12 Mar 2021 22:36:57 +0000
(14:36 -0800)
This should fix the Windows buildbot errors.
compiler-rt/lib/fuzzer/FuzzerLoop.cpp
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/fuzzer/FuzzerLoop.cpp
b/compiler-rt/lib/fuzzer/FuzzerLoop.cpp
index
f502826
..
149742b
100644
(file)
--- a/
compiler-rt/lib/fuzzer/FuzzerLoop.cpp
+++ b/
compiler-rt/lib/fuzzer/FuzzerLoop.cpp
@@
-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());