Arun Rangasamy
2012-Oct-26 10:52 UTC
[LLVMdev] Passing an option to opt through clang/dragonegg
Dear Friends, I need to pass an option to an llvm analysis pass through clang and dragonegg, to llvm's opt. Right now opt takes the flag, but when I pass the flag through clang with -mllvm, I get an error. I am trying to figure out how other options are passed to llvm through clang (as suggested in the mailing list). But if someone has more inputs on how to do this (also with dragonegg), it will be very helpful. Thank you very much in advance. Best Regards, arun -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121026/c17316dd/attachment.html>
Duncan Sands
2012-Oct-26 11:30 UTC
[LLVMdev] Passing an option to opt through clang/dragonegg
Hi Arun,> I need to pass an option to an llvm analysis pass through clang and dragonegg, > to llvm's opt. Right now opt takes the flag, but when I pass the flag through > clang with -mllvm, I get an error.what's the flag, and what's the analysis pass? Ciao, Duncan.