From 744772870cb0f2b7efb697a1af39e74cebd0d42f Mon Sep 17 00:00:00 2001 From: Vladislav Kalugin Date: Thu, 24 Aug 2023 14:56:27 +0300 Subject: [PATCH] fix --- lib/Module/KModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Module/KModule.cpp b/lib/Module/KModule.cpp index f73a9804ae8..75df8097ba8 100644 --- a/lib/Module/KModule.cpp +++ b/lib/Module/KModule.cpp @@ -388,8 +388,8 @@ void KModule::manifest(InterpreterHandler *ih, std::unique_ptr assemblyFS; if (OutputSource || forceSourceOutput) { assemblyFS = ih->openOutputFile("assembly.ll"); + asmLineMap = buildInstructionToLineMap(*module, std::move(assemblyFS)); } - asmLineMap = buildInstructionToLineMap(*module, std::move(assemblyFS)); // infos = std::make_unique(*module); }