Skip to content

Commit

Permalink
[lldb] Expose more optional dependencies through GetBuildConfiguration()
Browse files Browse the repository at this point in the history
Expose all the externally-observable optional dependencies through
SBDebugger::GetBuildConfiguration().
  • Loading branch information
JDevlieghere committed Dec 21, 2019
1 parent c51ad1f commit 6cc3ee1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lldb/source/API/SBDebugger.cpp
Expand Up @@ -686,6 +686,18 @@ SBStructuredData SBDebugger::GetBuildConfiguration() {
AddBoolConfigEntry(
*config_up, "curses", LLDB_ENABLE_CURSES,
"A boolean value that indicates if curses support is enabled in LLDB");
AddBoolConfigEntry(
*config_up, "editline", LLDB_ENABLE_LIBEDIT,
"A boolean value that indicates if editline support is enabled in LLDB");
AddBoolConfigEntry(
*config_up, "lzma", LLDB_ENABLE_LZMA,
"A boolean value that indicates if lzma support is enabled in LLDB");
AddBoolConfigEntry(
*config_up, "python", LLDB_ENABLE_PYTHON,
"A boolean value that indicates if python support is enabled in LLDB");
AddBoolConfigEntry(
*config_up, "lua", LLDB_ENABLE_LUA,
"A boolean value that indicates if lua support is enabled in LLDB");
AddLLVMTargets(*config_up);

SBStructuredData data;
Expand Down

0 comments on commit 6cc3ee1

Please sign in to comment.