[llvm-dev] Integrating llvm pass with pass manager
陳韋任 via llvm-dev
llvm-dev at lists.llvm.org
Thu Jan 11 15:28:57 PST 2018
`-mypass` should be only recognize by the backend part (i.e. llvm). You
should add `-mllvm` to tell clang the following argument have to be passed
to the backend part.
2018-01-08 8:02 GMT+08:00 sangeeta chowdhary via llvm-dev <
llvm-dev at lists.llvm.org>:
> I have followed steps given in - https://stackoverflow.com/
> questions/29910051/integrating-llvm-passes/48142693#48142693, to
> integrate my pass with pass manager and run it with clang. I am able to
> run my pass with opt - opt -mypass but when I try to run it with clang, I
> always get an error - unknown argument: '-mypass'. Please help me for the
> same. I would be really grateful.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
Wei-Ren Chen (陳韋任)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev