Displaying 1 result from an estimated 1 matches for "createrelrecoverypass".
2012 Jan 30
0
[LLVMdev] initializeNAMEPass(llvm::PassRegistry&) should have been declared inside 'llvm'
...lity transformation
for lightweight recovery", false, false)
However, as my pass is external the rest of llvm (and is compiled
separately from the main llvm source), I am having trouble getting this to
work. I was told to also modify include/llvm/LinkAllPasses.h to add a call
to (void) llvm::createRelRecoveryPass(); which I have done, but when I go
to my main llvm-obj directory to build llvm so that the call is valid when
I actually compile my pass files, I get:
/x/grwright/llvm/llvm-obj/tools/opt/Debug+Asserts/opt.o: In function
`ForcePassLinking':
/x/grwright/llvm/llvm-2.9/include/llvm/LinkAllPasses....