Skip to content

Commit

Permalink
[NFC][Debugify] Format the CheckModuleDebugify output
Browse files Browse the repository at this point in the history
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
  • Loading branch information
djtodoro committed May 27, 2020
1 parent a1dfd6d commit 6503082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Utils/Debugify.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6503082

Please sign in to comment.