llvm/openmp/runtime/src/ompd-specific.cpp

/*
 * ompd-specific.cpp -- OpenMP debug support
 */

//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "ompd-specific.h"

#if OMPD_SUPPORT

/**
 * Declaration of symbols to hold struct size and member offset information
 */

#define ompd_declare_access
OMPD_FOREACH_ACCESS()
#undef ompd_declare_access

#define ompd_declare_sizeof_member
OMPD_FOREACH_ACCESS()
#undef ompd_declare_sizeof_member

#define ompd_declare_bitfield
OMPD_FOREACH_BITFIELD()
#undef ompd_declare_bitfield

#define ompd_declare_sizeof
OMPD_FOREACH_SIZEOF()
#undef ompd_declare_sizeof

volatile const char **ompd_dll_locations =;
uint64_t ompd_state =;

char *ompd_env_block =;
ompd_size_t ompd_env_block_size =;

void ompd_init() {}

void __attribute__((noinline)) ompd_dll_locations_valid(void) {}

void ompd_bp_parallel_begin(void) {}
void ompd_bp_parallel_end(void) {}
void ompd_bp_task_begin(void) {}
void ompd_bp_task_end(void) {}
void ompd_bp_thread_begin(void) {}
void ompd_bp_thread_end(void) {}

#endif /* OMPD_SUPPORT */