Files
Ben Marsh e1fe0cc030 Integrating live coding feature (aka Live++) into UE4.
Allows fast iteration of C++ changes without restarting the application. To use, select the "Live Coding (Experimental)" mode from the drop down menu next to the editor's compile button, or type "LiveCoding" into the console for a monolithic build. Press Ctrl+Alt+F11 to find changes and compile.

Changes vs standalone Live++ version:

* UBT is used to execute builds. This allows standard UE4 adaptive unity mode, allows us to reuse object files when we do regular builds, supports using any build executor allowed by UBT (XGE, SNDBS, etc..).
* Adding new source files is supported.
* Custom visualizer for FNames is supported via a weakly linked symbol in a static library (Engine/Extras/NatvisHelpers).
* Settings are exposed in the editor's project settings dialog.
* Standalone application has been rewritten as a Slate app ("LiveCodingConsole"). There is an additional option to start the program as hidden, where it will not be visible until Ctrl+Alt+F11 is hit. Similarly, closing the window will hide it instead of closing the application.
* Does not require a standalone licensed version of Live++.

Known issues:

* Does not currently support class layout changes / object reinstancing

#rb none
#fyi Marc.Audy, Stefan.Boberg, Nick.Penwarden
#jira

[CL 5304722 by Ben Marsh in 4.22 branch]
2019-03-05 15:54:02 -05:00

43 lines
1.3 KiB
C++

// Copyright 2011-2019 Molecular Matters GmbH, all rights reserved.
#pragma once
#include "CoreTypes.h"
#include "LC_Platform.h"
namespace symbolPatterns
{
extern const char* const PCH_SYMBOL_PATTERNS[1];
extern const char* const VTABLE_PATTERNS[3];
extern const char* const RTTI_OBJECT_LOCATOR_PATTERNS[1];
extern const char* const DYNAMIC_INITIALIZER_PATTERNS[1];
extern const char* const DYNAMIC_ATEXIT_DESTRUCTORS[1];
extern const char* const POINTER_TO_DYNAMIC_INITIALIZER_PATTERNS[1];
extern const char* const WEAK_SYMBOL_PATTERNS[4];
extern const char* const STRING_LITERAL_PATTERNS[2];
extern const char* const LINE_NUMBER_PATTERNS[1];
extern const char* const FLOATING_POINT_CONSTANT_PATTERNS[4];
#if LC_64_BIT
extern const char* const EXCEPTION_RELATED_PATTERNS[16];
#else
extern const char* const EXCEPTION_RELATED_PATTERNS[10];
#endif
extern const char* const EXCEPTION_CLAUSE_PATTERNS[1];
extern const char* const RTC_PATTERNS[8];
extern const char* const SDL_CHECK_PATTERNS[2];
extern const char* const CFG_PATTERNS[1];
extern const char* const IMAGE_BASE_PATTERNS[1];
extern const char* const TLS_ARRAY_PATTERNS[1];
extern const char* const TLS_INDEX_PATTERNS[1];
extern const char* const TLS_INIT_PATTERNS[3];
extern const char* const TLS_STATICS_PATTERNS[1];
extern const char* const ANONYMOUS_NAMESPACE_PATTERN;
}