aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorVladislav Dzhidzhoev <vdzhidzhoev@accesssoftek.com>2025-09-23 19:44:34 +0200
committerGitHub <noreply@github.com>2025-09-23 19:44:34 +0200
commit310811af6de889292aa8253af23362c3b70d99aa (patch)
tree06882c821e2e132408ef9ad501073bba0a1d3b8b /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentd0eef22171096069fe4f6103b303bc5313c76fe7 (diff)
downloadllvm-310811af6de889292aa8253af23362c3b70d99aa.zip
llvm-310811af6de889292aa8253af23362c3b70d99aa.tar.gz
llvm-310811af6de889292aa8253af23362c3b70d99aa.tar.bz2
Revert "[DebugInfo][DwarfDebug] Separate creation and population of abstract subprogram DIEs" (#160349)
Reverts llvm/llvm-project#159104 due to the issues reported in https://github.com/llvm/llvm-project/issues/160197.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugVariables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp
index 001ba52..84e9f03 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.cpp
+++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp
@@ -1263,7 +1263,7 @@ void UserValue::computeIntervals(MachineRegisterInfo &MRI,
void LiveDebugVariables::LDVImpl::computeIntervals() {
LexicalScopes LS;
- LS.scanFunction(*MF);
+ LS.initialize(*MF);
for (const auto &UV : userValues) {
UV->computeIntervals(MF->getRegInfo(), *TRI, *LIS, LS);