[Frontend] Add support for implicit import of _Backtracing

Once the API has gone through Swift Evolution, we will want to implicitly
import the _Backtracing module.  Add code to do that, but set it to off
by default for now.

rdar://105394140
This commit is contained in:
Alastair Houghton
2023-02-13 15:30:32 +00:00
parent a2fc8c3d69
commit 44783e72c6
22 changed files with 196 additions and 23 deletions

View File

@@ -250,7 +250,8 @@ int autolink_extract_main(ArrayRef<const char *> Args, const char *Argv0,
{"-lswiftCore", false},
{"-lswift_Concurrency", false},
{"-lswift_StringProcessing", false},
{"-lswift_RegexParser", false}
{"-lswift_RegexParser", false},
{"-lswift_Backtracing", false},
};
// Extract the linker flags from the objects.