Commit Graph

844 Commits

Author SHA1 Message Date
Sho Ikeda eaf33e0998 [gardening][lib/Basic] Replace typedef with using 2018-03-13 13:46:38 +09:00
Jordan Rose c5dcf01aca Merge pull request #14814 from jrose-apple/dump-truck
Dump (some) filelists in the PrettyStackTrace
2018-03-12 09:13:20 -07:00
Saleem Abdulrasool fae5182718 Merge pull request #15127 from compnerd/uuid
UUID
2018-03-10 14:48:11 -08:00
Jordan Rose 6243096b0b Dump input filelists in the PrettyStackTrace
This may help us reproduce a failing build when all we have is a build
log, and will become much more important in batch mode when we
/really/ need to know what ended up in what batch.

For now, this doesn't include /output/ filelists, because David's
about to mess with that code anyway to make things better around
supplementary outputs in batch mode. There is one weirdness there,
though, which is that ArgsToFrontendInputsConverter peeks at the
outputs to see whether we're doing single-threaded or multi-threaded
WMO.
2018-03-09 18:32:02 -08:00
Saleem Abdulrasool 5db0c06d0b Revert "Fix linker failures compiling Swift on Windows"
Restore the use of `UuidFromStringA`.  This avoids the unnecessary
round-tripping through mbtowcs and the dynamic allocation.  It also
fixes the UUID parsing, enabling tests to work on Windows.

This reverts commit 9414f46731.
2018-03-09 13:50:49 -08:00
swift-ci 36b254df94 Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-03-08 01:58:15 -08:00
Sho Ikeda 74ba135008 Merge pull request #15040 from ikesyo/gardening-not-empty
[gardening] Use `!empty()` over `size() > 0`
2018-03-08 18:47:12 +09:00
swift-ci d04ffb2fa9 Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-03-07 21:58:18 -08:00
Sho Ikeda 2a3b3483f7 [LangOptions] Avoid using a std::moved value 2018-03-08 13:34:35 +09:00
Sho Ikeda cea6c03eb2 [gardening] Use !empty() over size() > 0 2018-03-08 09:21:09 +09:00
swift-ci 73f148384e Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-03-06 16:38:13 -08:00
Sho Ikeda 26d650292f [gardening] Use empty() over size() == 0 2018-03-05 14:43:13 +09:00
swift-ci abbca89fbf Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-03-02 18:19:18 -08:00
Jordan Rose a16d8a73d1 Bump the compiler version to 4.2 (and 3.4) (#13767)
https://swift.org/blog/4-2-release-process/
2018-03-02 18:09:45 -08:00
swift-ci 00fb7dc414 Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-02-21 19:37:48 -08:00
Graydon Hoare 628c446fe3 [Stats] Add -profile-stats-{events,entities} 2018-02-21 16:22:48 -08:00
Graydon Hoare 7fe97c77c5 [Stats] Permit negative counters and deltas. 2018-02-21 14:49:24 -08:00
Graydon Hoare dd85e946e7 [Stats] Replace nonstandard SharedTimers with FrontendStatsTracers. 2018-02-21 14:49:24 -08:00
Graydon Hoare 819275945d [Stats] Replace RecursiveSharedTimer with FrontendStatsTracer. 2018-02-21 14:49:24 -08:00
Graydon Hoare deabc3fe65 [Stats] Add a recursive-timers registry to UnifiedStatsReporter. 2018-02-21 14:49:24 -08:00
Graydon Hoare 5f01c19d8e [Stats] Add support for tracing protocol conformances. 2018-02-21 14:49:24 -08:00
Graydon Hoare 76b82accbc [Stats] Simplify FrontendStatsTracer uses and formatter-definitions. 2018-02-21 14:49:24 -08:00
swift-ci 6f21dd3f5d Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-02-21 03:24:34 -08:00
Alex Blewitt f18115f27d Remove duplicate verb
`VERB(hang)` appeared twice in this file.
2018-02-20 19:03:38 +00:00
swift-ci 7ee8d0e245 Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-02-05 15:37:57 -08:00
Erik Eckstein 7ddfa9a9b6 mangling: remove the round-trip check for mangled runtime names (in the old mangling scheme).
This check doesn't make sense anymore because we are still making changes to the old remangler, but not to the old demangler.
Also, this check didn't work in most cases anyway.

rdar://problem/37241935
2018-02-05 14:02:18 -08:00
swift-ci 2b7218625c Merge remote-tracking branch 'origin/master' into master-llvm-swift5-transition 2018-01-30 08:38:47 -08:00
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
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
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
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