Displaying 1 result from an estimated 1 matches for "getparamptr".
Did you mean:
getparamptrs
2015 Feb 24
2
[LLVMdev] Accessing a custom defined llvm pass
...rent layout:
Thresholds/
include/
Thresholds.h
Pass1.cpp
Pass2.cpp
Makefile
Both of the pass classes are defined in the header file. In pass two I
have declared that it requires Pass1 using: AU.addRequired<Pass1>() and get
the result using
getAnalysis<Pass1>().getParamPtrs();
The module compiles correctly, but when trying to load it using opt I get
an error:
Error opening 'Thresholds.dylib': dlopen(Thresholds.dylib, 9): Symbol not
found: __ZN12_GLOBAL__N_115ParamCallFinder2ID
What is the correct way to reference another custom written pass in LLVM?
Is is...