[cfe-dev] Wanna learn LLVM IR fast by compiling C++ tests into LLVM IR using Clang
Pavel Senatorov via cfe-dev
cfe-dev at lists.llvm.org
Sun Oct 30 10:05:38 PDT 2016
Tried to use
\T\LLVM\bin\clang -emit-llvm -S -o T0.Cpp.ir -v T0.Cpp
without success: below clang output:
C:\S\LLVM>\T\LLVM\bin\clang -emit-llvm -S -o T0.Cpp.ir -v T0.Cpp
clang version 3.9.0 (branches/release_39)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\T\LLVM\bin
clang.exe: warning: T0.Cpp: 'linker' input unused
clang.exe: warning: argument unused during compilation: '-emit-llvm'
Looks like T0.Cpp was not even read.
What to do?
More information about the cfe-dev
mailing list