Merge pull request #2063 from apple/tensorflow-merge

Merge swift-DEVELOPMENT-SNAPSHOT-2019-10-08-a tag
tree: a632c0599bf3152352d5b5db5459d96d4c3fb198
  1. .vscode/
  2. cmake/
  3. docs/
  4. examples/
  5. include/
  6. lit/
  7. packages/
  8. resources/
  9. scripts/
  10. source/
  11. test/
  12. third_party/
  13. tools/
  14. unittests/
  15. utils/
  16. .arcconfig
  17. .clang-format
  18. .gitignore
  19. CMakeLists.txt
  20. CODE_OWNERS.txt
  21. CONTRIBUTING.md
  22. LICENSE.TXT
  23. notifications.json
  24. README.md
  25. use_lldb_suite_root.py
README.md

Swift Debugger and REPL

Status
macOSBuild Status
Ubuntu 14.04Build Status
Ubuntu 16.04Build Status
Ubuntu 18.04Build Status

Welcome to the Swift Debugger and REPL!

Swift is a new, high performance systems programming language. It has a clean and modern syntax, offers seamless access to existing C and Objective-C code and frameworks, and is memory safe (by default).

This repository covers the Swift Debugger and REPL support, built on top of the LLDB Debugger.

Building LLDB for Swift

To build LLDB for Swift, check out the swift repository and follow the instruction listed there. You can build lldb passing the --lldb flag to it. Example invocation:

mkdir myswift
cd myswift
git clone https://github.com/apple/swift.git swift
./swift/utils/update-checkout
./swift/utils/build-script -r --lldb

Contribution Subtleties

The swift-lldb project enhances the core LLDB project developed under the LLVM Project. Swift support in the debugger is added via the existing source-level plugin infrastructure, isolated to files that are newly introduced in the lldb-swift repository.

Files that come from the core LLDB project can be readily identified by their use of the LLVM comment header. As no local changes should be made to any of these files, follow the standard guidance for upstream changes.