[Frontend] In performFrontend() drop self-assignment of IRGenOpts.DWARFVersion (NFC)

This commit is contained in:
Stefan Gränitz
2023-12-01 16:48:18 +01:00
parent 8167476613
commit ec8cbd4cf9

View File

@@ -2253,10 +2253,6 @@ int swift::performFrontend(ArrayRef<const char *> Args,
trace.emplace(*buffer);
});
// Setting DWARF Version based on frontend options.
IRGenOptions &IRGenOpts = Invocation.getIRGenOptions();
IRGenOpts.DWARFVersion = IRGenOpts.DWARFVersion;
// The compiler invocation is now fully configured; notify our observer.
if (observer) {
observer->parsedArgs(Invocation);