[Clang][SME2] Enable multi-vector loads & stores for SME2 (#75821)
[llvm-project.git] / compiler-rt / lib / gwp_asan / platform_specific / utilities_fuchsia.cpp
blobbc9d3a4462a2f72c716f80b676cde27de6be6463
1 //===-- utilities_fuchsia.cpp -----------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "gwp_asan/utilities.h"
11 #include <string.h>
12 #include <zircon/sanitizer.h>
14 namespace gwp_asan {
15 void die(const char *Message) {
16 __sanitizer_log_write(Message, strlen(Message));
17 __builtin_trap();
19 } // namespace gwp_asan