mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -1865,6 +1865,11 @@ static llvm::GlobalObject *createForceImportThunk(IRGenModule &IGM) {
|
||||
}
|
||||
|
||||
void IRGenModule::emitAutolinkInfo() {
|
||||
if (getSILModule().getOptions().StopOptimizationAfterSerialization) {
|
||||
// We're asked to emit an empty IR module
|
||||
return;
|
||||
}
|
||||
|
||||
auto Autolink =
|
||||
AutolinkKind::create(TargetInfo, Triple, IRGen.Opts.LLVMLTOKind);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user