<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="font-size: 14px;" class="">Hello,</span><div class=""><span style="font-size: 14px;" class=""><br class=""></span></div><div class=""><span style="font-size: 14px;" class="">I have followed steps given in -<span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://stackoverflow.com/questions/29910051/integrating-llvm-passes/48142693#48142693" class="">https://stackoverflow.com/questions/29910051/integrating-llvm-passes/48142693#48142693</a>, to integrate my pass with pass manager and run it with clang. I am <span style="color: rgb(36, 39, 41); background-color: rgb(255, 255, 255);" class="">able to run my pass with opt - </span><code style="margin: 0px; padding: 1px 5px; border: 0px; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-color: rgb(239, 240, 241); white-space: pre-wrap; color: rgb(36, 39, 41);" class="">opt -mypass</code><span style="color: rgb(36, 39, 41); background-color: rgb(255, 255, 255);" class=""> but when I try to run it with clang, I always get an error - </span><code style="margin: 0px; padding: 1px 5px; border: 0px; font-stretch: inherit; line-height: inherit; vertical-align: baseline; background-color: rgb(239, 240, 241); white-space: pre-wrap; color: rgb(36, 39, 41);" class="">unknown argument: '-mypass'</code><span style="color: rgb(36, 39, 41); background-color: rgb(255, 255, 255);" class="">. Please help me for the same. I would be really grateful.</span></span></div><div class=""><span style="color: rgb(36, 39, 41); background-color: rgb(255, 255, 255); font-size: 14px;" class=""><br class=""></span></div><div class=""><span style="color: rgb(36, 39, 41); background-color: rgb(255, 255, 255); font-size: 14px;" class="">Regards,</span></div><div class=""><span style="color: rgb(36, 39, 41); background-color: rgb(255, 255, 255); font-size: 14px;" class="">Sangeeta</span></div></body></html>