aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2019-11-25 10:28:57 -0800
committerKostya Kortchinsky <kostyak@google.com>2019-11-27 09:17:40 -0800
commit0d3d4d3b0fc57e577a8f80261bd4390c6cb7c040 (patch)
tree2fe7d7b6133002882b33310966d5ac21e468fe55 /clang/lib/Frontend/CompilerInvocation.cpp
parentbcd0798c47ca865f95226859893016a17402441e (diff)
downloadllvm-0d3d4d3b0fc57e577a8f80261bd4390c6cb7c040.zip
llvm-0d3d4d3b0fc57e577a8f80261bd4390c6cb7c040.tar.gz
llvm-0d3d4d3b0fc57e577a8f80261bd4390c6cb7c040.tar.bz2
[scudo][standalone] Make tests work on Fuchsia
Summary: This CL makes unit tests compatible with Fuchsia's zxtest. This required a few changes here and there, but also unearthed some incompatibilities that had to be addressed. A header is introduced to allow to account for the zxtest/gtest differences, some `#if SCUDO_FUCHSIA` are used to disable incompatible code (the 32-bit primary, or the exclusive TSD). It also brought to my attention that I was using `__scudo_default_options` in different tests, which ended up in a single binary, and I am not sure how that ever worked. So move this to the main cpp. Additionally fully disable the secondary freelist on Fuchsia as we do not track VMOs for secondary allocations, so no release possible. With some modifications to Scudo's BUILD.gn in Fuchsia: ``` [==========] 79 tests from 23 test cases ran (10280 ms total). [ PASSED ] 79 tests ``` Reviewers: mcgrathr, phosek, hctim, pcc, eugenis, cferris Subscribers: srhines, jfb, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D70682
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions