[Lldb-commits] [lldb] [lldb] colorize symbols in image lookup with a regex pattern (PR #69422)

José Lira Junior via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 7 07:12:21 PST 2023


junior-jl wrote:

> I tried this now and I guess it's not correct. For example, if I have a prefix (red color) and no suffix, the text does not go back to normal and will be forever red. Or am I doing something wrong?

![image](https://github.com/llvm/llvm-project/assets/69206952/2ed63ec4-6f5d-4ae8-a7be-f95adba313f5)

The condition is: `if (pattern.empty() || (prefix.empty() && suffix.empty()))`

https://github.com/llvm/llvm-project/pull/69422


More information about the lldb-commits mailing list