Mishal Shah
6b33f225eb
Merge branch 'master' into master-next
2019-10-01 13:10:07 -07:00
Joe Groff
bce163608f
swift-reflection-dump: Mach-O binding list support
...
When resolving a pointer value in a Mach-O image, look through the binding list
to see if a symbol address will be added at a given location, and return
an unresolved `RemoteAbsolutePointer` with the symbol name if so.
2019-10-01 12:36:55 -07:00
Joe Groff
5d3ee68f9c
swift-reflection-dump: Base ObjectMemoryReader address space on image vm address.
...
As the base of the "remote" address space ObjectMemoryReader presents for an image, use the
image's own preferred VM address mappings. If there are multiple images loaded, differentiate
them by using the top 16 bits of the remote address space as an index into the array of images.
This should make it so that absolute pointers in the file Just Work without sliding in most
cases; we'd only need to mix in the image index in order to have a value that is also a valid
remote address.
2019-10-01 12:12:25 -07:00
Mishal Shah
2f86d67500
Merge pull request #27396 from shahmishal/master-rebranch
...
Update master to support apple/stable/20190619 branch for LLVM projects
2019-10-01 10:50:49 -07:00
swift-ci
5e50242b5e
Merge remote-tracking branch 'origin/master' into master-next
2019-09-30 16:09:53 -07:00
Joe Groff
b92c37e434
Merge branch 'master' into master-next
2019-09-30 15:43:57 -07:00
Robert Widmann
5a8d0744c3
[NFC] Adopt TypeBase-isms for GenericSignature
...
Structurally prevent a number of common anti-patterns involving generic
signatures by separating the interface into GenericSignature and the
implementation into GenericSignatureBase. In particular, this allows
the comparison operators to be deleted which forces callers to
canonicalize the signature or ask to compare pointers explicitly.
2019-09-30 14:04:36 -07:00
Joe Groff
0c1b5cbd9b
fix bad merge
2019-09-27 15:22:00 -07:00
Joe Groff
6f8b2bf698
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-27 14:37:21 -07:00
Joe Groff
12bf25e75d
Merge pull request #27388 from jckarter/reflection-remove-start-addresses
...
swift-reflection-dump: Virtualize logical-to-physical address mapping.
2019-09-27 14:09:22 -07:00
Saleem Abdulrasool
8db900634d
Revert "Fix parsing of ELF images"
...
This reverts commit e2b6a3d982 . This
broke on the handling of x86_64 relocation as well as the Windows build
process.
2019-09-27 08:14:32 -07:00
Harlan Haskins
d4247942c4
Merge remote-tracking branch 'upstream/master' into master-next
2019-09-26 20:19:25 -07:00
swift-ci
bba456904a
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-26 17:43:09 -07:00
Alexander Shaposhnikov
e2b6a3d982
Fix parsing of ELF images
2019-09-26 14:37:36 -07:00
Joe Groff
11b2c29125
swift-reflection-dump: Virtualize logical-to-physical address mapping.
...
Instead of copying the entire object file and moving around its sections to make an approximate
representation of its mapped state, use the memory-mapped buffer from `llvm::ObjectFile`, and
deal with non-contiguous logical mappings entirely in readBytes.
2019-09-26 14:28:43 -07:00
swift-ci
6945d6192d
Merge remote-tracking branch 'origin/master' into master-next
2019-09-26 09:29:43 -07:00
swift-ci
f809a8790c
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-26 09:25:07 -07:00
Jordan Rose
8ff1dac381
[AST] Break some header dependencies for faster rebuilds ( #27374 )
...
DiagnosticEngine.h no longer depends on Attr.h.
Expr.h no longer depends on TypeRepr.h.
No functionality change.
2019-09-26 09:17:10 -07:00
swift-ci
388697b23c
Merge remote-tracking branch 'origin/master' into master-next
2019-09-23 22:50:12 -07:00
swift-ci
ed72643d1b
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-23 22:44:27 -07:00
Robert Widmann
3e48f71b27
Merge pull request #27314 from CodaFi/an-interface-to-the-interface
...
Requestify getInterfaceType() in Name Only
2019-09-23 22:35:24 -07:00
Robert Widmann
1233cdf596
Update SourceKit for getInterfaceType() changes
2019-09-23 17:24:18 -07:00
Saleem Abdulrasool
3d965ae55c
Merge pull request #27305 from xiaobai/fix-build
...
Fix master-next build
2019-09-23 16:45:47 -07:00
swift-ci
49fe43b261
Merge remote-tracking branch 'origin/master' into master-next
2019-09-23 15:09:56 -07:00
swift-ci
59594cbadc
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-23 15:03:55 -07:00
Kyle Macomber
f086b9b94f
Update swift-stdlib-tool for Swift 5 ( #27276 )
2019-09-23 14:51:35 -07:00
Alex Langford
91675a6e67
Adjust for svn rL372278
...
The method MachOUniversalBinary::getObjectForArch had its return type altered. A
new method was added that accomplishes what we want:
MachOUniversalBinary::getMachOObjectForArch.
2019-09-23 14:05:47 -07:00
swift-ci
9d1d30b201
Merge remote-tracking branch 'origin/master' into master-next
2019-09-18 22:49:58 -07:00
swift-ci
40b3bd0899
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-18 22:43:11 -07:00
Rintaro Ishizaki
b09f87594a
Merge pull request #27230 from rintaro/syntaxparsse-rdar55421369
...
[SyntaxParse] Re-apply move-only ParsedRawSyntaxNode
2019-09-19 07:36:14 +02:00
swift-ci
8ce5b01307
Merge remote-tracking branch 'origin/master' into master-next
2019-09-18 15:09:47 -07:00
swift-ci
463b04648e
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-18 15:03:46 -07:00
Robert Widmann
38bde33067
Merge pull request #27172 from CodaFi/aliasing-artifacts-and-noise-reduction-techniques
...
Kill validateDeclForNameLookup Harder
2019-09-18 15:00:51 -07:00
swift-ci
c8df9251de
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-18 11:04:08 -07:00
swift-ci
dce64e93ee
Merge remote-tracking branch 'origin/master' into master-next
2019-09-18 10:49:47 -07:00
Nathan Hawes
4dac0d1e8b
Merge pull request #27218 from nathawes/r53958454-getFixedTypeRecursive-code-completion-crash
...
[code-completion] Remove special handling for completion on the RHS of an assignment
2019-09-18 10:49:38 -07:00
Nathan Hawes
54defbc7f7
[code-completion] Remove special handling for completion on the RHS of an assignment
...
This simplifies the code and prevents an assertion failure this code was
hitting computing the type relations between the result types and what it
determined as the expected type.
Resolves rdar://problem/53958454
2019-09-17 18:59:33 -07:00
Rintaro Ishizaki
9f642f0bc1
Revert "Merge pull request #27203 from CodaFi/movin-on-up"
...
This reverts commit 387d2a9aee , reversing
changes made to bf1ab6c29d .
2019-09-17 16:42:44 -07:00
Robert Widmann
d5c014b8e4
Remove validateDeclForNameLookup
...
Flush it and the early validation hack now that we can delay computing the underlying interface type on demand and have taught type resolution to honor the structural type of a typealias.
This changes the way requirement signatures are spelled as a side effect.
2019-09-17 08:49:03 -07:00
swift-ci
b71f094f77
Merge remote-tracking branch 'origin/master' into master-next
2019-09-16 18:29:18 -07:00
swift-ci
b62b6fbd91
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-16 18:23:59 -07:00
Xi Ge
73871aa3b5
Merge pull request #27200 from nkcsgexi/debug-flag
...
ABI/API checker: move node mapping information from under -v to under -debug. NFC
2019-09-16 18:10:47 -07:00
swift-ci
44d37fa038
Merge remote-tracking branch 'origin/master' into master-next
2019-09-16 15:49:59 -07:00
swift-ci
089c3adf33
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-16 15:43:57 -07:00
Xi Ge
8912ef9fd0
ABI/API checker: move node mapping information from under -v to under -debug. NFC
2019-09-16 15:30:02 -07:00
Robert Widmann
d8aaf29617
Revert "Merge pull request #27132 from rintaro/syntaxparse-parsedrawsyntax-moveonly"
...
This reverts commit e675c4947d , reversing
changes made to 73315ba01e .
2019-09-16 15:10:33 -07:00
swift-ci
92ded9a364
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-13 16:24:29 -07:00
swift-ci
c78de56a8d
Merge remote-tracking branch 'origin/master' into master-next
2019-09-13 16:09:33 -07:00
Rintaro Ishizaki
e675c4947d
Merge pull request #27132 from rintaro/syntaxparse-parsedrawsyntax-moveonly
...
[SyntaxParse] Prevent memory leak in Syntax parsing
2019-09-14 01:06:15 +02:00
swift-ci
1b531a3491
Merge remote-tracking branch 'origin/master' into master-next
2019-09-13 11:50:18 -07:00