Fixup the UserValue methods to use FragmentInfo instead of DIExpression because
the DIExpression is only ever used to get the to get the FragmentInfo. The
DIExpression is meaningless in the UserValue class because each definition point
added to a UserValue may have a unique DIExpression.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/LiveDebugVariables.cpp | ||
---|---|---|
163 | Personally, I'd prefer Fragment or FragmentInfo for readability |
llvm/lib/CodeGen/LiveDebugVariables.cpp | ||
---|---|---|
211–212 | matches? |
Thanks for looking at these patches. When they are all ready to land would it be better to land them independently or all together as one?
llvm/lib/CodeGen/LiveDebugVariables.cpp | ||
---|---|---|
211–212 | It hadn't crossed my mind to rename this. The UserLabel class has a match() method too. Would you like me to update both? |
Thanks for looking at these patches. When they are all ready to land would it be better to land them independently or all together as one?
I would land them as individual commits, but you can roll them into one push. Doin separate pushes makes it easier to debug bot breakage though.
llvm/lib/CodeGen/LiveDebugVariables.cpp | ||
---|---|---|
211–212 | Sure, why not. |
Personally, I'd prefer Fragment or FragmentInfo for readability