Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from apple:master #23

Merged
merged 75 commits into from
Jun 16, 2020
Merged

[pull] master from apple:master #23

merged 75 commits into from
Jun 16, 2020

Commits on May 29, 2020

  1. Configuration menu
    Copy the full SHA
    2a48e19 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f000639 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b05823 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    51c0024 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6ebf0d5 View commit details
    Browse the repository at this point in the history
  6. Run linux only test

    rockbruno committed May 29, 2020
    Configuration menu
    Copy the full SHA
    b50813a View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2020

  1. [CSSimplify] Modify logic on match representations to allow ONLY thic…

    …k to thin and thick to thick representations on subtype context
    LucianoPAlmeida committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    8f2f14b View commit details
    Browse the repository at this point in the history
  2. [tests] Adding silgen validation tests for SR-12723 to ensure that ce…

    …rtain representation convertions do not crash
    LucianoPAlmeida committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    bacbc57 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    baccbde View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d6bf34e View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2020

  1. Update tools/SourceKit/lib/SwiftLang/SwiftIndexing.cpp

    Co-authored-by: Xiaodi Wu <13952+xwu@users.noreply.github.com>
    rockbruno and xwu authored Jun 9, 2020
    Configuration menu
    Copy the full SHA
    346771f View commit details
    Browse the repository at this point in the history
  2. IRGen: Lookup the conformance of an archetype in the right substituti…

    …on map when computing necessary bindings of abstract cnditional requirements
    
    SR-12853
    aschwaighofer committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    2b47815 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2020

  1. Configuration menu
    Copy the full SHA
    adba283 View commit details
    Browse the repository at this point in the history
  2. Address review feedback

    aschwaighofer committed Jun 10, 2020
    Configuration menu
    Copy the full SHA
    478e13b View commit details
    Browse the repository at this point in the history
  3. gyb: use a stable hash for Syntax

    This changes the hash from the Python `hash` function to SHA1.  Python 3
    adopted SIP as the hashing algorithm which changed the hash results.  We
    could no longer use a different python interpreter across the builds.  A
    stable hashing algorithm allows easier migration.
    compnerd committed Jun 10, 2020
    Configuration menu
    Copy the full SHA
    ea8c9b8 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2020

  1. Configuration menu
    Copy the full SHA
    8a2bfb0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    632b5ce View commit details
    Browse the repository at this point in the history
  3. [test/Syntax/round_trip_stdlib.swift] Exclude the test for an ASAN build

    It is too slow, rdar://64215520
    akyrtzi committed Jun 11, 2020
    Configuration menu
    Copy the full SHA
    0fc6a94 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    addb432 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2020

  1. Configuration menu
    Copy the full SHA
    384c373 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7b3e37 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0c33206 View commit details
    Browse the repository at this point in the history
  4. Update WindowsBuild.md

    Explicitly use the path to pyhon2.7 (although the tool can support python 3.x, the path is much much unwieldy as `"C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe"`
    compnerd authored Jun 12, 2020
    Configuration menu
    Copy the full SHA
    8e832b6 View commit details
    Browse the repository at this point in the history
  5. [Test] Exclude environment_variables.swift from testing against the O…

    …S stdlib.
    
    rdar://problem/64301166
    mikeash committed Jun 12, 2020
    Configuration menu
    Copy the full SHA
    306cb0d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1d53362 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    22006e3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2b5059c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    20dbe3f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    36dfd0d View commit details
    Browse the repository at this point in the history
  11. IRGen: Don't reify internal vtable entries that are marked overridden.

    Private and internal classes shouldn't have ABI constraints on their concrete vtable layout, so if methods
    don't have overrides in practice, we can elide their vtable entries.
    jckarter committed Jun 12, 2020
    Configuration menu
    Copy the full SHA
    04c8f0d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b2e8a60 View commit details
    Browse the repository at this point in the history
  13. [cxx-interop] Add support for percent, ampersand, and pipe operators. (

    …#32332)
    
    Adds support for three more basic infix operators: `%`, `&`, and `|`.
    
    Co-authored-by: Michael Forster <forster@google.com>
    zoecarver and MForster authored Jun 12, 2020
    Configuration menu
    Copy the full SHA
    71d2c37 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4024e5a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    0d57f3b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5ec7cb7 View commit details
    Browse the repository at this point in the history
  17. Merge pull request #32337 from LucianoPAlmeida/SR-12955-avoid-error-t…

    …ype-diag
    
    [SR-12955] [Sema] Don't diagnose invalid conversion if fnType has error
    LucianoPAlmeida authored Jun 12, 2020
    Configuration menu
    Copy the full SHA
    55e2506 View commit details
    Browse the repository at this point in the history
  18. Merge pull request #32346 from apple/compnerd-python-path

    Update WindowsBuild.md
    CodaFi authored Jun 12, 2020
    Configuration menu
    Copy the full SHA
    08ad103 View commit details
    Browse the repository at this point in the history
  19. Merge pull request #32353 from compnerd/vars

    build: remove unnecessary variable (NFC)
    compnerd authored Jun 12, 2020
    Configuration menu
    Copy the full SHA
    6ac810c View commit details
    Browse the repository at this point in the history
  20. Merge pull request #32329 from jckarter/drop-internal-nonoverridden-v…

    …table-entries
    
    IRGen: Don't reify internal vtable entries that are marked non-overridden.
    jckarter authored Jun 12, 2020
    Configuration menu
    Copy the full SHA
    a7f9d99 View commit details
    Browse the repository at this point in the history
  21. Merge pull request #32292 from compnerd/syntax-hashing

    gyb: use a stable hash for Syntax
    akyrtzi authored Jun 12, 2020
    Configuration menu
    Copy the full SHA
    c5d7611 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2020

  1. [Gardening] Ignored Package.resolved for swift-inspect.

    When running build-script with --swift-inspect, the Package.resolved
    file is created in tools/swift-inspect.  Ignore it.
    nate-chandler committed Jun 13, 2020
    Configuration menu
    Copy the full SHA
    2efde25 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #32358 from gottesmm/pr-207b6298d38859b0b850fb9fa9…

    …276374405140f3
    
    [build-script] llvm-dsymutil's component is dsymutil.
    gottesmm authored Jun 13, 2020
    Configuration menu
    Copy the full SHA
    def6e24 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #32341 from gottesmm/pr-2f5315e6db5c454c6021990aa5…

    …5528e7ec1c27c2
    
    [build-script] Print out inferred products/build order when --verbose-build is enabled.
    gottesmm authored Jun 13, 2020
    Configuration menu
    Copy the full SHA
    318e199 View commit details
    Browse the repository at this point in the history
  4. Fix the hardcoded Swift AST section / segment name for Mach-O

    to match the one specified in LLVM's Mach-O parser.
    Otherwise LLDB could not possibly find it!
    
    This name is used by the swift -modulewrap subcommand, which is currently unused
    on Darwin, and primarily intended for use under Linux. However, it may be useful
    to better support static archives (.a) files with Swift debug info in the
    future. To fully support this, dsymutil and LLDB need to know to look for Swift
    AST sections in Mach-O objects other than .dSYM bundled.
    
    Implementation note: It would be nice to get the section name out of libObject,
    but with the current architecture this needs a major refactoring that didn't
    seem justified, given that there is an end-to-end test to prevent such a mishap
    in the future.
    
    <rdar://problem/63991514>
    adrian-prantl committed Jun 13, 2020
    Configuration menu
    Copy the full SHA
    f20d567 View commit details
    Browse the repository at this point in the history
  5. [test] Handle architecture aliasing for OpenBSD.

    Swift calls the architecture x86_64, OpenBSD calls it amd64. If we use
    run_cpu in lit.cfg as-is, then we may need to duplicate lines in each
    test for 'x86_64' and 'amd64', which puts a maintenance burden on unit
    test developers to ensure they are duplicating changes to each line.
    
    Instead, alias 'amd64' to 'x86_64' for `run_cpu`, but keep the platform
    module path referring to 'amd64', in order to distinguish the target
    architecture name and the Swift architecture name. This is particularly
    relevant for the %target-.*-name pseudovariables used, which should
    reference the Swift architecture names.
    
    However, some unit tests are directly referencing %target-cpu directly,
    which would break the aliasing. This is done only for swiftinterface
    files, so a new substitution is defined in lit.cfg for these variables,
    and the affected unit test cases are migrated.
    3405691582 committed Jun 13, 2020
    Configuration menu
    Copy the full SHA
    c8ba437 View commit details
    Browse the repository at this point in the history
  6. [CS] Update splice logic in simplifyLocator to handle situations wher…

    …e the index expression isn't a tuple or paren expression (#32356)
    theblixguy authored Jun 13, 2020
    Configuration menu
    Copy the full SHA
    1564377 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #32327 from akyrtzi/exclude-round_trip_stdlib-asan

    [test/Syntax/round_trip_stdlib.swift] Exclude the test for an ASAN build
    akyrtzi authored Jun 13, 2020
    Configuration menu
    Copy the full SHA
    8cb1331 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #32350 from compnerd/vim-syntax

    vim: improve syntax highlighting rules
    compnerd authored Jun 13, 2020
    Configuration menu
    Copy the full SHA
    16c9c00 View commit details
    Browse the repository at this point in the history
  9. CS node->type map requires ordering because it can be partially undone,

    but Solution node->type map is all or nothing, so can be cheaper.
    gregomni committed Jun 13, 2020
    Configuration menu
    Copy the full SHA
    1484360 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2020

  1. [Runtime] Zero out the entire witness table during instantiation.

    During witness table instantiation, the witness table is constructed
    several sources: the pattern, the resilient witnesses, the private
    data, and default implementations. The private data area is the only
    one that was being zeroed out; the rest we rely on always filling in
    the data from the conformance descriptor and provided info.
    
    However, witness table instantiation uses the presence of a NULL
    pointer for a particular witness in the resulting table to indicate
    that no witness fulfilled that requirement, so that it can fill in the
    default witnesss. Except that, without zeroing that part of the table
    beforehand, we aren't guaranteed to have a NULL pointer for witness
    entries that the client (protocol conformance) did not know about at
    the time it was compiled.
    
    Zero out the entire witness table so default implementations can be
    filled in appropriately.
    
    Fixes rdar://problem/64295849.
    DougGregor committed Jun 14, 2020
    Configuration menu
    Copy the full SHA
    7d7a35e View commit details
    Browse the repository at this point in the history
  2. Update WindowsBuild.md

    The CI is switching to ICU 67 since there are fixes in the latter version of ICU that are needed.  This should be further improved in the future to possibly use the the unicode.org releases.
    compnerd authored Jun 14, 2020
    Configuration menu
    Copy the full SHA
    8bfaba7 View commit details
    Browse the repository at this point in the history
  3. reland: Emit coverage mappings for all modules

    This reverts commit 499ed05.
    
    This changes the num-threads passed to 1 to avoid a multithreaded output
    issue on windows
    keith committed Jun 14, 2020
    Configuration menu
    Copy the full SHA
    76ca05f View commit details
    Browse the repository at this point in the history
  4. build: do not assume that XML2 should be enabled

    Allow user control over libxml2 usage via `LLVM_ENABLE_LIBXML2` rather
    than assuming that if it is found, it should be enabled.
    compnerd committed Jun 14, 2020
    Configuration menu
    Copy the full SHA
    e57d375 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2020

  1. Merge pull request #32367 from DougGregor/witness-table-instantiation…

    …-default-zeroing
    
    [Runtime] Zero out the entire witness table during instantiation.
    DougGregor authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    26f7823 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #32365 from gregomni/solution-node-map

    [Sema] Solution nodeTypes from MapVector to DenseMap.
    xedin authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    77d0919 View commit details
    Browse the repository at this point in the history
  3. [CSSimplify] Adjusting naming and comments of method that validates r…

    …epresentation conversions.
    LucianoPAlmeida committed Jun 15, 2020
    Configuration menu
    Copy the full SHA
    da53129 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #32377 from apple/compnerd-ICU-67

    Update WindowsBuild.md
    compnerd authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    3455ba9 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #32379 from compnerd/xml2-control

    build: do not assume that XML2 should be enabled
    compnerd authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    a666d32 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #32360 from nate-chandler/gardening/ignore-swift-i…

    …npect-products
    
    [Gardening] Ignored Package.resolved for swift-inspect.
    nate-chandler authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    e2a20ab View commit details
    Browse the repository at this point in the history
  7. Merge pull request #32319 from meg-gupta/onfastpath

    Ignore onFastPath builtin while looking for valid static initializer of a global variable
    meg-gupta authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    4d705ab View commit details
    Browse the repository at this point in the history
  8. Merge pull request #32277 from aschwaighofer/irgen_fix_addAbstractCon…

    …ditionalRequirements
    
    IRGen: Lookup the conformance of an archetype in the right substitution map when computing necessary bindings of abstract cnditional requirements
    aschwaighofer authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    4849947 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #32352 from keith/ks/reland-emit-coverage-mappings…

    …-for-all-modules
    
    reland: Emit coverage mappings for all modules
    compnerd authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    73d8419 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #32363 from 3405691582/Test_OpenBSD_ArchAliasing

    [test] Handle architecture aliasing for OpenBSD.
    compnerd authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    2a377bc View commit details
    Browse the repository at this point in the history
  11. [NameLookup] Ensure extensions are updated after module load

    Call prepareExtensions to make sure we load in any
    new extensions brought in by modules loaded
    after-the-fact. This isn't an issue for normal
    compilations as we load all the modules up-front
    in import resolution, but clients such as the
    LLDB REPL may load in modules later.
    
    Resolves rdar://64040436.
    hamishknight committed Jun 15, 2020
    Configuration menu
    Copy the full SHA
    4b1ffa5 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #32362 from adrian-prantl/63991514

    Fix the hardcoded Swift AST section / segment name for Mach-O
    adrian-prantl authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    403b2bf View commit details
    Browse the repository at this point in the history
  13. Merge pull request #31942 from rockbruno/allelementsmatter

    [SourceKit][SR-12837] Add effective access level of references
    Nathan Hawes authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    47554c1 View commit details
    Browse the repository at this point in the history
  14. [Test] Version cleanup

    DougGregor committed Jun 15, 2020
    Configuration menu
    Copy the full SHA
    80e2b48 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f155ce8 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8573d70 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2020

  1. Merge pull request #31814 from LucianoPAlmeida/SR-12723-conventions

    [SR-12723][Sema] Validate function type param representations thick-to-thin conversions
    LucianoPAlmeida authored Jun 16, 2020
    Configuration menu
    Copy the full SHA
    d22821e View commit details
    Browse the repository at this point in the history
  2. [AutoDiff] Disable flaky tests on Linux. (#32394)

    Disable tests that occasionally flake on Linux.
    
    SR-13021 tracks re-enabling these tests.
    dan-zheng authored Jun 16, 2020
    Configuration menu
    Copy the full SHA
    542721b View commit details
    Browse the repository at this point in the history
  3. [Basic] Revise version printing

    Now that we use the LLVM mono-repo, we don't need to worry about clang's
    version number. Also, git has the ability to estimate the safe number of
    digits a hash can be truncated to and now git estimates that large
    projects like LLVM and Linux "require" 12 digits for safe commit hash
    abbreviation. Let's stay a little ahead of the curve and statically
    truncate to 15.
    davezarzycki committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    aefeab8 View commit details
    Browse the repository at this point in the history
  4. [SIL] NFC: Fix -Wdeprecated-copy warnings

    The rule-of-zero is your friend. Also, switch to `class` and make the
    `value` private while we're touching these types.
    davezarzycki committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    ced3b39 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #32345 from davezarzycki/pr32345

    [Basic] Revise version printing
    davezarzycki authored Jun 16, 2020
    Configuration menu
    Copy the full SHA
    ba59ef5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ef1b5a8 View commit details
    Browse the repository at this point in the history