summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms/Utils/DebugifyTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/Transforms/Utils/DebugifyTest.cpp')
-rw-r--r--llvm/unittests/Transforms/Utils/DebugifyTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Transforms/Utils/DebugifyTest.cpp b/llvm/unittests/Transforms/Utils/DebugifyTest.cpp
index 1ec9402b8aa9..89fa1334b427 100644
--- a/llvm/unittests/Transforms/Utils/DebugifyTest.cpp
+++ b/llvm/unittests/Transforms/Utils/DebugifyTest.cpp
@@ -61,7 +61,7 @@ struct DebugValueDrop : public FunctionPass {
if (auto *DVI = dyn_cast<DbgVariableIntrinsic>(&I))
Dbgs.push_back(DVI);
// If there are any non-intrinsic records (DPValues), drop those too.
- I.dropDbgValues();
+ I.dropDbgRecords();
}
}