[llvm-dev] Passing arguments to LLVM pass through Clang
Shishir V Jessu via llvm-dev
llvm-dev at lists.llvm.org
Mon Mar 16 15:45:49 PDT 2020
I am adding to an LLVM pass that requires a filename as input. I am able to
input this filename as a command line argument when I invoke this pass
using opt, but I ultimately need to pass this argument to my code when I
compile code with clang.
How can I pass this argument to clang so that I can use it in my LLVM pass?
Thanks for your help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev