Skip to content

Commit 6b4a1f2

Browse files
authored
[NFC][AsmPrinter] Refactor constructVariableDIE (#66435)
Fold constructVariableDIEImpl into constructVariableDIE, simplify it and group related functions. Pull out the previously inline lambdas for visiting the active variant of the DbgVariable to add location and related attributes as an overload set for a private method applyConcreteDbgVariableAttributes. Rename applyVariableAttribute to reflect what kinds of attributes it applies, and to contrast it with the new applyConcreteDbgVariableAttributes. Move constructLabelDIE down in the implementation file, so all of the constructVariableDIE-related function impls are adjacent.
1 parent 10477be commit 6b4a1f2

File tree

2 files changed

+245
-222
lines changed

2 files changed

+245
-222
lines changed

0 commit comments

Comments
 (0)