swift-ci
9092ac1caf
Merge remote-tracking branch 'origin/master' into master-next
2018-06-20 10:10:28 -07:00
Ellis Hoag
c93a5a5776
Add -debug-info-format=[dwarf|codeview] option ( #16888 )
2018-06-20 09:52:57 -07:00
David Ungar
8c2f733152
Address review comments.
2018-06-15 14:29:30 -07:00
David Ungar
43cad63742
clang-format
2018-06-15 11:18:16 -07:00
David Ungar
f626396f6d
Doxygenation.
2018-06-15 11:15:22 -07:00
David Ungar
37289f9bb3
Rename CollectedProvidedDeclarations to CollectedDeclarations
2018-06-15 11:15:22 -07:00
David Ungar
42576ab0d4
Constify argument to findNominalsAndOperators
2018-06-15 11:15:22 -07:00
David Ungar
a9d7ef18e1
Centralize string constants.
2018-06-15 11:15:22 -07:00
David Ungar
35fab64bac
Move outputing provides-top-level.
2018-06-15 11:15:22 -07:00
David Ungar
50c725e0bc
Preparing ReferenceDependencies for centralizing strings.
2018-06-15 11:15:22 -07:00
David Ungar
4c4e25f3d2
Added consts where helpful and deleted where not.
2018-06-15 11:15:22 -07:00
David Ungar
617b506dd4
const WIP
2018-06-15 11:15:22 -07:00
David Ungar
41f75ab324
Move helpers into the classes that use them.
2018-06-15 11:15:22 -07:00
David Ungar
44af96dc6d
Reorder functions to group members together.
2018-06-15 11:15:22 -07:00
David Ungar
cac9a9a907
Move class declarations to top of file, put CollectedProvidedDeclarations inside of ProvidesEmitter.
2018-06-15 11:15:22 -07:00
David Ungar
1f7c920854
Rename TableEntryTy per Jordan's advice.
2018-06-15 11:15:22 -07:00
David Ungar
11aa1f15bc
Shorted names of member fns of DependsEmitter.
2018-06-15 11:12:25 -07:00
David Ungar
d0affb24ad
Wrap depends emitters in a class.
2018-06-15 11:12:25 -07:00
David Ungar
16a1299f90
Move provides emitters into a class
2018-06-15 11:12:25 -07:00
David Ungar
5477b3987a
Aggregate the provided declatations into CollectedProvidedDeclarations.
2018-06-15 11:12:25 -07:00
David Ungar
c8130663d5
Move top-level emitting into a class, ReferenceDependenciesEmitter.
2018-06-15 11:12:25 -07:00
David Ungar
ebf8713c08
Break up emitReferenceDependencies to separate the file opening from emitting to a stream.
2018-06-15 11:12:25 -07:00
David Ungar
70005c10e5
Factor out file openning & error handling.
2018-06-15 11:12:25 -07:00
David Ungar
fe8ac4b2b2
Per Jordan, use raw_ostream instead of raw_fd_ostream.
2018-06-15 11:12:25 -07:00
David Ungar
44e5cd3bba
clang-format
2018-06-15 11:12:25 -07:00
David Ungar
abe7544c1a
Subdivide emitting a provides decl.
2018-06-15 11:12:25 -07:00
David Ungar
d53122f03a
clang-format
2018-06-15 11:12:25 -07:00
David Ungar
c4172183f0
Subdivide one more level down.
2018-06-15 11:12:25 -07:00
David Ungar
45c562b8e5
Split up emitReferenceDependencies into 3 steps: provides, depends, interfaceHash.
2018-06-15 11:12:25 -07:00
swift-ci
f71dc72e79
Merge remote-tracking branch 'origin/master' into master-next
2018-06-15 10:09:02 -07:00
Jordan Rose
8d43ec3ad7
Merge pull request #17087 from allevato/dwarf-command-line-flags
...
Make DWARF debug flag behavior match Clang.
2018-06-15 09:52:26 -07:00
swift-ci
088f3da114
Merge remote-tracking branch 'origin/master' into master-next
2018-06-14 21:29:12 -07:00
Slava Pestov
181d7a2eac
FrontendTool: Deterministic order when a normal declname has same spelling as special declname
2018-06-14 20:41:27 -07:00
Tony Allevato
88cffc13d3
Update indentation and %swiftc_driver usage.
2018-06-13 10:23:14 -07:00
swift-ci
3950edc9f6
Merge remote-tracking branch 'origin/master' into master-next
2018-06-12 17:49:25 -07:00
David Ungar
20d099d4ce
Remove now-unneeded argument from finishProcessing.
2018-06-12 16:37:04 -07:00
Bob Wilson
e1cbc560f9
[master-next] More changes to adapt to new LLVM flags in r334221
...
My previous change for this issue (033b884de6 ) did not fix all the
affected code. This gets the rest of them. Thanks for Jason Molenda
for helping with this. rdar://problem/41025365
2018-06-12 14:55:40 -07:00
Tony Allevato
22ac700154
Make DWARF debug flag behavior match Clang.
...
Only write the compilation flags to debug info for Mach-O targets, and only
if the RC_DEBUG_OPTIONS environment variable is set.
2018-06-09 20:05:06 -07:00
Huon Wilson
4c2f5294de
[Frontend] Add a more descriptive error for a TBD validation failure.
2018-05-25 20:13:06 +10:00
Huon Wilson
ba150e9240
Merge pull request #16786 from huonw/tbdgen
...
More TBDGen: force-load, conformance witness details, test header clean-up, more purposeful handling of accessors.
2018-05-24 12:37:15 +10:00
Huon Wilson
cfc5abdaa2
[TBDGen] Emit the symbol for autolink-force-load-ing.
...
Fixes rdar://problem/40356032.
2018-05-23 10:56:49 +10:00
Huon Wilson
38e45c4be5
[TBDGen] Take options as a struct instead of arguments.
2018-05-23 00:02:15 +10:00
David Ungar
df4048c995
Clarify ownership of DepTracker.
2018-05-16 14:37:57 -07:00
David Ungar
21346419ca
Add a comment.
2018-05-16 09:52:18 -07:00
David Ungar
524d88e921
Pass SM in finishProcessing
2018-05-12 19:40:09 -07:00
David Ungar
8baef6abd5
WIP backup
2018-05-11 17:28:39 -07:00
David Ungar
70aecfef36
Emit error diagnostic for a primary if all errors suppressed
2018-05-11 15:14:42 -07:00
David Ungar
aa2f2eb239
Call forEachNonPrimaryInput directly instead of providing useless semantics for forEachInputNotProducingSupplementaryOutput.
2018-05-10 14:20:49 -07:00
David Ungar
4a194a924b
If type-checking in batch mode with no errors, don’t crash on outputting unneeded ObjCHeader.
2018-05-09 19:19:04 -07:00
David Ungar
02fcbf7226
optional pointer to consumer replaces NullDiagnosticConsumer placeholder
2018-05-09 18:09:40 -07:00