Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
73472b6
commit d23b7f5
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters