Re: [swift-dev] SR-5403 / Memory Optimization Opportunity (Load/Store forwarding)

2017-07-25 Thread Johannes Weiß via swift-dev
Thanks very much Eric & Michael for your help! And thanks for merging it. Will this automatically be part of Swift 4 or do I need to make another PR against a swift 4 branch? Thanks, Johannes > On 18 Jul 2017, at 9:21 pm, Johannes Weiß via swift-dev > wrote: > > great, thank you. I think

Re: [swift-dev] SR-5403 / Memory Optimization Opportunity (Load/Store forwarding)

2017-07-25 Thread John McCall via swift-dev
> On Jul 25, 2017, at 12:55 PM, Johannes Weiß via swift-dev > wrote: > > Thanks very much Eric & Michael for your help! And thanks for merging it. > Will this automatically be part of Swift 4 or do I need to make another PR > against a swift 4 branch? It's very hard to imagine we would take

Re: [swift-dev] autocompletions for local variables

2017-07-25 Thread Jordan Rose via swift-dev
Hi, Mansimar. I don't work on code completion myself, but my recollection was that the results are always computed for the start location of the identifier, ignoring any text that may have already been typed. This is because SourceKit is meant to have an IDE as a client, and so to minimize traff

[swift-dev] Quick pitch: Change Linux’s string comparison to match Darwin’s

2017-07-25 Thread Michael Ilseman via swift-dev
On Darwin, known-ASCII strings are sorted according to the lexicographical ordering of their code units. All non-known-ASCII strings are otherwise ordered based on the UCA[1]. On Linux, however, even known-ASCII strings are ordered based on UCA. I propose to unify these by changing Linux’s strin

Re: [swift-dev] [Swift CI] Build Failure: OSS - Swift Package - Ubuntu 16.04 (swift 4.0) #585

2017-07-25 Thread Douglas Gregor via swift-dev
Ankit, any ideas? Test Case 'ProcessSetTests.testSigKillEscalation' failed (1843.628 seconds) > On Jul 25, 2017, at 2:45 PM, no-re...@swift.org wrote: > > [FAILURE] oss-swift-4.0-package-linux-ubuntu-16_04 [#585] > > Build URL: > https://ci.swift.org/job/oss-swift-4.0-package-linux-

[swift-dev] [Swift CI] Build Still Failing: OSS - Swift Package - OS X (master) #3854

2017-07-25 Thread no-reply--- via swift-dev
New issue found!Title: Report [FAILURE] oss-swift-package-osx [#3854] Build URL:https://ci.swift.org/job/oss-swift-package-osx/3854/ Project:oss-swift-package-osx Date of build:Tue, 25 Jul 2017 13:26:32 -0700 Build duration:1 hr 50 min Changes Com

[swift-dev] Question about demangling

2017-07-25 Thread Ethan Arbuckle via swift-dev
The Swift runtime exports a function to demangle Swift symbols, swift_demangle. See source: https://github.com/apple/swift/blob/32d15d8539c43ff26b599f7c4a08a79a10d4bf98/stdlib/public/runtime/Reflection.mm#L1200. This function uses the default mangling options, as defined by `Demangle::DemangleOp

[swift-dev] [Swift CI] Build Still Failing: OSS - Swift Package - OS X (master) #3855

2017-07-25 Thread no-reply--- via swift-dev
New issue found!Title: Report [FAILURE] oss-swift-package-osx [#3855] Build URL:https://ci.swift.org/job/oss-swift-package-osx/3855/ Project:oss-swift-package-osx Date of build:Tue, 25 Jul 2017 15:18:18 -0700 Build duration:2 hr 24 min Identified problems:Compile Error: T

Re: [swift-dev] [Swift CI] Build Failure: OSS - Swift Package - Ubuntu 16.04 (swift 4.0) #585

2017-07-25 Thread Ankit Aggarwal via swift-dev
Afaik, this has been a stable test but I have seen the failure before. I'll investigate. https://bugs.swift.org/browse/SR-4885 > On 26-Jul-2017, at 3:16 AM, Douglas Gregor wrote: > > Ankit, any ideas? > > Test Case 'ProcessSetTests.testSigKillEsca

Re: [swift-dev] Quick pitch: Change Linux’s string comparison to match Darwin’s

2017-07-25 Thread Michael Ilseman via swift-dev
Unfortunately after some investigations and discussion, the situation seems to be more murky. This approach would break transitivity of String comparison on Linux, at least with any implementation of UCA using the normal collation weights. A < B, B < C should imply A < C. But, if both A and B ar

Re: [swift-dev] [swift-users] Swift linux repl can't import

2017-07-25 Thread Mason Mark via swift-dev
Just to update the record, Matthias M. Schneider posted a workaround on bugs.swift.org. By setting the C_INCLUDE_PATH and CPLUS_INCLUDE_PATH environment variables to point to the Clang headers directory, it is possible to both import Foundation in the REPL (without using -I to pass the header i