diff options
author | Dan Liew <dan@su-root.co.uk> | 2020-04-20 18:52:26 -0700 |
---|---|---|
committer | Dan Liew <dan@su-root.co.uk> | 2020-04-21 18:43:43 -0700 |
commit | da820f4f5753062501a14ae4336b1c055535e54f (patch) | |
tree | 021c72bad262a86e8b3d92a13a573cc20fcf16b3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 564530e50ad4870801a2080a08645cc1cc2df805 (diff) | |
download | llvm-da820f4f5753062501a14ae4336b1c055535e54f.zip llvm-da820f4f5753062501a14ae4336b1c055535e54f.tar.gz llvm-da820f4f5753062501a14ae4336b1c055535e54f.tar.bz2 |
Add missing call to `__sanitizer::InitializePlatformEarly()` in UBSan's standalone init.
Summary:
While working on rdar://problem/62083617 I noticed this call was
missing.
This is a no-op for all platforms except Darwin. For Darwin this
means the `use_xnu_fast_mmap` flag is initialized as it was intended
when using UBSan in standalone mode.
Reviewers: vitalybuka, vsk, kubamracek, yln, samsonov
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D78532
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions