File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lldb/source/Plugins/LanguageRuntime/CPlusPlus Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,17 @@ using namespace lldb;
34
34
using namespace lldb_private ;
35
35
36
36
static ConstString g_this = ConstString(" this" );
37
+ // Artificial coroutine-related variables emitted by clang.
38
+ static ConstString g_promise = ConstString(" __promise" );
39
+ static ConstString g_coro_frame = ConstString(" __coro_frame" );
37
40
38
41
char CPPLanguageRuntime::ID = 0 ;
39
42
40
43
CPPLanguageRuntime::CPPLanguageRuntime (Process *process)
41
44
: LanguageRuntime(process) {}
42
45
43
46
bool CPPLanguageRuntime::IsAllowedRuntimeValue (ConstString name) {
44
- return name == g_this ||
45
- // Artificial coroutine-related variables emitted by clang.
46
- name == ConstString (" __promise" ) ||
47
- name == ConstString (" __coro_frame" );
47
+ return name == g_this || name == g_promise || name == g_coro_frame;
48
48
}
49
49
50
50
bool CPPLanguageRuntime::GetObjectDescription (Stream &str,
You can’t perform that action at this time.
0 commit comments