[llvm-dev] DIGlobalVariableExpression doc in langref
Peng Yu via llvm-dev
llvm-dev at lists.llvm.org
Sat Jan 19 18:24:42 PST 2019
Hi,
I don't find DIGlobalVariableExpression in langref. Should it be
documented? Could anybody explain what it is?
https://llvm.org/docs/LangRef.html
In one ll file converted from bitcode, I mostly see something like this.
!8273 = !DIGlobalVariableExpression(var: !8274, expr: !DIExpression())
Only one looks like this.
!8945 = !DIGlobalVariableExpression(var: !8946, expr:
!DIExpression(DW_OP_constu, 44, DW_OP_stack_value))
Why DIExpression is mostly empty?
--
Regards,
Peng
More information about the llvm-dev
mailing list