浏览代码

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

Tex Riddell 8 年之前
父节点
当前提交
bbe8831fe1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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