[swift-dev] [Call for testing] Catching debug info violations at -Onone

2018-01-17 Thread Davide Italiano via swift-dev
Hi, I would like to discuss the path towards enabling a new debug info verifier pass by default. This should improve the debug experience of users at `-Onone`. ## Problem Description Mandatory passes which run at `-Onone` can attach a wrong scope when they create instructions. This may result

Re: [swift-dev] [swift-lldb-dev] Switching swift to C++14

2018-01-05 Thread Davide Italiano via swift-dev
On Fri, Jan 5, 2018 at 2:38 PM, Jim Ingham via swift-dev wrote: > I have no formal objections to switching lldb to C++14. I haven't been > following what is in C++14, but presumably it's purely additive? If so then > except for bugs this should be a no-op. > +1 > My

[swift-dev] backporting clang patches from upstream?

2017-09-25 Thread Davide Italiano via swift-dev
Hi, I'd like to backport the following commit to swift-clang https://github.com/llvm-mirror/clang/commit/5c5aea8028aa58b347eaf3b552bc158a2a85ee18 as it fixes some problems with the freebsd build. What's the recommended workflow? Thanks, -- Davide ___

Re: [swift-dev] [Swift CI] Build Failure: OSS - Swift Package - OS X (master) #348

2017-09-24 Thread Davide Italiano via swift-dev
I don't think this is related to my commit. All the slaves appear to be in a `detached` state. On Sun, Sep 24, 2017 at 2:44 PM, no-reply--- via swift-dev < swift-dev@swift.org> wrote: > [FAILURE] oss-swift-package-osx [#348] > Build URL: https://ci.swift.org/job/oss-swift-package-osx/348/ >

[swift-dev] libSwiftAST (a-la-libclang) ?

2017-08-18 Thread Davide Italiano via swift-dev
Hi, as part of a fuzzing project I have some needs to parse/mutate the AST. When I work with clang I generally use libclang (RecursiveASTVisitor) but I'm not aware of any Swift equivalent officially released as part of apple/swift ( the best I was able to find is this repo

Re: [swift-dev] Call for help: Linux (and others) build configurations, including static libraries, with ICU.

2017-05-29 Thread Davide Italiano via swift-dev
On Thu, May 25, 2017 at 5:33 PM, Michael Ilseman wrote: > With https://github.com/apple/swift/pull/9684 the Swift standard library > depends on ICU on Darwin in addition to Linux, where it has always had that > dependency. While our Linux bots have been happy with the

Re: [swift-dev] Call for help: Linux (and others) build configurations, including static libraries, with ICU.

2017-05-25 Thread Davide Italiano via swift-dev
On Thu, May 25, 2017 at 5:47 PM, Michael Ilseman wrote: > If that’s the case, we’ll want to add in FreeBSD alongside Android for that. > I don't think any platform redefines `pthread_key_t` to something else in FreeBSD in machine-dependent bits, but I'll take another look

Re: [swift-dev] Call for help: Linux (and others) build configurations, including static libraries, with ICU.

2017-05-25 Thread Davide Italiano via swift-dev
On Thu, May 25, 2017 at 5:41 PM, Michael Ilseman wrote: > That would be awesome! Do you use the static stdlib configuration? > > I had to make assumptions about the type of pthread_key_t. If the type is > wrong, there’s a nice static_assert with a message telling how to fix

Re: [swift-dev] Call for help: Linux (and others) build configurations, including static libraries, with ICU.

2017-05-25 Thread Davide Italiano via swift-dev
On Thu, May 25, 2017 at 5:33 PM, Michael Ilseman wrote: > With https://github.com/apple/swift/pull/9684 the Swift standard library > depends on ICU on Darwin in addition to Linux, where it has always had that > dependency. While our Linux bots have been happy with the

Re: [swift-dev] [Starter Project] Teach SILParser how to parse switch_enum of undef.

2015-12-22 Thread Davide Italiano via swift-dev
On Sun, Dec 13, 2015 at 4:29 PM, Michael Gottesman via swift-dev < swift-dev@swift.org> wrote: > This is a small starter project for those who are interested in working > with SIL. > > The SIL Parser currently is unable to parse switch_enum of undef. I wrote > a patch that does the work some time

Re: [swift-dev] Building Foundation on FreeBSD

2015-12-20 Thread Davide Italiano via swift-dev
On Sat, Dec 19, 2015 at 11:28 PM, Jordan Rose wrote: > > On Dec 19, 2015, at 7:14 , Davide Italiano wrote: > > On Fri, Dec 18, 2015 at 7:58 AM, Davide Italiano > wrote: > > On Wed, Dec 16, 2015 at 2:25 PM, Jordan Rose

Re: [swift-dev] Building Foundation on FreeBSD

2015-12-19 Thread Davide Italiano via swift-dev
On Fri, Dec 18, 2015 at 7:58 AM, Davide Italiano wrote: > On Wed, Dec 16, 2015 at 2:25 PM, Jordan Rose wrote: >> >>> On Dec 16, 2015, at 11:21 , Davide Italiano wrote: >>> >>> On Wed, Dec 16, 2015 at 11:17 AM, Jordan Rose

Re: [swift-dev] Building Foundation on FreeBSD

2015-12-18 Thread Davide Italiano via swift-dev
On Wed, Dec 16, 2015 at 2:25 PM, Jordan Rose wrote: > >> On Dec 16, 2015, at 11:21 , Davide Italiano wrote: >> >> On Wed, Dec 16, 2015 at 11:17 AM, Jordan Rose wrote: >>> What's the compile command for the files that are

Re: [swift-dev] Porting swift to FreeBSD

2015-12-13 Thread Davide Italiano via swift-dev
; On Sun, Dec 13, 2015 at 12:22 AM, Dmitri Gribenko <griboz...@gmail.com> >>> wrote: >>>> On Sat, Dec 12, 2015 at 9:09 PM, Davide Italiano <dccitali...@gmail.com> >>>> wrote: >>>>> On Sat, Dec 12, 2015 at 11:45 PM, Dmitri Gribenko <

Re: [swift-dev] Porting swift to FreeBSD

2015-12-13 Thread Davide Italiano via swift-dev
On Sun, Dec 13, 2015 at 6:15 AM, Dmitri Gribenko wrote: > On Sun, Dec 13, 2015 at 2:52 AM, Davide Italiano > wrote: >> And now, swift compiled programs run correctly on FreeBSD! > > This is great, thanks Davide! > >> % ./swiftc hello.swift -o hello >>

Re: [swift-dev] Porting swift to FreeBSD

2015-12-13 Thread Davide Italiano via swift-dev
On Sun, Dec 13, 2015 at 4:41 PM, Chris Lattner <clatt...@apple.com> wrote: > >> On Dec 13, 2015, at 3:34 AM, Davide Italiano via swift-dev >> <swift-dev@swift.org> wrote: >> >> On Sun, Dec 13, 2015 at 6:15 AM, Dmitri Gribenko <griboz...@gmail.com&g

Re: [swift-dev] Porting swift to FreeBSD

2015-12-12 Thread Davide Italiano via swift-dev
;> On Sat, Dec 12, 2015 at 8:29 PM, Davide Italiano via swift-dev >>> <swift-dev@swift.org> wrote: >>>> Hi, >>>> I'm a FreeBSD developer who has been working on porting swift to FreeBSD. >>>> I'm at a point where with a local patch ( >>>&

Re: [swift-dev] Porting swift to FreeBSD

2015-12-12 Thread Davide Italiano via swift-dev
;> On Sat, Dec 12, 2015 at 9:09 PM, Davide Italiano <dccitali...@gmail.com> >>> wrote: >>>> On Sat, Dec 12, 2015 at 11:45 PM, Dmitri Gribenko <griboz...@gmail.com> >>>> wrote: >>>>> On Sat, Dec 12, 2015 at 8:29 PM, Davide Italiano via sw

Re: [swift-dev] Porting swift to FreeBSD

2015-12-12 Thread Davide Italiano via swift-dev
; On Sat, Dec 12, 2015 at 11:45 PM, Dmitri Gribenko <griboz...@gmail.com> >>> wrote: >>>> On Sat, Dec 12, 2015 at 8:29 PM, Davide Italiano via swift-dev >>>> <swift-dev@swift.org> wrote: >>>>> Hi, >>>>> I'm a FreeBSD de