summaryrefslogtreecommitdiff
path: root/lib/fuzzer/FuzzerTracePC.h
diff options
context:
space:
mode:
authorGeorge Karpenkov <ekarpenkov@apple.com>2017-08-27 23:20:09 +0000
committerGeorge Karpenkov <ekarpenkov@apple.com>2017-08-27 23:20:09 +0000
commitfe253ee56618ac233dc0516daea8775b58f456d8 (patch)
tree404e175dfbce15ced937f1a39cd8c5d1c8f474c1 /lib/fuzzer/FuzzerTracePC.h
parentcc44d7c1f1d3e45e338faf2ecc4fb43c58dda330 (diff)
[libFuzzer] Use custom allocators for STL containers in libFuzzer.
Avoids ODR violations causing spurious ASAN warnings. Differential Revision: https://reviews.llvm.org/D37086 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@311866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerTracePC.h')
-rw-r--r--lib/fuzzer/FuzzerTracePC.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fuzzer/FuzzerTracePC.h b/lib/fuzzer/FuzzerTracePC.h
index 76aa0748f..9c23ef6b5 100644
--- a/lib/fuzzer/FuzzerTracePC.h
+++ b/lib/fuzzer/FuzzerTracePC.h
@@ -159,8 +159,8 @@ private:
uint8_t *Counters() const;
uintptr_t *PCs() const;
- std::set<uintptr_t> ObservedPCs;
- std::set<uintptr_t> ObservedFuncs;
+ Set<uintptr_t> ObservedPCs;
+ Set<uintptr_t> ObservedFuncs;
ValueBitMap ValueProfileMap;
uintptr_t InitialStack;