Davide Italiano
caa4ab3b70
Merge pull request #14262 from graydon/reduce-layering-violation-in-stats-tracer
...
[Stats] Reduce layering violations in FrontendStatsTracer.
2018-01-30 08:23:34 -08:00
Graydon Hoare
9334779f33
[Stats] Reduce layering violations in FrontendStatsTracer.
2018-01-30 01:54:07 -08:00
swift-ci
1a3161ac85
Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition
2018-01-30 00:08:37 -08:00
swift-ci
d60547090a
Merge remote-tracking branch 'origin/master' into master-next
2018-01-30 00:01:43 -08:00
Rintaro Ishizaki
d48a2a4071
[JSONSerialization] Compact output for empty objects and arrays
...
Now, they are represented as `{}` and `[]` instead of:
{
}
and
[
]
2018-01-30 15:40:17 +09:00
Rintaro Ishizaki
4087cff99d
[JSONSerialization] Add ability to emit 'null' value
2018-01-30 15:23:12 +09:00
swift-ci
d3532a32a0
Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition
2018-01-24 17:41:35 -08:00
swift-ci
a779af8e7b
Merge remote-tracking branch 'origin/master' into master-next
2018-01-24 17:36:48 -08:00
Graydon Hoare
5f130a8d35
[Stats] Expand FrontendStatsTracer to trace multiple entity-types.
2018-01-21 23:37:54 -08:00
swift-ci
4ef0384dbe
Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition
2018-01-15 15:18:59 -08:00
swift-ci
76b5118182
Merge remote-tracking branch 'origin/master' into master-next
2018-01-15 15:09:15 -08:00
Graydon Hoare
bd5064d677
[Stats] Ensure timestamps are microseconds (linux default is nano)
2018-01-12 16:24:25 -08:00
swift-ci
1cda66e973
Merge remote-tracking branch 'origin/master' into master-next
2017-11-29 13:50:19 -08:00
Graydon Hoare
dd81583b1a
[Parse] Fix a couple typos in PR #12964
2017-11-29 11:27:21 -08:00
swift-ci
4815c1a745
Merge remote-tracking branch 'origin/master' into master-next
2017-11-28 19:50:29 -08:00
Graydon Hoare
d3613b8017
[Platform] Support triple.isSimulatorEnvironment()
2017-11-28 13:51:01 -08:00
Graydon Hoare
3807b3fa1e
[Parse] Add platform conditional targetEnvironment(simulator)
2017-11-28 13:51:01 -08:00
swift-ci
84a54bd654
Merge remote-tracking branch 'origin/master' into master-next
2017-11-09 11:09:14 -08:00
Alex Hoppen
746bfc6d59
[Refactoring] Add refactoring action to move type members to extension ( #12795 )
...
This implements SR-6297.
2017-11-09 11:08:34 -08:00
swift-ci
6f7b08c188
Merge remote-tracking branch 'origin/master' into master-next
2017-11-08 22:09:40 -08:00
Graydon Hoare
173e702da2
[Stats] Add a pair of counters to track failed processes.
2017-11-08 19:53:36 -08:00
swift-ci
d1291cd36a
Merge remote-tracking branch 'origin/master' into master-next
2017-10-16 22:09:22 -07:00
Erik Eckstein
f343659a75
Mangler: add a dump() function for debugging
2017-10-16 17:30:34 -07:00
swift-ci
1a9725f8a1
Merge remote-tracking branch 'origin/master' into master-next
2017-10-05 23:08:52 -07:00
Graydon Hoare
5d08866e56
[Stats] Warn on failure-to-write stats / trace files.
2017-10-05 19:06:06 -04:00
swift-ci
656a4e856e
Merge remote-tracking branch 'origin/master' into master-next
2017-10-03 19:49:00 -07:00
Graydon Hoare
0e5b982d25
[Stats] Only use input filename, not mangled path, in stats file name.
...
This was causing cases of very long input pathnames to be mangled into
stats filenames greater than 255 characters long, which in turn meant
stats files were not being written in some cases.
2017-10-03 17:10:25 -07:00
Graydon Hoare
77554c1ae2
[Stats] Fix typo.
2017-10-03 17:08:50 -07:00
Michael Gottesman
b369760f43
[upstream-update] Add AMDPAL to getPlatformNameForTriple switch.
2017-10-01 23:22:36 -07:00
swift-ci
025f3a5039
Merge remote-tracking branch 'origin/master' into master-next
2017-09-27 11:49:27 -07:00
David Ungar
443ab7d950
git-clang-format
2017-09-26 18:02:35 -07:00
David Ungar
2af86f5cac
First compiling run, WIP
2017-09-26 16:07:07 -07:00
Bob Wilson
0276b0f89d
Merge remote-tracking branch 'origin/master' into master-next
2017-09-23 10:09:35 -07:00
Graydon Hoare
85dda86130
Merge pull request #12071 from graydon/trace-stats-deltas
...
Trace stats deltas
2017-09-22 22:25:58 -07:00
swift-ci
a448d28b77
Merge remote-tracking branch 'origin/master' into master-next
2017-09-22 18:09:44 -07:00
Calvin Hill
aee81d272f
Add Initial platform support for Haiku. ( #11583 )
2017-09-22 21:06:56 -04:00
Graydon Hoare
205f725d6e
[stats] Add UnifiedStatsReporter::FrontendStatsTracer
2017-09-22 19:15:34 -04:00
Graydon Hoare
7e1cf168a8
[stats] Factor out UnifiedStatsReporter fields to a .def file
2017-09-22 02:01:06 -04:00
swift-ci
60cf68ee6b
Merge remote-tracking branch 'origin/master' into master-next
2017-09-12 14:30:14 -07:00
swift-ci
ad59688523
Merge remote-tracking branch 'origin/master' into master-next
2017-09-12 13:10:30 -07:00
Xi Ge
87ce54e3f2
Re-apply "Paser: IfConfigDecl should reflect the underlying source. rdar://34315827"
2017-09-12 12:59:25 -07:00
Xi Ge
2a07534bc1
Revert "Paser: IfConfigDecl should reflect the underlying source. rdar://34315827"
...
For test failure witnessed in bots: https://ci.swift.org/job/oss-swift-incremental-RA-osx/462/
2017-09-12 12:49:02 -07:00
swift-ci
ccedf5316f
Merge remote-tracking branch 'origin/master' into master-next
2017-09-12 12:09:55 -07:00
Xi Ge
bfe6a64708
Paser: IfConfigDecl should reflect the underlying source. rdar://34315827
2017-09-12 11:58:49 -07:00
swift-ci
546836ceff
Merge remote-tracking branch 'origin/master' into master-next
2017-09-11 15:08:53 -07:00
Alex Hoppen
1c7e289b96
[Mangling] Adjust subscript mangling to not include "subscript"
...
Change the mangling of accessors to have a variable or subscript node
as their only child node, while subscript nodes no longer contain a decl
name.
2017-09-10 19:44:07 +02:00
swift-ci
f0fb66b5e6
Merge remote-tracking branch 'origin/master' into master-next
2017-08-30 20:49:04 -07:00
Robert Widmann
75a83da03e
Implement SE-0075: CanImport
...
This implementation required a compromise between parser
performance and AST structuring. On the one hand, Parse
must be fast in order to keep things in the IDE zippy, on
the other we must hit the disk to properly resolve 'canImport'
conditions and inject members of the active clause into the AST.
Additionally, a Parse-only pass may not provide platform-specific
information to the compiler invocation and so may mistakenly
activate or de-activate branches in the if-configuration decl.
The compromise is to perform condition evaluation only when
continuing on to semantic analysis. This keeps the parser quick
and avoids the unpacking that parse does for active conditions
while still retaining the ability to see through to an active
condition when we know we're moving on to semantic analysis anyways.
2017-08-28 18:35:06 -04:00
swift-ci
433a3c3dac
Merge remote-tracking branch 'origin/master' into master-next
2017-08-24 14:49:47 -07:00
Graydon Hoare
f236ee6278
Merge pull request #11570 from graydon/slocps
...
Add NumSourceLines{,PerSecond} counters, fix SourceFile counters for WMO mode
2017-08-24 14:44:47 -07:00