diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2017-08-27 23:20:09 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2017-08-27 23:20:09 +0000 |
commit | fe253ee56618ac233dc0516daea8775b58f456d8 (patch) | |
tree | 404e175dfbce15ced937f1a39cd8c5d1c8f474c1 /lib/fuzzer/FuzzerUtil.cpp | |
parent | cc44d7c1f1d3e45e338faf2ecc4fb43c58dda330 (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/FuzzerUtil.cpp')
-rw-r--r-- | lib/fuzzer/FuzzerUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuzzer/FuzzerUtil.cpp b/lib/fuzzer/FuzzerUtil.cpp index f5a777374..65f0e1747 100644 --- a/lib/fuzzer/FuzzerUtil.cpp +++ b/lib/fuzzer/FuzzerUtil.cpp @@ -124,7 +124,7 @@ bool ParseOneDictionaryEntry(const std::string &Str, Unit *U) { return true; } -bool ParseDictionaryFile(const std::string &Text, std::vector<Unit> *Units) { +bool ParseDictionaryFile(const std::string &Text, Vector<Unit> *Units) { if (Text.empty()) { Printf("ParseDictionaryFile: file does not exist or is empty\n"); return false; |