[PATCH] D123534: [dwarf] Emit a DIGlobalVariable for constant strings.
Paul Robinson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 20 12:28:27 PDT 2022
probinson added a comment.
> What's the DW_AT_type referring to? (why is there a type called ".str"?)
I'd expect it to point to a base type, in this case character string. A typeless variable with a location would be pretty weird.
But I agree the name/linkage_name would be unnecessary.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123534/new/
https://reviews.llvm.org/D123534
More information about the cfe-commits
mailing list