Adrian Sampson
Adrian Sampson
I'm recalling purely from memory, but here's how I remember it being structured: there are `ModulePassManager`s and `FunctionPassManager`s. The registration has a `switch` on the EP flag, and some EPs...
Indeed; thanks for pointing it out! I'll leave this issue open in the hopes that other Google searchers will find it.
Good question! I don't know what could be wrong—I know people in other threads have successfully used (prereleases of LLVM 6.0). Please let us know if you find the root...
I spent a while looking into this today. To be specific, the problem looks like this on my system, at the moment: ``` $ /usr/local/opt/llvm/bin/clang -fplugin=build/skeleton/libSkeletonPass.so foo.c I saw a...
Nope, no current solution! If you find anything good (or can bring it to the attention of the LLVM developers), please let us know.
That's a neat idea, @mattgreen! Cool workaround.
There's also more on the "pass plugin" registration system in the docs: http://llvm.org/docs/WritingAnLLVMPass.html#building-pass-plugins
Wow! That's awesome! Thank you for tracking this down, @EliaGeretto, and driving the effort to get it fixed. Wahoo!
I'm sorry, but I don't know what you mean by "inline assembly of c code." However, this repository just contains the scaffolding necessary to _start_ an LLVM pass; what you...
Excellent.