[llvm-dev] llc: Unknown command line argument '-debug-only=isel'

Leslie Zhai via llvm-dev llvm-dev at lists.llvm.org
Thu Dec 21 07:49:59 PST 2017


陳韋任,您好,非常感谢您的回复 :) 欢迎再来hellogcc分享!


在 2017年12月21日 23:47, 陳韋任 写道:
> I believe Crag answered your problem. As for the command line option, 
> usually you can use `-help-hidden` to list developers' option, 
> `-debug-only` is one example.
>
> 2017-12-21 23:39 GMT+08:00 Craig Topper via llvm-dev 
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>>:
>
>     -debug-only only works on builds with assertions enabled. Your
>     version string says optimized build and doesn’t mention assertions.
>
>     On Thu, Dec 21, 2017 at 7:15 AM Leslie Zhai via llvm-dev
>     <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
>         Hi LLVM developers,
>
>         llc -march=mips -debug-only=isel was able to work in Nov 8 2017
>         https://reviews.llvm.org/D39723 <https://reviews.llvm.org/D39723>
>
>         But it doesn't work now:
>
>         $ clang --version
>         LLVM China clang version 6.0.0
>         (git at github.com:llvm-mirror/clang.git
>         9b7b03045ee9b5622028537266aafeb9ea218ac1)
>         (git at github.com:llvm-mirror/llvm.git
>         3a26601a88394c02603b8756527c55df9ab94d78) (based on LLVM 6.0.0svn)
>         Target: x86_64-redhat-linux
>         Thread model: posix
>         InstalledDir: /data/project/xiangzhai/llvm/build/./bin
>         $ llc --version
>         LLVM (http://llvm.org/):
>            LLVM version 6.0.0svn
>            Optimized build.
>            Default target: x86_64-redhat-linux
>            Host CPU: broadwell
>
>         llc: Unknown command line argument '-debug-only=isel'.  Try:
>         '/data/project/xiangzhai/llvm/build/bin/llc -help'
>         llc: Did you mean '-debug-pass=isel'?
>
>         I couldn't grep debug-only command flags or options via git
>         log, please
>         give me some hint, thanks a lot!
>
>         --
>         Regards,
>         Leslie Zhai - https://reviews.llvm.org/p/xiangzhai/
>         <https://reviews.llvm.org/p/xiangzhai/>
>
>         _______________________________________________
>         LLVM Developers mailing list
>         llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
>         http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>         <http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev>
>
>     -- 
>     ~Craig
>
>     _______________________________________________
>     LLVM Developers mailing list
>     llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
>     http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>     <http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev>
>
>
>
>
> -- 
> Wei-Ren Chen (陳韋任)
> Homepage: https://people.cs.nctu.edu.tw/~chenwj 
> <https://people.cs.nctu.edu.tw/%7Echenwj>

-- 
Regards,
Leslie Zhai - https://reviews.llvm.org/p/xiangzhai/





More information about the llvm-dev mailing list