Displaying 1 result from an estimated 1 matches for "g_pfuncname".
2009 Aug 10
2
[LLVMdev] How to use a FunctionPass in a ModulePass?
...*
**
* void getAnalysisUsage(AnalysisUsage &AU) const*
* {
AU.addRequired<MemoryDependenceAnalysis>();
}
};*
-----------------------------------------------crash
infomation----------------------------------------------------
*$ opt -load /home/****/llvm-2.5/Debug/lib/g_pFuncName.so -g_pFuncName <
test.bc > /dev/null
opt: /home/****/llvm-2.5/include/llvm/Target/TargetData.h:114:
llvm::TargetData::TargetData(): Assertion `0 && "ERROR: Bad TargetData ctor
used. " "Tool did not specify a TargetData to use?"' failed.
0 opt 0x086049...