From f6d9f000312bcabeafd305c2925547e0012eaa52 Mon Sep 17 00:00:00 2001 From: Vladislav Dzhidzhoev Date: Tue, 2 Aug 2022 20:18:47 +0300 Subject: [PATCH] [DebugInfo] Test commit: update irrelevant comments Differential Revision: https://reviews.llvm.org/D130998 --- llvm/include/llvm/Transforms/Utils/Local.h | 1 - llvm/lib/Transforms/Utils/Local.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/Transforms/Utils/Local.h b/llvm/include/llvm/Transforms/Utils/Local.h index 946fc84..4db697c 100644 --- a/llvm/include/llvm/Transforms/Utils/Local.h +++ b/llvm/include/llvm/Transforms/Utils/Local.h @@ -286,7 +286,6 @@ void salvageDebugInfo(Instruction &I); /// Implementation of salvageDebugInfo, applying only to instructions in /// \p Insns, rather than all debug users from findDbgUsers( \p I). -/// Returns true if any debug users were updated. /// Mark undef if salvaging cannot be completed. void salvageDebugInfoForDbgValues(Instruction &I, ArrayRef Insns); diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp index 2f1d0c2..c5f7a37 100644 --- a/llvm/lib/Transforms/Utils/Local.cpp +++ b/llvm/lib/Transforms/Utils/Local.cpp @@ -1735,8 +1735,8 @@ void llvm::replaceDbgValueForAlloca(AllocaInst *AI, Value *NewAllocaAddress, replaceOneDbgValueForAlloca(DVI, NewAllocaAddress, Builder, Offset); } -/// Where possible to salvage debug information for \p I do so -/// and return True. If not possible mark undef and return False. +/// Where possible to salvage debug information for \p I do so. +/// If not possible mark undef. void llvm::salvageDebugInfo(Instruction &I) { SmallVector DbgUsers; findDbgUsers(DbgUsers, &I); -- 2.7.4