LLDB  mainline
Classes | Typedefs | Functions | Variables
Language.cpp File Reference
#include <functional>
#include <map>
#include <mutex>
#include "lldb/Target/Language.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Symbol/SymbolFile.h"
#include "lldb/Symbol/TypeList.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/Stream.h"
#include "llvm/Support/Threading.h"
Include dependency graph for Language.cpp:

Go to the source code of this file.

Classes

struct  language_name_pair
 

Typedefs

typedef std::unique_ptr< LanguageLanguageUP
 
typedef std::map< lldb::LanguageType, LanguageUPLanguagesMap
 

Functions

static LanguagesMapGetLanguagesMap ()
 
static std::mutex & GetLanguagesMutex ()
 

Variables

struct language_name_pair language_names []
 
static uint32_t num_languages
 

Typedef Documentation

◆ LanguagesMap

Definition at line 29 of file Language.cpp.

◆ LanguageUP

typedef std::unique_ptr<Language> LanguageUP

Definition at line 28 of file Language.cpp.

Function Documentation

◆ GetLanguagesMap()

static LanguagesMap& GetLanguagesMap ( )
static

◆ GetLanguagesMutex()

static std::mutex& GetLanguagesMutex ( )
static

Variable Documentation

◆ language_names

struct language_name_pair language_names[]

Definition at line 160 of file Language.cpp.

◆ num_languages

uint32_t num_languages
static
Initial value:
=
sizeof(language_names) / sizeof(struct language_name_pair)
struct language_name_pair language_names[]
Definition: Language.cpp:160

Definition at line 207 of file Language.cpp.

Referenced by lldb_private::Language::ForAllLanguages(), and lldb_private::Language::PrintAllLanguages().