Get rid of _stdlib_didEnterMain

Process arguments are now fetched per-platform
This commit is contained in:
Robert Widmann
2016-07-13 23:52:23 -07:00
parent 0586bc6a3d
commit fe00dc74ea
6 changed files with 18 additions and 52 deletions

View File

@@ -34,8 +34,10 @@ namespace swift {
namespace immediate {
// Returns a handle to the runtime suitable for other 'dlsym' or 'dlclose'
// calls or 'NULL' if an error occurred.
/// Returns a handle to the runtime suitable for other \c dlsym or \c dlclose
/// calls or \c null if an error occurred.
///
/// \param runtimeLibPath Path to search for compiler-relative stdlib dylibs.
void *loadSwiftRuntime(StringRef runtimeLibPath);
bool tryLoadLibraries(ArrayRef<LinkLibrary> LinkLibraries,
SearchPathOptions SearchPathOpts,