LLDB mainline
SBLanguageRuntime.cpp
Go to the documentation of this file.
1//===-- SBLanguageRuntime.cpp ---------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
12
13using namespace lldb;
14using namespace lldb_private;
15
18 LLDB_INSTRUMENT_VA(string);
19
20 return Language::GetLanguageTypeFromString(llvm::StringRef(string));
21}
22
23const char *
25 LLDB_INSTRUMENT_VA(language);
26
27 return Language::GetNameForLanguageType(language);
28}
#define LLDB_INSTRUMENT_VA(...)
static const char * GetNameForLanguageType(lldb::LanguageType language)
static lldb::LanguageType GetLanguageTypeFromString(const char *string)
static const char * GetNameForLanguageType(lldb::LanguageType language)
Definition: Language.cpp:265
static lldb::LanguageType GetLanguageTypeFromString(const char *string)=delete
A class that represents a running process on the host machine.
Definition: SBAttachInfo.h:14
Definition: SBAddress.h:15
LanguageType
Programming language type.