[llvm-dev] [llvm][llvm-tblgen][clang-tblgen] MSVC Debug ill-build of clang-tblgen.exe and llvm-tblgen.exe (original) (raw)
Denis Petrov via llvm-dev llvm-dev at lists.llvm.org
Thu May 21 06:36:14 PDT 2020
- Previous message: [llvm-dev] Understanding the version handling in LLVM/Clang/LLD
- Next message: [llvm-dev] Updated llc does not compile my .ll files any more [addrspace on AVR problem?]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, everyone.
Does anyone faced with the MSVC Debug build issues of clang-tblgen and llvm-tblgen?
I'm using Windows10 Pro. MSVC and GCC.
Here is my cmake setup: cmake -GNinja ../llvm -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_BUILD_TYPE=Debug
When building debug with GCC, cmd shows next:
D:\llvm-project\buildn2\bin>clang-tblgen.exe --version LLVM (http://llvm.org/): LLVM version 11.0.0git DEBUG build with assertions. Default target: x86_64-w64-windows-gnu Host CPU: skylake D:\llvm-project\buildn2\bin>clang-tblgen.exe --help USAGE: clang-tblgen.exe [options] OPTIONS: Color Options: --color - Use colors in output (default=autodetect) When building debug with MSVC, cmd shows next: D:\llvm-project\buildvs\Debug\bin>clang-tblgen.exe --version LLVM (http://llvm.org/): LLVM version 11.0.0git DEBUG build with assertions. Default target: x86_64-pc-windows-msvc Host CPU: skylake D:\llvm-project\buildvs\Debug\bin>clang-tblgen.exe --help clang-tblgen.exe: Unknown command line argument '--help'. Try: 'clang-tblgen.exe --help' clang-tblgen.exe: Did you mean '--color'?
All other commands of tblgen.exe do not work as well(beside of --version), when using Debug MSVC. It blocks the whole build process at all.
When using Release builds, both compilers work fine. What's the problem could be?
Help please.
Regards,
Denys Petrov Senior ะก++ Developer | Kharkiv, Ukraine
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200521/282ce36d/attachment.html>
- Previous message: [llvm-dev] Understanding the version handling in LLVM/Clang/LLD
- Next message: [llvm-dev] Updated llc does not compile my .ll files any more [addrspace on AVR problem?]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]