forked from OSchip/llvm-project
![]() Summary: This is a redo of D63612. Two problems came up on some bots: - `__builtin_umull_overflow` was not declared. This is likely due to an older clang or gcc, so add a guard with `__has_builtin` and fallback to a division in the event the builtin doesn't exist; - contradicting definition for `malloc`, etc. This is AFAIU due to the fact that we ended up transitively including `stdlib.h` in the `.inc` due to it being the flags parser header: so move the include to the cc instead. This should fix the issues, but since those didn't come up in my local tests it's mostly guesswork. Rest is the same! Reviewers: morehouse, hctim, eugenis, vitalybuka, dyung, hans Reviewed By: morehouse, dyung, hans Subscribers: srhines, mgorny, delcypher, jfb, #sanitizers, llvm-commits Tags: #llvm, #sanitizers Differential Revision: https://reviews.llvm.org/D63831 llvm-svn: 364547 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
atomic_test.cc | ||
bytemap_test.cc | ||
checksum_test.cc | ||
chunk_test.cc | ||
combined_test.cc | ||
flags_test.cc | ||
list_test.cc | ||
map_test.cc | ||
mutex_test.cc | ||
primary_test.cc | ||
quarantine_test.cc | ||
release_test.cc | ||
report_test.cc | ||
scudo_unit_test_main.cc | ||
secondary_test.cc | ||
size_class_map_test.cc | ||
stats_test.cc | ||
strings_test.cc | ||
tsd_test.cc | ||
vector_test.cc | ||
wrappers_c_test.cc | ||
wrappers_cpp_test.cc |