Commit Graph

2754 Commits

Author SHA1 Message Date
Saleem Abdulrasool
f242b685a8 Update WindowsBuild.md
Ensure that symlinks are handled properly on Windows, which are disabled by default.
2019-06-02 21:47:30 -07:00
Saleem Abdulrasool
516411db61 Update WindowsBuild.md
Fix stray case of ICU 63.1 path to 64.2
2019-06-01 19:53:47 -07:00
Joe Groff
269d306b9d Merge pull request #25123 from johnno1962/reg-docco
Document ABI registers
2019-05-31 13:50:22 -07:00
Gonsolo
616877af4a Spelling fix. 2019-05-31 14:57:04 +02:00
John Holdsworth
07750f5e1d Update docs/ABI/RegisterUsage.md
Co-Authored-By: Xiaodi Wu <xiaodi.wu@gmail.com>
2019-05-31 06:15:07 +01:00
John Holdsworth
1ccb603b66 Update docs/ABI/RegisterUsage.md
Co-Authored-By: Xiaodi Wu <xiaodi.wu@gmail.com>
2019-05-31 06:14:56 +01:00
John Holdsworth
4d8e052139 Update docs/ABIStabilityManifesto.md
Co-Authored-By: Xiaodi Wu <xiaodi.wu@gmail.com>
2019-05-31 06:14:45 +01:00
swift-ci
b794cf0c85 Merge pull request #25143 from eeckstein/doc-update 2019-05-30 11:57:28 -07:00
Erik Eckstein
f10c33dcb7 docs: add info to DebuggingTheCompiler on how to identify an optimizer bug. 2019-05-30 10:39:02 -07:00
John Holdsworth
84bf2f541b Move document, I'll leave it as it is however. 2019-05-30 18:23:24 +01:00
Saleem Abdulrasool
8ddd9f63ff Merge pull request #25109 from apple/compnerd-I-C-U
Update WindowsBuild.md
2019-05-30 09:56:48 -07:00
John Holdsworth
fccb83d0a4 Rename ABI file 2019-05-30 09:32:24 +01:00
Doug Gregor
c02ecf9859 [SE-0258] Rename to Property Wrappers 2019-05-29 22:17:50 -07:00
John Holdsworth
bdeca02a0d More correct for Float values 2019-05-30 01:19:00 +01:00
John Holdsworth
691cae9539 Correct return registers 2019-05-29 23:52:15 +01:00
John Holdsworth
f8fea88a77 Version II 2019-05-29 23:11:26 +01:00
John Holdsworth
47538d50f2 Document ABI registers 2019-05-29 21:48:04 +01:00
Saleem Abdulrasool
28f864285c Update WindowsBuild.md
Update build rules to use ICU 64.2.  The CI is migrating to ICU 64.2 which is locally built to avoid spurious failures in the build due to download failures.
2019-05-29 09:57:22 -07:00
Slava Pestov
ec1b1a390a AST: Remove ASTContext::ExternalDefinitions
Anything added here has a type checked body now, so it no longer
serves any purpose.
2019-05-28 22:08:30 -04:00
Jonas Devlieghere
5fbab9ddaa [Docs] Fix headings in SIL.rst
Fixes "Title underline too short." warning which is treated as an error.
2019-05-22 17:04:18 -07:00
Arnold Schwaighofer
56924d4962 Document dynamic_function_ref and prev_dynamic_function_ref 2019-05-22 09:13:11 -07:00
0xflotus
ca3449568f Update ARCOptimization.rst (#24724)
* Update ARCOptimization.rst

* Update ARCOptimization.rst
2019-05-14 12:57:13 -07:00
Erik Eckstein
42c11868b6 docs: fix doc build error in LibraryEvolution.rst 2019-05-10 14:19:41 -07:00
Slava Pestov
73aba9b3ee Update LibraryEvolution.rst for new attribute names 2019-05-09 20:41:08 -04:00
Saleem Abdulrasool
671ae9494c Merge pull request #24514 from broadwaylamb/docs-concurrency
[Docs] Modernize Concurrency.rst
2019-05-09 17:24:11 -07:00
Jordan Rose
2bf9bfa584 [docs] Add "storytime" about function arguments vs. tuples (#24519)
As suggested by DaveZ. This was posted by me back on the review for
SE-0111, but it's become a useful post to reference for why Swift's
function arguments aren't just a tuple (in the language or in the
compiler).
2019-05-06 15:46:02 -07:00
Sergej Jaskiewicz
8454cbd17a [docs] Modernize Concurrency.rst
Edit code examples according to Swift API guidelines
2019-05-06 15:48:31 +03:00
Erik Eckstein
0d971eebfe IRGen: mangle conformance access paths with opaque result type as a root
Fixes a crash in IRGen

TODO: also fix the demangler/remangler part of this mangling change.
Currently it's not a problem because we never demangle such a symbol (it's even not round-trip checked in Mangler::verify).

rdar://problem/50405691
2019-05-02 17:19:20 -07:00
Saleem Abdulrasool
2e7c328077 Merge pull request #24168 from xiaobai/sink_component_arg
[CMake] Modify swift_install_in_component to support cmake install components
2019-04-30 21:06:32 -07:00
Erik Eckstein
2e01b0edeb SIL: add assign_by_delegate instruction
Used for property delegates.
2019-04-23 11:32:28 -07:00
Alex Langford
3d9a28925b [CMake] Modify swift_install_in_component to support cmake install components
CMake supports the notion of installation components. Right now we have some
custom code for supporting swift components. I think that for installation
purposes, it would be nice to use the CMake component system.

This should be a non-functional change. We should still only be generating
install rules for targets and files in components we want to install, and we
still use the install ninja target to install everything.
2019-04-19 14:06:11 -07:00
Saleem Abdulrasool
4421d47773 Merge pull request #24125 from apple/compnerd-WSL-no-more
Delete WindowsSubsystemForLinux.md
2019-04-18 17:08:10 -07:00
Saleem Abdulrasool
16a69aa14d Merge pull request #24126 from apple/compnerd-reduction
Update WindowsBuild.md
2019-04-18 16:56:24 -07:00
Saleem Abdulrasool
042047f6fc Update WindowsBuild.md
Clean up the Windows build steps to use `md` and `cd`, remove the unnecessary `pushd`, `popd`, directly invoke `ninja` rather than invoking it through `cmake`.
2019-04-18 09:35:03 -07:00
Saleem Abdulrasool
fff676ee43 Delete WindowsSubsystemForLinux.md
This is duplicated by the Linux rules.  The Windows Subsystem for Linux is not a unique environment, it is an Ubuntu environment running with a bridge into the NT kernel.  There is nothing to be done to support it, just follow the Linux rules.  The Windows documentation has been updated to point users to the Linux section.
2019-04-18 09:26:59 -07:00
Joe Groff
95c43f4e18 Decode opaque types in the runtime demangler. 2019-04-17 14:44:40 -07:00
Joe Groff
05dfec0cda Push the conformance accessor hack down into getTypeByMangledName. 2019-04-17 14:44:40 -07:00
Joe Groff
34620a9be0 IRGen: Use runtime calls to get opaque type metadata and conformances for associated types. 2019-04-17 14:44:40 -07:00
Joe Groff
42e1824a30 Mangle opaque result types. 2019-04-17 14:43:32 -07:00
Saleem Abdulrasool
efa6e85c3c Update WindowsBuild.md
Add single command path modifier for ease.  Fix llbuild path.
2019-04-16 15:04:00 -07:00
Slava Pestov
189a38dea4 Merge pull request #23985 from slavapestov/dynamic-self-thunks
SILGen: Fix function conversions involving DynamicSelfType
2019-04-15 07:42:48 -04:00
swift-ci
34afac0c5e Merge pull request #24029 from apple/compnerd-windows-improvements 2019-04-14 18:12:17 -07:00
Saleem Abdulrasool
b405cb54cf Update Windows.md
The windows port has come far enough along that we can now recommend building with MSVC on Windows.  This provides better debugging, faster builds, and better overall results.
2019-04-14 16:34:59 -07:00
Saleem Abdulrasool
0fe24127b3 Update WindowsBuild.md
The JScript engine is not always associated with `.js` files on Windows these days.  Explicitly specify the engine.
2019-04-14 15:09:28 -07:00
Slava Pestov
42e74f28c0 Demangle: Add node for reabstraction thunk capturing DynamicSelfType
Also, NodePrinter was printing the 'from' and 'to' type backwards,
so fix that.
2019-04-14 18:06:16 -04:00
Saleem Abdulrasool
7682fe1fd3 Update WindowsBuild.md
Update instructions to build swift bindings for llbuild.  Fix sqlite3 build rule.
2019-04-12 14:07:38 -07:00
Saleem Abdulrasool
7f9a32aed1 Update WindowsBuild.md
`XCTEST_PATH_TO_COREFOUNDATION_BUILD` is no longer needed/used.
2019-04-12 09:36:49 -07:00
Saleem Abdulrasool
d29aecadac Update WindowsBuild.md
Fix build rule for llbuild
2019-04-11 13:21:25 -07:00
Saleem Abdulrasool
44005ad186 Update WindowsBuild.md
Ensure that we document that `llbuild` requires a variable set to build since it does not use cross-compile friendly tools by default.
2019-04-10 16:21:22 -07:00
Saleem Abdulrasool
969b3cf25a Update WindowsBuild.md
Drop the GnuWin32 dependency, clean up the header.
2019-04-03 17:31:24 -07:00