UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LinuxCommon.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#if defined(__clang__)
9#define ULANG_SILENCE_SECURITY_WARNING_START \
10 _Pragma("clang diagnostic push") \
11 _Pragma("clang diagnostic ignored \"-Wformat-security\"")
12#define ULANG_SILENCE_SECURITY_WARNING_END \
13 _Pragma("clang diagnostic pop")
14#endif
15
16//------------------------------------------------------------------
17// Debug break
18
19#if defined(__aarch64__)
20 #define ULANG_BREAK() __asm__(".inst 0xd4200000")
21#elif defined(__arm__)
22 #define ULANG_BREAK() __asm__("trap")
23#else
24 #define ULANG_BREAK() __asm__ volatile("int $3")
25#endif
26
27namespace uLang
28{
29
30//------------------------------------------------------------------
31// Check if debugger is present
32
33inline bool IsDebuggerPresent()
34{
35 return false; // TODO: Implement this
36}
37
38//------------------------------------------------------------------
39// Send string to debugger output window
40
41inline void LogDebugMessage(const char* Message)
42{
43 // TODO: Implement this
44}
45
46}
Definition VVMEngineEnvironment.h:23
void LogDebugMessage(const char *Message)
Definition LinuxCommon.h:41
bool IsDebuggerPresent()
Definition LinuxCommon.h:33