Jump to content

LLDB (debugger)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 115.84.245.233 (talk) at 03:10, 27 November 2019 (Current state). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
LLDB
Developer(s)LLVM Developer Group
Repository
Written inC++
Operating systemmacOS i386 and x86-64, Linux, FreeBSD, Windows
TypeDebugger
LicenseUIUC (BSD-style)
Apache License 2.0 with LLVM Exceptions (v9.0.0 or later)[1]
Websitelldb.llvm.org

The LLDB Debugger (LLDB) is the debugger component of the LLVM project. It is built as a set of reusable components which extensively use existing libraries from LLVM, such as the Clang expression parser and LLVM disassembler. LLDB is free and open-source software under the University of Illinois/NCSA Open Source License,[2] a BSD-style permissive software license. Since v9.0.0, it was relicensed to the Apache License 2.0 with LLVM Exceptions.[1]

Current state

LLDB supports debugging of programs written in C, Objective-C, and C++. The Swift community maintains a version which adds support for the language. It is known to work on macOS, Linux, FreeBSD, and Windows,[3] and supports i386, x86-64, and ARM instruction sets[4]. LLDB is the default debugger for Xcode 5 and later. It can be used from other IDEs, including Visual Studio Code[5], Eclipse,[6] and CLion.[7]

Features Matrix

Feature FreeBSD Linux macOS Windows
Backtracing Green tickY Green tickY Green tickY Green tickY
Breakpoints Green tickY Green tickY Green tickY Green tickY
C++11: Green tickY Green tickY Green tickY Unkown
Commandline lldb tool Green tickY Green tickY Green tickY Green tickY
Core file debugging Green tickY Green tickY Green tickY Green tickY
Debugserver (remote debugging) Not ported Not ported Green tickY Not ported
Disassembly Green tickY Green tickY Green tickY Green tickY
Expression evaluation Unkown Works with some bugs Green tickY Works with some bugs
JIT debugging Unkown Symbolic debugging only Untested No
Objective-C 2.0: Unkown Not applicable Green tickY Not applicable

See also

References

  1. ^ a b LICENSE.TXT, llvm.org, retrieved 2019-09-24
  2. ^ "LLVM Release License"
  3. ^ "LLVM Project Blog".
  4. ^ "LLDB Status". Retrieved March 4, 2013.
  5. ^ "Add a new tool named "lldb-vscode" that implements the Visual Studio Code Debug Adaptor Protocol".
  6. ^ "CDT/Useer/FAQ".
  7. ^ "LLDB CLion Blog".