[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
parent
73472b6e
Please register or sign in to comment