rename llvm::llvm_report_error -> llvm::report_fatal_error



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100709 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 1cc961a..37687d2 100644
--- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -1723,7 +1723,7 @@
       return GMP;
     }
   
-  llvm_report_error("no GCMetadataPrinter registered for GC: " + Twine(Name));
+  report_fatal_error("no GCMetadataPrinter registered for GC: " + Twine(Name));
   return 0;
 }
 
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp b/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
index e90af98..679473c 100644
--- a/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
+++ b/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
@@ -75,7 +75,7 @@
   AsmParser Parser(SrcMgr, OutContext, OutStreamer, *MAI);
   OwningPtr<TargetAsmParser> TAP(TM.getTarget().createAsmParser(Parser));
   if (!TAP)
-    llvm_report_error("Inline asm not supported by this streamer because"
+    report_fatal_error("Inline asm not supported by this streamer because"
                       " we don't have an asm parser for this target\n");
   Parser.setTargetParser(*TAP.get());
 
@@ -83,7 +83,7 @@
   int Res = Parser.Run(/*NoInitialTextSection*/ true,
                        /*NoFinalize*/ true);
   if (Res && !HasDiagHandler)
-    llvm_report_error("Error parsing inline asm\n");
+    report_fatal_error("Error parsing inline asm\n");
 }
 
 
@@ -178,7 +178,7 @@
       case '(':             // $( -> same as GCC's { character.
         ++LastEmitted;      // Consume '(' character.
         if (CurVariant != -1)
-          llvm_report_error("Nested variants found in inline asm string: '"
+          report_fatal_error("Nested variants found in inline asm string: '"
                             + std::string(AsmStr) + "'");
         CurVariant = 0;     // We're in the first variant now.
         break;
@@ -213,7 +213,7 @@
         const char *StrStart = LastEmitted;
         const char *StrEnd = strchr(StrStart, '}');
         if (StrEnd == 0)
-          llvm_report_error(Twine("Unterminated ${:foo} operand in inline asm"
+          report_fatal_error(Twine("Unterminated ${:foo} operand in inline asm"
                                   " string: '") + Twine(AsmStr) + "'");
         
         std::string Val(StrStart, StrEnd);
@@ -228,7 +228,7 @@
       
       unsigned Val;
       if (StringRef(IDStart, IDEnd-IDStart).getAsInteger(10, Val))
-        llvm_report_error("Bad $ operand number in inline asm string: '" 
+        report_fatal_error("Bad $ operand number in inline asm string: '" 
                           + std::string(AsmStr) + "'");
       LastEmitted = IDEnd;
       
@@ -240,7 +240,7 @@
         if (*LastEmitted == ':') {
           ++LastEmitted;    // Consume ':' character.
           if (*LastEmitted == 0)
-            llvm_report_error("Bad ${:} expression in inline asm string: '" +
+            report_fatal_error("Bad ${:} expression in inline asm string: '" +
                               std::string(AsmStr) + "'");
           
           Modifier[0] = *LastEmitted;
@@ -248,13 +248,13 @@
         }
         
         if (*LastEmitted != '}')
-          llvm_report_error("Bad ${} expression in inline asm string: '" 
+          report_fatal_error("Bad ${} expression in inline asm string: '" 
                             + std::string(AsmStr) + "'");
         ++LastEmitted;    // Consume '}' character.
       }
       
       if (Val >= NumOperands-1)
-        llvm_report_error("Invalid $ operand number in inline asm string: '" 
+        report_fatal_error("Invalid $ operand number in inline asm string: '" 
                           + std::string(AsmStr) + "'");
       
       // Okay, we finally have a value number.  Ask the target to print this
@@ -297,7 +297,7 @@
           raw_string_ostream Msg(msg);
           Msg << "Invalid operand found in inline asm: '" << AsmStr << "'\n";
           MI->print(Msg);
-          llvm_report_error(Msg.str());
+          report_fatal_error(Msg.str());
         }
       }
       break;
@@ -343,7 +343,7 @@
     raw_string_ostream Msg(msg);
     Msg << "Unknown special formatter '" << Code
          << "' for machine instr: " << *MI;
-    llvm_report_error(Msg.str());
+    report_fatal_error(Msg.str());
   }    
 }
 
diff --git a/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp b/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
index 1db178f..25cde4b 100644
--- a/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
@@ -115,7 +115,7 @@
            << "' is too large for the ocaml GC! "
            << "Frame size " << FrameSize << " >= 65536.\n";
       Msg << "(" << uintptr_t(&FI) << ")";
-      llvm_report_error(Msg.str()); // Very rude!
+      report_fatal_error(Msg.str()); // Very rude!
     }
 
     AP.OutStreamer.AddComment("live roots for " +
@@ -130,7 +130,7 @@
         Msg << "Function '" << FI.getFunction().getName()
              << "' is too large for the ocaml GC! "
              << "Live root count " << LiveCount << " >= 65536.";
-        llvm_report_error(Msg.str()); // Very rude!
+        report_fatal_error(Msg.str()); // Very rude!
       }
 
       AP.OutStreamer.EmitSymbolValue(J->Label, IntPtrSize, 0);