Skip to content

Commit 15a75a9

Browse files
Merge pull request #7677 from adrian-prantl/cherry-pick-next-Remove-hardcoded-DWARF-version-and-let-IRGen-derive-it-from-the-triple
Remove hardcoded DWARF version and let IRGen derive it from the triple.
2 parents ac48afc + 66e2ecd commit 15a75a9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include "swift/AST/Type.h"
3535
#include "swift/AST/Types.h"
3636
#include "swift/ASTSectionImporter/ASTSectionImporter.h"
37-
#include "swift/Basic/Dwarf.h"
3837
#include "swift/Basic/LLVM.h"
3938
#include "swift/Basic/LangOptions.h"
4039
#include "swift/Basic/Located.h"
@@ -985,7 +984,6 @@ SwiftASTContext::SwiftASTContext(std::string description,
985984
m_compiler_invocation_ap->getIRGenOptions();
986985
ir_gen_opts.OutputKind = swift::IRGenOutputKind::Module;
987986
ir_gen_opts.UseJIT = true;
988-
ir_gen_opts.DWARFVersion = swift::DWARFVersion;
989987
// Allow deserializing @_implementationOnly dependencies
990988
// to avoid crashing due to module recovery issues.
991989
swift::LangOptions &lang_opts = m_compiler_invocation_ap->getLangOptions();

0 commit comments

Comments
 (0)