diff options
author | Djordje Todorovic <djordje.todorovic@syrmia.com> | 2020-05-27 09:42:15 +0200 |
---|---|---|
committer | Djordje Todorovic <djordje.todorovic@syrmia.com> | 2020-05-27 10:32:40 +0200 |
commit | 65030821d4a6af94b84a33e66a40c08ca26f1526 (patch) | |
tree | 14fd30afa05ff428891fc68ef9609f0064ecec48 /llvm/lib/Transforms/Utils/Debugify.cpp | |
parent | a1dfd6d828ac4f8e11e8013b952f0ef080890dcf (diff) | |
download | llvm-65030821d4a6af94b84a33e66a40c08ca26f1526.zip llvm-65030821d4a6af94b84a33e66a40c08ca26f1526.tar.gz llvm-65030821d4a6af94b84a33e66a40c08ca26f1526.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/Debugify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |