When a dbg.value instruction for a variable V is extracted into a new
function, the scope of the underlying variable should be set to the new
function iff V was in the scope of the old function (i.e. it hadn't been
inlined). Prior to this patch, the code extractor would always update
the scope of V.
Details
Details
- Reviewers
aprantl - Group Reviewers
debug-info - Commits
- rG60f406c4db5b: [CodeExtractor] Only rewrite scope of non-inlined variables
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo