[LLVMdev] Problem regarding llc command line option

ankur deshwal a.s.deshwal at gmail.com
Thu Jun 16 19:33:42 PDT 2011


Hi,

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.

Strange thing is that it works if I copy this declaration to other file in
the same folder. Can some one please point out something that has changed in
llvm-2.6 to llvm-2.9 that could be causing the problem ? Or any other
suggestions. I have already tried looking at svn logs to find something
related.

Thanks,
Ankur

P.S. Sorry for not being able to share the actual source files right now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110617/c11b5189/attachment.html>


More information about the llvm-dev mailing list