Displaying 2 results from an estimated 2 matches for "9b0ae764".
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&
2019 Jan 19
3
Can't find symbol from llvm backend
...do is to modify the
> global variable's value from the backend pass.
>
>
>
> Any help would be appreciated.
>
> Thank you!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190119/9b0ae764/attachment.html>