Explorar o código

fix dot-cfg so it doesn't act like dot-cfg-only (#556)

Tex Riddell %!s(int64=8) %!d(string=hai) anos
pai
achega
bbe8831fe1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Analysis/CFGPrinter.cpp

+ 1 - 1
lib/Analysis/CFGPrinter.cpp

@@ -94,7 +94,7 @@ namespace {
       // HLSL Change Starts
       if (OSOverride != nullptr) {
         *OSOverride << "\ngraph: " << "cfg." << F.getName() << ".dot\n";
-        llvm::WriteGraph(*OSOverride, (const Function*)&F, true, F.getName());
+        llvm::WriteGraph(*OSOverride, (const Function*)&F, false, F.getName());
         return false;
       }
       // HLSL Change Ends