practicalswift
6d1ae2a39c
[gardening] 2016 → 2017
2017-01-06 16:41:22 +01:00
Erik Eckstein
9e929eb965
sil-func-extractor: Handle new mangling prefix
2016-12-13 11:01:58 -08:00
Michael Gottesman
9dd7074d96
[sil-func-extractor] Rather than manually creating a pass manager just to run DFE, just
...
add a high level API to perform the operation.
2016-12-12 09:16:04 -08:00
practicalswift
422f464948
[gardening] Improve header consistency.
2016-12-09 21:45:39 +01:00
Michael Gottesman
6a5f54e59f
[sil-func-extractor] Add support for reading from a file a list of functions to preserve.
...
This will allow for greater scriptability.
2016-12-08 19:49:59 -08:00
Michael Gottesman
1182426580
[gardening] Eliminate a level of indentation by swapping an if condition.
2016-12-08 19:49:59 -08:00
Michael Gottesman
72c7f5ab01
[gardening] Remove unnecessary template arg.
2016-12-08 19:49:59 -08:00
Michael Gottesman
c12aeabd90
[sil-func-extractor] Add support for emitting sib files.
2016-12-08 18:29:33 -08:00
Michael Gottesman
8972b43abb
[sil-tooling] Rename sil-sort-output => emit-sorted-sil.
...
This standardizes on the name used for the same option in swiftc.
2016-12-08 18:29:33 -08:00
Michael Gottesman
0bfda96ace
[sil-func-extractor] Teach sil-extract to extract a list of functions and the inverse of a list of functions. Also rename to sil-func-extractor to make it clearer what it is doing.
...
This will allow for modules to be split from the command line using a script.
The one thing that is missing from this still is that it does not handle shared
functions in IMO a satisfactory way. Given that we are splitting a module, my
feeling that the correct way to do this is to create a public shim for the
shared function in the module that the shared function gets put in and let all
other users use that entry point.
But I need to think about this a bit more.
2016-12-08 18:29:33 -08:00