jasonmolenda added a comment.

In D139066#3971697 <https://reviews.llvm.org/D139066#3971697>, @akyrtzi wrote:

> I prefer my original version because:
>
> - `eSymbolContextLastItem` is not an appropriate name for collection of bits, 
> it should be named like `eSymbolContextReallyEverything` or something, which 
> then makes things a bit confusing due to having multiple "everything" enums.
> - I like the code consistency and readability of all `RESOLVED_*` macros here 
> being shifts by one of the previous bit. When I first read this code I had to 
> stop and think about why `RESOLVED_FRAME_CODE_ADDR` is different than the 
> rest; "eSymbolContextLastItem << 1" is clearer to understand IMO, 
> particularly in the context of the other macros.

You're right.  In my mind, I mixed the two of our solutions together and that 
would not work.  Your solution is consistent and will work.  Please land your 
change, sorry for the distraction.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139066/new/

https://reviews.llvm.org/D139066

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to