summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBCompileUnit.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <adrian-prantl@users.noreply.github.com>2024-01-04 09:04:05 -0800
committerGitHub <noreply@github.com>2024-01-04 09:04:05 -0800
commit917b404e2ccdcc31d2d64971ad094b80967a240b (patch)
treefc582e00f70df3b8a349b05270ae5fc5356ba514 /lldb/source/API/SBCompileUnit.cpp
parenta7a78fd427569a7ad8a27e682a66fe414f004a35 (diff)
Add support for inline DWARF source files. (#75880)
LLVM supports DWARF 5 linetable extension to store source files inline in DWARF. This is particularly useful for compiler-generated source code. This implementation tries to materialize them as temporary files lazily, so SBAPI clients don't need to be aware of them. rdar://110926168
Diffstat (limited to 'lldb/source/API/SBCompileUnit.cpp')
-rw-r--r--lldb/source/API/SBCompileUnit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBCompileUnit.cpp b/lldb/source/API/SBCompileUnit.cpp
index 3aa65e225d7a..65fdb11032b9 100644
--- a/lldb/source/API/SBCompileUnit.cpp
+++ b/lldb/source/API/SBCompileUnit.cpp
@@ -171,7 +171,7 @@ uint32_t SBCompileUnit::FindSupportFileIndex(uint32_t start_idx,
LLDB_INSTRUMENT_VA(this, start_idx, sb_file, full);
if (m_opaque_ptr) {
- const FileSpecList &support_files = m_opaque_ptr->GetSupportFiles();
+ const SupportFileList &support_files = m_opaque_ptr->GetSupportFiles();
return support_files.FindFileIndex(start_idx, sb_file.ref(), full);
}
return 0;