forked from OSchip/llvm-project
[DebugInfo] Test commit: update irrelevant comments
Differential Revision: https://reviews.llvm.org/D130998
This commit is contained in:
parent
d735307aa2
commit
f6d9f00031
|
@ -286,7 +286,6 @@ void salvageDebugInfo(Instruction &I);
|
||||||
|
|
||||||
/// Implementation of salvageDebugInfo, applying only to instructions in
|
/// Implementation of salvageDebugInfo, applying only to instructions in
|
||||||
/// \p Insns, rather than all debug users from findDbgUsers( \p I).
|
/// \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.
|
/// Mark undef if salvaging cannot be completed.
|
||||||
void salvageDebugInfoForDbgValues(Instruction &I,
|
void salvageDebugInfoForDbgValues(Instruction &I,
|
||||||
ArrayRef<DbgVariableIntrinsic *> Insns);
|
ArrayRef<DbgVariableIntrinsic *> Insns);
|
||||||
|
|
|
@ -1735,8 +1735,8 @@ void llvm::replaceDbgValueForAlloca(AllocaInst *AI, Value *NewAllocaAddress,
|
||||||
replaceOneDbgValueForAlloca(DVI, NewAllocaAddress, Builder, Offset);
|
replaceOneDbgValueForAlloca(DVI, NewAllocaAddress, Builder, Offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Where possible to salvage debug information for \p I do so
|
/// Where possible to salvage debug information for \p I do so.
|
||||||
/// and return True. If not possible mark undef and return False.
|
/// If not possible mark undef.
|
||||||
void llvm::salvageDebugInfo(Instruction &I) {
|
void llvm::salvageDebugInfo(Instruction &I) {
|
||||||
SmallVector<DbgVariableIntrinsic *, 1> DbgUsers;
|
SmallVector<DbgVariableIntrinsic *, 1> DbgUsers;
|
||||||
findDbgUsers(DbgUsers, &I);
|
findDbgUsers(DbgUsers, &I);
|
||||||
|
|
Loading…
Reference in New Issue