[all-commits] [llvm/llvm-project] 60f406: [CodeExtractor] Only rewrite scope of non-inlined ...
Felipe de Azevedo Piovezan via All-commits
all-commits at lists.llvm.org
Sat Dec 10 11:38:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 60f406c4db5ba1ed6d66567ddaef4b86386496e1
https://github.com/llvm/llvm-project/commit/60f406c4db5ba1ed6d66567ddaef4b86386496e1
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2022-12-10 (Sat, 10 Dec 2022)
Changed paths:
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
M llvm/test/Transforms/HotColdSplit/transfer-debug-info.ll
Log Message:
-----------
[CodeExtractor] Only rewrite scope of non-inlined variables
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.
Differential Revision: https://reviews.llvm.org/D139669
More information about the All-commits
mailing list