Re: [swift-lldb-dev] swift-lldb release branches

2017-09-26 Thread Francis Ricci via swift-lldb-dev
Wow, with a bit of code-sign fiddling, that appears to be working, and I can manually debug the test binaries just fine. Thank you so much! On Tue, Sep 26, 2017 at 2:00 PM, Jim Ingham wrote: > It is run with the —test flag. But you can also run it by hand (that’s > primarily what I do): > > $cd

Re: [swift-lldb-dev] swift-lldb release branches

2017-09-26 Thread Jim Ingham via swift-lldb-dev
It is run with the —test flag. But you can also run it by hand (that’s primarily what I do): $cd /test $ ./dotest.py Or if you just want to run the swift part of the test suite, do: $ ./dotest.py testcases/lang/swift Jim > On Sep 26, 2017, at 7:18 AM, Francis Ricci via swift-lldb-dev > wr

Re: [swift-lldb-dev] swift-lldb release branches

2017-09-26 Thread Francis Ricci via swift-lldb-dev
Is the lldb test suite run automatically by swift's build-script? I'm running the following and not seeing any lldb tests run: ./swift/utils/build-script -d --lldb --test I'd try to just run the test suite manually from the lldb build directory, but I've never had any luck running the lldb test s

Re: [swift-lldb-dev] swift-lldb release branches

2017-09-25 Thread Jim Ingham via swift-lldb-dev
Does the swift testsuite work with the lldb you've built? The lang/swift directory will build a lot of swift binaries and debug them. If that's failing altogether, then we'll have to look at what's going wrong there, but we run the testsuite from the swift lldb on a couple of Ubuntu systems, a

Re: [swift-lldb-dev] swift-lldb release branches

2017-09-25 Thread Francis Ricci via swift-lldb-dev
Currently, as a super basic test, I'm just using: swift/utils/build-script --build-swift-stdlib-unittest-extra -T -d --lldb With matching release branches (either 3.1 or 4.0) checked out in llvm, swift, clang, and lldb. That should ensure that everybody is matching in terms of ABI/version. I'm th

Re: [swift-lldb-dev] swift-lldb release branches

2017-09-25 Thread Jim Ingham via swift-lldb-dev
I can't quite tell from the your description, but the first thing to note about using lldb for swift is that at present the debug information format for swift is the swift module file which is highly dependent on the layout of objects in the swift compiler. So you have to build your binaries us

Re: [swift-lldb-dev] swift-lldb release branches

2017-09-25 Thread Francis Ricci via swift-lldb-dev
Is swift-lldb only actively supported for debugging xcode projects? Swift in general is cross platform (runs on windows, linux, android, etc), and I don't generally target iOS or use Xcode. I'd very much like to get non-iOS non-Xcode debugging up and running, and I'm curious what the current status

[swift-lldb-dev] swift-lldb release branches

2017-09-21 Thread Francis Ricci via swift-lldb-dev
Hi all! I'm getting started doing some development on swift-lldb, and I'm having trouble getting basic debugging functionality out of the lldb binaries I build off of the swift release branches (swift-3.1-branch and swift-4.0-branch). On both branches, when I run lldb against a stdlib unit test bi