[PATCH] D70682: [scudo][standalone] Make tests work on Fuchsia

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 11:32:21 PST 2019


cryptoad updated this revision to Diff 230951.
cryptoad marked 3 inline comments as done.
cryptoad added a comment.

Remove the `SCUDO_FUCHSIA` conditionals from the code of the
Secondary and prefer a `COMPILER_CHECK` instead to ensure that
the freelist is disabled on Fuchsia.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70682/new/

https://reviews.llvm.org/D70682

Files:
  compiler-rt/lib/scudo/standalone/allocator_config.h
  compiler-rt/lib/scudo/standalone/secondary.h
  compiler-rt/lib/scudo/standalone/tests/atomic_test.cpp
  compiler-rt/lib/scudo/standalone/tests/bytemap_test.cpp
  compiler-rt/lib/scudo/standalone/tests/checksum_test.cpp
  compiler-rt/lib/scudo/standalone/tests/chunk_test.cpp
  compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
  compiler-rt/lib/scudo/standalone/tests/flags_test.cpp
  compiler-rt/lib/scudo/standalone/tests/list_test.cpp
  compiler-rt/lib/scudo/standalone/tests/map_test.cpp
  compiler-rt/lib/scudo/standalone/tests/mutex_test.cpp
  compiler-rt/lib/scudo/standalone/tests/primary_test.cpp
  compiler-rt/lib/scudo/standalone/tests/quarantine_test.cpp
  compiler-rt/lib/scudo/standalone/tests/release_test.cpp
  compiler-rt/lib/scudo/standalone/tests/report_test.cpp
  compiler-rt/lib/scudo/standalone/tests/scudo_unit_test.h
  compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp
  compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
  compiler-rt/lib/scudo/standalone/tests/size_class_map_test.cpp
  compiler-rt/lib/scudo/standalone/tests/stats_test.cpp
  compiler-rt/lib/scudo/standalone/tests/strings_test.cpp
  compiler-rt/lib/scudo/standalone/tests/tsd_test.cpp
  compiler-rt/lib/scudo/standalone/tests/vector_test.cpp
  compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
  compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70682.230951.patch
Type: text/x-patch
Size: 24370 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191125/c7b310ab/attachment.bin>


More information about the llvm-commits mailing list