From 65030821d4a6af94b84a33e66a40c08ca26f1526 Mon Sep 17 00:00:00 2001 From: Djordje Todorovic Date: Wed, 27 May 2020 09:42:15 +0200 Subject: [NFC][Debugify] Format the CheckModuleDebugify output This fixes the output of the check-debugify option. Without the patch an example of running the option: $ opt -check-debugify test.ll -S -o testDebugify.ll CheckModuleDebugifySkipping module without debugify metadata After the patch: $ opt -check-debugify test.ll -S -o testDebugify.ll CheckModuleDebugify: Skipping module without debugify metadata Differential Revision: https://reviews.llvm.org/D80553 --- llvm/lib/Transforms/Utils/Debugify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp') diff --git a/llvm/lib/Transforms/Utils/Debugify.cpp b/llvm/lib/Transforms/Utils/Debugify.cpp index 19c73f3..7c178ab 100644 --- a/llvm/lib/Transforms/Utils/Debugify.cpp +++ b/llvm/lib/Transforms/Utils/Debugify.cpp @@ -293,7 +293,7 @@ bool checkDebugifyMetadata(Module &M, // Skip modules without debugify metadata. NamedMDNode *NMD = M.getNamedMetadata("llvm.debugify"); if (!NMD) { - dbg() << Banner << "Skipping module without debugify metadata\n"; + dbg() << Banner << ": Skipping module without debugify metadata\n"; return false; } -- cgit v1.1