Displaying 1 result from an estimated 1 matches for "_zn4llvm22createaddreadattrspassev".
Did you mean:
__zn4llvm22createaddreadattrspassev
2008 Nov 25
1
[LLVMdev] AddReadAttrs vs. TargetMachine?
...erived from TargetMachine like CBackend).
CBackend uses addPassesToEmitWholeFile-method for invoking several
passes. I tried to use the same method, but it failed on runtime.
Running llc with my backend produces (mac os x 10.5 and llvm 2.4):
dyld: lazy symbol binding failed: Symbol not found:
__ZN4llvm22createAddReadAttrsPassEv
Referenced from: /myproject/build/Release/lib/mybackend.dylib
Expected in: flat namespace
dyld: Symbol not found: __ZN4llvm22createAddReadAttrsPassEv
Referenced from: /myproject/build/Release/lib/mybackend.dylib
Expected in: flat namespace
Is it even possible to invoke such a pass fr...