[LLVMdev] Problem regarding llc command line option

Duncan Sands baldrick at free.fr
Fri Jun 17 01:26:15 PDT 2011


Hi Ankur,

> I was trying to port a Target from llvm-2.6 to llvm-2.9 and have got stuck to a
> very strange problem.
>
> There was an option defined in the target Asm Printer file with signature as -
>
> static cl::opt<bool> AsdPri("asd-pri", cl::Hidden, cl::desc("Print ASD format"));
>
> How after compiling the target, I dont see the option enabled in
> $ llc -help-hidden
> Also it gives error while using the command line option -asd-pri.

is it possible that llc is not linked with this file?  Alternatively, that the
object file is not being rebuilt due to a build system bug, and you are linking
llc with an old version that predates your adding this option?

Ciao, Duncan.





More information about the llvm-dev mailing list