[llvm] [RemoveDIs][DebugInfo] Handle DPVAssign in most transforms (PR #78986)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 23 07:19:25 PST 2024
================
@@ -1594,6 +1594,10 @@ static void fixupDebugInfoPostExtraction(Function &OldFunc, Function &NewFunc,
DPVsToDelete.push_back(&DPV);
continue;
}
+ if (DPV.isDbgAssign() && IsInvalidLocation(DPV.getAddress())) {
+ DPVsToDelete.push_back(&DPV);
+ continue;
+ }
----------------
OCHyams wrote:
there's a comment a few lines up that needs deleting `// FIXME: support dbg.assign form of DPValues.`
https://github.com/llvm/llvm-project/pull/78986
More information about the llvm-commits
mailing list