diff options
author | Dan Liew <dan@su-root.co.uk> | 2016-06-10 05:33:07 +0000 |
---|---|---|
committer | Dan Liew <dan@su-root.co.uk> | 2016-06-10 05:33:07 +0000 |
commit | 0617f15897027b7c8d9cbb5649b47dbdd8ba6dca (patch) | |
tree | 13d70196dac119515568ba680e11ac886c53fb4a /lldb/packages/Python/lldbsuite/test/lang/cpp | |
parent | fcb7e6780a6a6dc4b227d5b864e12b2e2e1e92e2 (diff) | |
download | bcm5719-llvm-0617f15897027b7c8d9cbb5649b47dbdd8ba6dca.tar.gz bcm5719-llvm-0617f15897027b7c8d9cbb5649b47dbdd8ba6dca.zip |
[LibFuzzer] Fix some unit test crashes on OSX.
This fixes the following unit tests:
FuzzerDictionary.ParseOneDictionaryEntry
FuzzerDictionary.ParseDictionaryFile
The issue appears to be mixing non-ASan-ified code (LibFuzzer) and
ASan-ified code (the unittest) as the tests would pass fine if
everything was built with ASan enabled.
I believe the issue is that different implementations of std::vector<>
are being used in LibFuzzer and outside LibFuzzer (in the unittests).
For Libcxx (I've not seen the issue manifest for libstdc++) we can disable
the ASanified std::vector<> by definining the ``_LIBCPP_HAS_NO_ASAN`` macro.
Doing this fixes the tests on OSX.
Differential Revision: http://reviews.llvm.org/D21049
llvm-svn: 272374
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp')
0 files changed, 0 insertions, 0 deletions