Skip to content

Commit 4df7c76

Browse files
Merge pull request #7668 from adrian-prantl/dwarf-version-lldb
Remove hardcoded DWARF version and let IRGen derive it from the triple.
2 parents 6177621 + 733b63d commit 4df7c76

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"
@@ -979,7 +978,6 @@ SwiftASTContext::SwiftASTContext(std::string description,
979978
m_compiler_invocation_ap->getIRGenOptions();
980979
ir_gen_opts.OutputKind = swift::IRGenOutputKind::Module;
981980
ir_gen_opts.UseJIT = true;
982-
ir_gen_opts.DWARFVersion = swift::DWARFVersion;
983981
// Allow deserializing @_implementationOnly dependencies
984982
// to avoid crashing due to module recovery issues.
985983
swift::LangOptions &lang_opts = m_compiler_invocation_ap->getLangOptions();

0 commit comments

Comments
 (0)