You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swift version 3.0-dev
lldb-local-2016-07-20 (LLDB da120cf914, LLVM 8d0086ac3e, Clang 460d629e85)
Ubuntu 16.04 x86_64
Additional Detail from JIRA
Votes
12
Component/s
LLDB for Swift
Labels
Bug, Linux
Assignee
None
Priority
Medium
md5: 618c57260fe89aa7a5a6e9c831c74795
duplicates:
SR-3280 Package manager should link main swiftmodule in executables
relates to:
SR-3169 lldb stops working when C module includes a header outside of module's include/ dir
Issue Description:
I have a Swift program ("Bar") that uses a Swift module ("Foo") that in turn depends on a C library ("CFoo"). I use Swift Package Manager to build the Bar package (according to the official instructions), which works, and the Bar executable runs. But while using LLDB to debug Bar, I encountered the following errors (yes, LLDB is omitting a newline character at the end of the first line of the output):
I've encountered the same issue in the following environment:
swift -v: Apple Swift version 3.0 (swiftlang-800.0.46.2 clang-800.0.38)
Target: x86_64-apple-macosx10.9
lldb -v: lldb-360.1.50
OS: El Capitan (10.11.6)
We ae experiencing this same issue with Kitura's sample Kitura-Sample.This happens with either Kitura-Sample 1.2, which uses Kitura 1.2 which has a dependency with C code in the same repositories as Swift code. However, this also happens with Kitura-Sample 1.1, which uses Kitura 1.1, which in turn has all C code in separate repositories.
My environment on macOS is:
swift -v: Apple Swift version 3.0.1 (swiftlang-800.0.58.6 clang-800.0.42.1)
Target: x86_64-apple-macosx10.9
lldb -v: lldb-360.1.65
OS: Sierra (10.12.1)
My environment on Linux is:
swift -v: Swift version 3.0.1 (swift-3.0.1-RELEASE)
Target: x86_64-unknown-linux-gnu
lldb -v: lldb (swift-3.0.1-RELEASE)
OS: Ubuntu 16.04
The steps to recreate the issue without any C code in the same repositories as Swift code is:
Environment
Swift version 3.0-dev
lldb-local-2016-07-20 (LLDB da120cf914, LLVM 8d0086ac3e, Clang 460d629e85)
Ubuntu 16.04 x86_64
Additional Detail from JIRA
md5: 618c57260fe89aa7a5a6e9c831c74795
duplicates:
relates to:
Issue Description:
I have a Swift program ("Bar") that uses a Swift module ("Foo") that in turn depends on a C library ("CFoo"). I use Swift Package Manager to build the Bar package (according to the official instructions), which works, and the Bar executable runs. But while using LLDB to debug Bar, I encountered the following errors (yes, LLDB is omitting a newline character at the end of the first line of the output):
The text was updated successfully, but these errors were encountered: