1//===-- common_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//===----------------------------------------------------------------------===//
8
9#include "gwp_asan/common.h"
10
11namespace gwp_asan {
12// This is only used for AllocationTrace.ThreadID and allocation traces are not
13// yet supported on Fuchsia.
14uint64_t getThreadID() { return kInvalidThreadID; }
15} // namespace gwp_asan
16

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

source code of compiler-rt/lib/gwp_asan/platform_specific/common_fuchsia.cpp