Escape newlines in default disassembly format.

We can safely escape newlines in format strings because they will be
ignored by the format entity parser.

llvm-svn: 343470
This commit is contained in:
Jonas Devlieghere 2018-10-01 13:20:15 +00:00
parent abda7ee8e7
commit e43be156eb
1 changed files with 2 additions and 2 deletions

View File

@ -163,8 +163,8 @@ static constexpr OptionEnumValueElement g_language_enumerators[] = {
// address <+offset>:
#define DEFAULT_DISASSEMBLY_FORMAT \
"{${function.initial-function}{${module.file.basename}`}{${function.name-" \
"without-args}}:\n}{${function.changed}\n{${module.file.basename}`}{${" \
"function.name-without-args}}:\n}{${current-pc-arrow} " \
"without-args}}:\\n}{${function.changed}\\n{${module.file.basename}`}{${" \
"function.name-without-args}}:\\n}{${current-pc-arrow} " \
"}${addr-file-or-load}{ " \
"<${function.concrete-only-addr-offset-no-padding}>}: "