[all-commits] [llvm/llvm-project] d23b7f: [CodeExtractor] Preserve entire scope of !DIVariab...
Felipe de Azevedo Piovezan via All-commits
all-commits at lists.llvm.org
Mon Dec 12 07:21:00 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d23b7f5f9f4adf1f12c268771055ba1c8ce6e01b
https://github.com/llvm/llvm-project/commit/d23b7f5f9f4adf1f12c268771055ba1c8ce6e01b
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2022-12-12 (Mon, 12 Dec 2022)
Changed paths:
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
M llvm/test/Transforms/HotColdSplit/transfer-debug-info.ll
Log Message:
-----------
[CodeExtractor] Preserve entire scope of !DIVariables when moving them
When a dbg.value is moved into a new function, the corresponding
variable should have its entire scope chain reparented with the new
function. The current implementation drops the scope chain and replaces
it with a subprogram for the new function.
Differential Revision: https://reviews.llvm.org/D139671
More information about the All-commits
mailing list