Revert "Revert "Make the DWARF version emitted by the Swift compiler configurable.""

This commit is contained in:
Adrian Prantl
2023-10-26 12:29:18 -07:00
committed by GitHub
parent 7afa4cfdc6
commit 5d978b44ca
19 changed files with 104 additions and 69 deletions

View File

@@ -125,6 +125,9 @@ public:
/// What kind of debug info to generate.
IRGenDebugInfoFormat DebugInfoFormat = IRGenDebugInfoFormat::None;
/// DWARF output format version number.
std::optional<uint8_t> DWARFVersion;
/// Whether or not the driver should generate a module.
bool ShouldGenerateModule = false;