From: Jorge Gorbe Moya Date: Tue, 30 May 2023 21:19:40 +0000 (-0700) Subject: [lldb] Fix build after Clang API change at rev 769d282d7292 X-Git-Tag: upstream/17.0.6~6763 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a79b0f9f1d8275b023bcd2bf1763b148d088ad97;p=platform%2Fupstream%2Fllvm.git [lldb] Fix build after Clang API change at rev 769d282d7292 --- diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp index 7895fc6..0af5de4 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp @@ -336,7 +336,7 @@ bool ClangModulesDeclVendorImpl::AddModule(const SourceModule &module, auto file = HS.lookupModuleMapFile(*dir, is_framework); if (!file) return error(); - if (!HS.loadModuleMapFile(file, is_system)) + if (!HS.loadModuleMapFile(*file, is_system)) return error(); } }