| Issue |
71794
|
| Summary |
How can I get GlobalVariable from DIGlobalVariable?
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
ash1852
|
like title says, I recently is upgrade my tool to be compatable with llvm-15(used be compatable with llvm-3.6.2). In llvm-3.6.2 I can get GlobalVariable by using api DIGlobalVariable::getGlobal, whose codes have been shown below, but in llvm-15.0.0 it was removed. How can I get GlobalVariable from DIGlobalVariable? Can i just cast the forth operand of DIGlobalVariable to GlobalVaribale like that in llvm-3.6..2?

thanks in advance for helping.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs