Displaying 1 result from an estimated 1 matches for "190931f1".
Did you mean:
1909,11
2019 Jan 18
2
Can't find symbol from llvm backend
Hi, I am new to llvm.
I create a global variable called "test_llvm_var" in the front end function
pass like this:
new GlobalVariable(*m, tmp->getType(), true,
llvm::GlobalValue::ExternalLinkage, tmp, "test_llvm_var");
where tmp is a function.
Then I tried to access this global variable in the back end
MachineFunctionPass like this:
MCContext&