[#llvm-DIContext-getLineInfoForDataAddress] = xref:llvm.adoc[llvm]::xref:llvm/DIContext.adoc[DIContext]::getLineInfoForDataAddress :relfileprefix: ../../ :mrdocs: Look up source line info for a data (variable) address. == Synopsis Declared in `<llvm/DebugInfo/DIContext.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::optional<DILineInfo> getLineInfoForDataAddress(xref:llvm/object/SectionedAddress.adoc[object::SectionedAddress] Address) = 0; ---- == Description Returns std::nullopt when debug info is missing for the given address. == Return Value Line info for the data address, or std::nullopt if unavailable. == Parameters [cols="1,4"] |=== | Name| Description | *Address* | Data address to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#