Movatterモバイル変換


[0]ホーム

URL:


Wayback Machine
37 captures
04 Dec 2015 - 24 Aug 2025
FebMARApr
29
201820192020
success
fail
COLLECTED BY
TIMESTAMPS
loading
The Wayback Machine - https://web.archive.org/web/20190329122159/https://github.com/apple/swift-lldb
Skip to content
Sign in Sign up

/swift-lldb

Join GitHub today

GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.

Sign up
This is the version of LLDB that supports the Swift programming language & REPL.
Branch:stable
Clone or download

Clone with HTTPS

Use Git or checkout with SVN using the web URL.

Launching GitHub Desktop...

If nothing happens,download GitHub Desktop and try again.

Launching GitHub Desktop...

If nothing happens,download GitHub Desktop and try again.

Launching Xcode...

If nothing happens,download Xcode and try again.

Launching Visual Studio...

If nothing happens,download the GitHub extension for Visual Studio and try again.

@JDevlieghere
JDevlieghereMerge pull request#1418from harlanhaskins/frosted-flakes
[test] Disable two flaky tests to unblock the bots
Latest commit 1e6537fMar 29, 2019
Permalink
TypeNameLatest commit messageCommit time
Failed to load latest commit information.
cmake[CMake] Restore some changes to standalone build prior to swift-5.1-b…Feb 21, 2019
docs
examples
include/lldb
lit
lldb.xcodeproj
lldb.xcworkspaceMerge remote-tracking branch 'llvm/master' into upstream-with-swiftJan 29, 2019
packages/Python/lldbsuite
resources
scriptsRegenerate static bindingsMar 7, 2019
source
test[CMake] Make lldb-test-deps a dependency of check-lldbFeb 13, 2019
third_party/Python/module
tools
unittests[ExpressionParser] Add swift-lldb case for finding clang resource dirMar 28, 2019
utils
www
.arcconfig
.clang-format
.gitignoreMerge stable into upstream-with-swift.Mar 9, 2018
CMakeLists.txt
CODE_OWNERS.txt
CONTRIBUTING.md
INSTALL.txt
LICENSE.TXTFix typos throughout the license files that somehow I and my reviewersJan 21, 2019
README.md
notifications.jsonAdd Swift support to LLDB.Nov 6, 2015
use_lldb_suite_root.pygrand code reformattingSep 8, 2016

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 cleanand modern syntax, offers seamless access to existing C and Objective-Ccode and frameworks, and is memory safe (by default).

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

Building LLDB for Swift

To build LLDB for Swift, you must have the following prerequisitesinstalled on your development system:

  • macOS Requirements

    • macOS 10.12.6 or later.

    • Xcode 9.2 or later.

    • Cmake (version 2.8.12.2 or later)

  • Linux x86_64 (Ubuntu 14.04, Ubuntu 15.10)

    • Clang 3.5 or later.

    • Cmake (version 2.8.12.2 or later)

    • Python 2.7

Once the pre-requisites are satisfied, follow these steps from abash-like shell:

mkdir myswiftcd myswiftgit clone https://github.com/apple/swift-lldb.git lldblldb/scripts/build-swift-cmake.py --test

The lldb build script will clone additional repositories for requireddependencies if they are not already present. An optional--updateargument can be used to refresh these required repositories. Productsof the build process will be placed in thebuild/ directoryunder the root source directory.

Inter-project Directory Layout

LLDB for Swift introduces new dependencies that do not exist withcore LLDB. In particular, LLDB for Swift makes extensive use of theSwift codebase.

Each one of the directories listed below underneath the overallsource_root are backed by a Swift.org repository:

.+-- clang/|+-- cmark/|+-- lldb/|+-- llvm/|+-- ninja/|+-- swift/

Details on the contents:

  • clang

    Contains the stable version of Clang used by Swift.

  • cmark

    Contains markdown support used by Swift.

  • lldb

    Contains the LLDB source that includes Swift support. All ofLLDB for Swift is contained in this repository. Core LLDB contentsare merged into this repository. No other copy of LLDB source codeis required.

  • llvm

    Contains the stable version of LLVM used by Swift.

  • ninja

    Contains the Ninja build system.

  • swift

    Contains the Swift Language and Swift Runtime code.

Note: If you don't use the build-swift-cmake.py script to do the initialclone of the related project repositories, you'll need to manually clonethem to the names above:

Contribution Subtleties

The swift-lldb project enhances the core LLDB project developed undertheLLVM Project. Swift support in the debugger is added viathe existing source-level plugin infrastructure, isolated to files thatare newly introduced in the lldb-swift repository.

Files that come from thecore LLDB project can be readilyidentified by their use of the LLVM comment header. As no localchanges should be made to any of these files, follow the standardguidance for upstream changes.

You can’t perform that action at this time.

[8]ページ先頭

©2009-2025 Movatter.jp