Made error message more comprehensible.
authorMisha Brukman <brukman+llvm@gmail.com>
Mon, 20 Oct 2003 19:43:47 +0000 (19:43 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Mon, 20 Oct 2003 19:43:47 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9299 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/CodeGeneratorBug.cpp

index e83ef11836092bbe388c791f9dccf743f34bdb6c..41df79a110a96f16eb964ecb13d695442ddba681 100644 (file)
@@ -167,7 +167,8 @@ bool ReduceMisCodegenFunctions::TestFuncs(const std::vector<Function*> &Funcs,
           } else {
             // FIXME: need to take care of cases where a function is used that
             // is not an instruction, e.g. global variable initializer...
-            std::cerr << "Non-instruction is using an external function!\n";
+            std::cerr <<
+              "UNSUPPORTED: External function used as global initializer!\n";
             abort();
           }
       }