Browse Source

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

Tex Riddell 8 năm trước cách đây
mục cha
commit
bbe8831fe1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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