UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MacCommon.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5//------------------------------------------------------------------
6// Warnings
7
8#define ULANG_SILENCE_SECURITY_WARNING_START _Pragma("clang diagnostic push") \
9 _Pragma("clang diagnostic ignored \"-Wformat-security\"")
10#define ULANG_SILENCE_SECURITY_WARNING_END _Pragma("clang diagnostic pop")
11
12//------------------------------------------------------------------
13// Debug break
14
15#if defined(__aarch64__)
16 #define ULANG_BREAK() __asm__(".inst 0xd4200000")
17#elif defined(__arm__)
18 #define ULANG_BREAK() __asm__("trap")
19#else
20 #define ULANG_BREAK() __asm__("int $3")
21#endif
22
23namespace uLang
24{
25
26//------------------------------------------------------------------
27// Check if debugger is present
28
29inline bool IsDebuggerPresent()
30{
31 return false; // TODO: Implement this
32}
33
34//------------------------------------------------------------------
35// Send string to debugger output window
36
37inline void LogDebugMessage(const char* Message)
38{
39 // TODO: Implement this
40}
41
42}
Definition VVMEngineEnvironment.h:23
void LogDebugMessage(const char *Message)
Definition LinuxCommon.h:41
bool IsDebuggerPresent()
Definition LinuxCommon.h:33