search for: reachingdef

Displaying 2 results from an estimated 2 matches for "reachingdef".

2010 Apr 06
2
[LLVMdev] Undefined symbol when loading pass
Hi, I have written a pass to compute the reaching definitions for variables using loads and stores. The class for this pass is named ReachingDef and the pass itself is registered as reaching-def. The compiled reaching-def.so file goes to llvm-home/Release/lib/. This pass is used by another function pass that is registered as iel and the class is named SIL. I have setup AnalysisUsage object of SIL by doing the below: AU.setPreservesAll(...
2010 Apr 06
0
[LLVMdev] Undefined symbol when loading pass
...CommandLine Error: Argument 'inline-threshold' defined > more than once! > opt: CommandLine Error: Argument 'inline-threshold' defined more > than once! > Error opening '../../../Release/lib/iel.so': ../../../Release/lib/ > iel.so: undefined symbol: _ZTI11ReachingDef > -load request ignored. > > It looks like the ReachingDef pass is not being recognized. Please > tell me how to fix this. Don't you need to add a -load for reaching-def also? Trevor