首页 > 解决方案 > clang 编译器不适用于“选择”命令

问题描述

opt 命令不适用于 CLANG 编译器,在我运行后安装了 CLANG 和 LLVM

clang++ -emit-llvm -S test.cpp -o prog.ll

它运行良好,但是一旦我尝试运行“选择”

opt --dot-cfg prog.ll

我收到错误消息

'opt' is not recognized as an internal or external command,
operable program or batch file.'

标签: c++clangllvm

解决方案


推荐阅读