[llvm] 96551c9 - [bugpoint] Fix typo in assertion message. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 16:10:55 PDT 2020


Author: Craig Topper
Date: 2020-07-23T16:06:43-07:00
New Revision: 96551c9cad71b8a30593412557e2847179c6d3e8

URL: https://github.com/llvm/llvm-project/commit/96551c9cad71b8a30593412557e2847179c6d3e8
DIFF: https://github.com/llvm/llvm-project/commit/96551c9cad71b8a30593412557e2847179c6d3e8.diff

LOG: [bugpoint] Fix typo in assertion message. NFC

Added: 
    

Modified: 
    llvm/tools/bugpoint/CrashDebugger.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/bugpoint/CrashDebugger.cpp b/llvm/tools/bugpoint/CrashDebugger.cpp
index 1a39ff654f05..d06bca9a1258 100644
--- a/llvm/tools/bugpoint/CrashDebugger.cpp
+++ b/llvm/tools/bugpoint/CrashDebugger.cpp
@@ -1229,7 +1229,7 @@ static Error DebugACrash(BugDriver &BD, BugTester TestFn) {
       unsigned NewSize = 0;
       for (std::string &Name : FunctionNames) {
         Function *Fn = BD.getProgram().getFunction(Name);
-        assert(Fn && "Could not find funcion?");
+        assert(Fn && "Could not find function?");
 
         std::vector<Attribute> Attrs;
         for (Attribute A : Fn->getAttributes().getFnAttributes())


        


More information about the llvm-commits mailing list