[X86] Part 1 to fix x86-64 fp128 calling convention.
[oota-llvm.git] / lib / Support / GraphWriter.cpp
index cbf534933370337df2385708ca2e9cbeb10f0f9e..d0e1d50e8ccbc1388d421f1120c68af8cbda4f4e 100644 (file)
@@ -103,7 +103,7 @@ struct GraphSession {
   bool TryFindProgram(StringRef Names, std::string &ProgramPath) {
     raw_string_ostream Log(LogBuffer);
     SmallVector<StringRef, 8> parts;
-    Names.split(parts, "|");
+    Names.split(parts, '|');
     for (auto Name : parts) {
       if (ErrorOr<std::string> P = sys::findProgramByName(Name)) {
         ProgramPath = *P;
@@ -234,7 +234,7 @@ bool llvm::DisplayGraph(StringRef FilenameRef, bool wait,
 
     errs() << "Running '" << GeneratorPath << "' program... ";
 
-    if (ExecGraphViewer(GeneratorPath, args, Filename, wait, ErrMsg))
+    if (ExecGraphViewer(GeneratorPath, args, Filename, true, ErrMsg))
       return true;
 
     // The lifetime of StartArg must include the call of ExecGraphViewer