Commit Graph

1189 Commits

Author SHA1 Message Date
Saleem Abdulrasool
a75e8fbd21 Basic: adjust for LLVM SVN r357552
`Emscripten` is now an OS in the enumeration.
2019-04-03 09:40:07 -07:00
swift-ci
07cb3bb327 Merge remote-tracking branch 'origin/master' into master-next 2019-03-30 19:09:36 -07:00
Jason Mittertreiner
8998235ed6 Enable Child Memory Usage Tracking on Windows (#23686)
Windows requires a handle to get memory usage, so do a slight refactor
to collect the child's memory usage as it exits instead of as the parent
is cleaning up.
2019-03-30 18:54:30 -07:00
swift-ci
d45e63b98e Merge remote-tracking branch 'origin/master' into master-next 2019-03-20 13:30:07 -07:00
Michael Gottesman
384882d5f3 Merge pull request #23201 from compnerd/patience-is-not-always-a-virtue
build: introduce and switch to GYB_SOURCES
2019-03-20 13:27:32 -07:00
swift-ci
501fa43c4d Merge remote-tracking branch 'origin/master' into master-next 2019-03-19 05:49:42 -07:00
David Zarzycki
d2c5597707 [Tests] Stabilize output order maps against incidental changes
The output file map is created in DenseMap order, which is an unordered
and "unstable" collection type.
2019-03-18 07:22:23 -04:00
Saleem Abdulrasool
8ed5c1a4bc build: introduce and switch to GYB_SOURCES
This avoids us having to pattern match every source file which should
help speed up the CMake generation.  A secondary optimization is
possible with CMake 3.14 which has the ability to remove the last
extension component without having to resort to regular expressions.  It
also helps easily identify the GYB'ed sources.
2019-03-11 13:48:54 -07:00
Saleem Abdulrasool
b0005e9f87 build: remove C_COMPILE_FLAGS from add_swift_host_library
Use the appropriate CMake mechanism for controlling flags for building
the code.
2019-03-10 15:38:55 -07:00
swift-ci
6bd2e12411 Merge remote-tracking branch 'origin/master' into master-next 2019-03-01 18:09:24 -08:00
Jason Mittertreiner
b895f0cf17 Have Windows Call Signaled Callback on Crashes (#23018)
The signaled callback is treated more as a general crash handler clean
up wise. While it doesn't 100% line up, have Windows call the signaled
callback on exit codes considered to be errors.
2019-03-01 17:49:26 -08:00
swift-ci
2a8c973aff Merge remote-tracking branch 'origin/master' into master-next 2019-02-28 16:09:52 -08:00
Brent Royal-Gordon
f1d1df3b30 Merge pull request #22842 from brentdax/target-practice
Name platform-specific module files using a normalized target triple
2019-02-28 16:07:37 -08:00
swift-ci
0f95994a50 Merge remote-tracking branch 'origin/master' into master-next 2019-02-28 00:12:45 -08:00
Jason Mittertreiner
2680c34a15 Implement SeparateErrors on Windows
To display stack traces from child processes, the driver combines stdout
and stderror together on Unix. This makes the Basic implementation also
do that.
2019-02-27 14:39:50 -08:00
Brent Royal-Gordon
64760981d0 [NFC] Restyle getTargetSpecificModuleTriple()
* Adds documentation comments.
* Turns redundant cases into comments.
* Removes the else branch in a couple “if (…) return …; else return …;” patterns.
2019-02-27 11:44:10 -08:00
Brent Royal-Gordon
c1cc51d1f3 Use target triple for “universal” modules
When loading a module supporting multiple targets, the module loader now looks for a file named with a normalized version of the target triple first, and only falls back to the architecture name if the normalized triple is not found.
2019-02-27 11:43:12 -08:00
swift-ci
37da95021f Merge remote-tracking branch 'origin/master' into master-next 2019-02-24 10:29:22 -08:00
Argyrios Kyrtzidis
04992a58d1 [CMake] Provide a way to build the minimum things necessary for the syntax parser library
These changes allow to optionally perform a very fast build that is targeted to only produce the syntax parser library.
Part of addressing rdar://48153331
2019-02-23 11:31:31 -08:00
swift-ci
a61b1f049b Merge remote-tracking branch 'origin/master' into master-next 2019-02-23 11:09:25 -08:00
Argyrios Kyrtzidis
05893a8595 Merge pull request #22831 from compnerd/cmake-modernise-1
cmake: switch host libraries to use `target_link_libraries`
2019-02-23 10:57:07 -08:00
swift-ci
fa605bce12 Merge remote-tracking branch 'origin/master' into master-next 2019-02-22 21:49:30 -08:00
Saleem Abdulrasool
9934532e07 cmake: switch host libraries to use target_link_libraries
This is a follow up to the discussion on #22740 to switch the host
libraries to use the `target_link_libraries` rather than the
`LINK_LIBRARIES` special handling.  This allows the dependency to be
properly tracked by CMake and allows us to use the more modern syntax.
2019-02-22 15:28:07 -08:00
Jason Mittertreiner
ac0d9ef31a Fixed Driver Dependency Tests on Windows
All Driver/Dependency Tests now pass on Windows!
2019-02-21 11:19:57 -08:00
Bob Wilson
93b29dcc89 master-next: Add switch case for new Hurd triple in llvm r347832 2019-02-08 14:22:56 -08:00
Saleem Abdulrasool
adcdc39791 swift: update for LLVM SVN r344140
Update swift's usage of clang::vfs which has been hoisted into LLVM.
2019-02-07 17:53:42 -08:00
Bob Wilson
411fae3e5e [master-next] Add HermitCore OS type for LLVM triples
LLVM r340675 added a new HermitCore OS type to triples, which broke the
Swift build because it is using -Werror,-Wswitch and the new value was not
handled in swift::getPlatformNameForTriple
2019-02-07 16:52:45 -08:00
Saleem Abdulrasool
5daeb562d7 Basic: adjust for SVN r353268
The versioning script has changed for the preparation for the monorepo
adjustment and to generalise it further.  Update our usage.
2019-02-06 15:26:07 -08:00
swift-ci
7ff91aa902 Merge remote-tracking branch 'origin/master' into master-next 2019-01-29 04:29:55 -08:00
Slava Pestov
0882695f64 Mangler: Tighten up round-trip check 2019-01-29 02:15:56 -05:00
Davide Italiano
35968ed6bc [Platform] Catch up with LLVM upstream. COWS is now WASI. 2019-01-16 10:25:30 -08:00
Adrian Prantl
5a9a59ec6a Add missing enum case 2019-01-15 11:01:33 -08:00
swift-ci
0ffdff20a3 Merge remote-tracking branch 'origin/master' into master-next 2018-12-21 13:29:23 -08:00
Saleem Abdulrasool
326d42378e Basic: convert UUIDs to uppercase
Darwin does not follow the ITEF specification (RFC 4122) and emits the UUID in
uppercase and expects the emission to be uppercase.  Convert to upper case when
translating the UUID from the binary representation to the string
representation.  This repairs the SIL parsing tests on Windows.
2018-12-21 10:43:20 -08:00
swift-ci
848f9bef21 Merge remote-tracking branch 'origin/master' into master-next 2018-12-05 10:54:58 -08:00
Adrian Prantl
ff63eaea6f Remove \brief commands from doxygen comments.
We've been running doxygen with the autobrief option for a couple of
years now. This makes the \brief markers into our comments
redundant. Since they are a visual distraction and we don't want to
encourage more \brief markers in new code either, this patch removes
them all.

Patch produced by

      for i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i & done
2018-12-04 15:45:04 -08:00
Bob Wilson
fa5ee3d717 master-next: Add switch case for new Hurd triple in llvm r347832 2018-11-29 12:56:14 -08:00
swift-ci
d84c7d475c Merge remote-tracking branch 'origin/master' into master-next 2018-11-16 04:49:12 -08:00
Ted Kremenek
6c8bed847f Merge pull request #20374 from tkremenek/swift5-verison
Bump compiler version to Swift 5.
2018-11-16 04:30:08 -08:00
swift-ci
5b5697f486 Merge remote-tracking branch 'origin/master' into master-next 2018-11-15 13:28:08 -08:00
Michael Ilseman
c5ce63a5cc Merge pull request #20599 from milseman/emoji_tag
[Character] Permit tagged emoji Character literals
2018-11-15 13:21:35 -08:00
swift-ci
c8bc84634a Merge remote-tracking branch 'origin/master' into master-next 2018-11-15 12:34:24 -08:00
Saleem Abdulrasool
9cc9a94d56 Merge pull request #20469 from tinysun212/pr-os-macro-cygwin-2
[LangOptions] os(Cygwin) is not true on Cygwin
2018-11-15 12:13:34 -08:00
Michael Ilseman
bca1b74427 [Character] Permit tagged emoji Character literals
Loosen up the compiler's grapheme analysis to allow the emoji tagged
sequences as graphemes.
2018-11-15 09:06:20 -08:00
swift-ci
3758290ba3 Merge remote-tracking branch 'origin/master' into master-next 2018-11-14 17:59:33 -08:00
Joe Groff
2f4a90178c Merge pull request #20582 from jckarter/multi-payload-xi-empty
Fix ClusteredBitVector::fromAPInt for zero-sized vectors.
2018-11-14 17:41:13 -08:00
Ted Kremenek
cf2dce9166 Merge branch 'master' of https://github.com/apple/swift into swift5-verison
# Conflicts:
#	test/api-digester/Outputs/stability-stdlib-source.swift.expected
2018-11-14 17:31:55 -08:00
Joe Groff
4428d479aa Fix ClusteredBitVector::fromAPInt for zero-sized vectors.
A one-bit zero APInt is a reasonable stand-in for everywhere we need this.
2018-11-14 14:05:21 -08:00
swift-ci
c03d8e70be Merge remote-tracking branch 'origin/master' into master-next 2018-11-14 13:30:14 -08:00
Vinicius Vendramini
f6c7815799 Add a few fixes mentioned in the code review. 2018-11-14 13:38:01 -02:00