diff options
Diffstat (limited to 'llvm/tools/llvm-mca/llvm-mca.cpp')
-rw-r--r-- | llvm/tools/llvm-mca/llvm-mca.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvm-mca/llvm-mca.cpp b/llvm/tools/llvm-mca/llvm-mca.cpp index 14be4356863..abd6d8a85e9 100644 --- a/llvm/tools/llvm-mca/llvm-mca.cpp +++ b/llvm/tools/llvm-mca/llvm-mca.cpp @@ -229,8 +229,7 @@ int AssembleInput(const char *ProgName, MCAsmParser &Parser, TheTarget->createMCAsmParser(STI, Parser, MCII, MCOptions)); if (!TAP) { - errs() << ProgName - << ": error: this target does not support assembly parsing.\n"; + WithColor::error() << "this target does not support assembly parsing.\n"; return 1; } |