[Lldb-commits] [PATCH] D62714: [FormatEntity] Ignore ASCII escape sequences when colors are disabled.

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 30 19:03:47 PDT 2019


JDevlieghere created this revision.
JDevlieghere added reviewers: labath, jingham, xiaobai, teemperor.
Herald added a project: LLDB.

This patch makes the FormatEntity honor the debugger's color settings by not inserting ASCII escape sequences when colors are disabled.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D62714

Files:
  lldb/include/lldb/Core/FormatEntity.h
  lldb/lit/Settings/Inputs/main.c
  lldb/lit/Settings/TestFrameFormatColor.test
  lldb/lit/Settings/TestFrameFormatNoColor.test
  lldb/source/Core/FormatEntity.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62714.202354.patch
Type: text/x-patch
Size: 4092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190531/f828d1ef/attachment-0001.bin>


More information about the lldb-commits mailing list