Skip to content

Commit 3b36460

Browse files
authored
---
yaml --- r: 315118 b: refs/heads/master-next c: 44af3a9 h: refs/heads/master
1 parent 99d3e67 commit 3b36460

File tree

206 files changed

+8774
-7730
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+8774
-7730
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 3fe9333052029c114ef816ea805c335eb1ee8a99
3-
refs/heads/master-next: e6bc3e7adf9e49004aa5c815b610fc0e6f2fe52c
3+
refs/heads/master-next: 44af3a9398914ef8bdb92eea37d235a92be60925
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/docs/SIL.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4879,7 +4879,7 @@ convert_escape_to_noescape
48794879
// (see convert_function)
48804880
// %1 will be of the trivial type $@noescape T -> U
48814881

4882-
Converts an escaping (non-trivial) function type to an ``@noescape`` trivial
4882+
Converts an escaping (non-trivial) function type to a ``@noescape`` trivial
48834883
function type. Something must guarantee the lifetime of the input ``%0`` for the
48844884
duration of the use ``%1``.
48854885

branches/master-next/docs/libFuzzerIntegration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ the ``main`` symbol, such that the fuzzer entry point can be used:
1919

2020
.. code-block:: bash
2121
22-
% swiftc -sanitize=fuzzer myfile.swift
22+
% swiftc -sanitize=fuzzer -parse-as-library myfile.swift
2323
2424
``libFuzzer`` can be also combined with other sanitizers:
2525

2626
.. code-block:: bash
2727
28-
% swiftc -sanitize=fuzzer,address myfile.swift
28+
% swiftc -sanitize=fuzzer,address -parse-as-library myfile.swift
2929
3030
Finally, we launch the fuzzing process:
3131

branches/master-next/include/swift/AST/ASTContext.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,10 @@ class ASTContext final {
639639
/// \param isClang \c true if this module loader is responsible for loading
640640
/// Clang modules, which are special-cased in some parts of the
641641
/// compiler.
642+
/// \param isDWARF \c true if this module loader can load Clang modules
643+
/// from DWARF.
642644
void addModuleLoader(std::unique_ptr<ModuleLoader> loader,
643-
bool isClang = false);
645+
bool isClang = false, bool isDWARF = false);
644646

645647
/// Load extensions to the given nominal type from the external
646648
/// module loaders.
@@ -683,6 +685,12 @@ class ASTContext final {
683685
/// The loader is owned by the AST context.
684686
ClangModuleLoader *getClangModuleLoader() const;
685687

688+
/// Retrieve the DWARF module loader for this ASTContext.
689+
///
690+
/// If there is no Clang module loader, returns a null pointer.
691+
/// The loader is owned by the AST context.
692+
ClangModuleLoader *getDWARFModuleLoader() const;
693+
686694
/// Asks every module loader to verify the ASTs it has loaded.
687695
///
688696
/// Does nothing in non-asserts (NDEBUG) builds.

0 commit comments

Comments
 (0)