[all-commits] [llvm/llvm-project] 917b40: Add support for inline DWARF source files. (#75880)

Adrian Prantl via All-commits all-commits at lists.llvm.org
Thu Jan 4 09:04:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 917b404e2ccdcc31d2d64971ad094b80967a240b
      https://github.com/llvm/llvm-project/commit/917b404e2ccdcc31d2d64971ad094b80967a240b
  Author: Adrian Prantl <adrian-prantl at users.noreply.github.com>
  Date:   2024-01-04 (Thu, 04 Jan 2024)

  Changed paths:
    M lldb/include/lldb/Symbol/CompileUnit.h
    M lldb/include/lldb/Symbol/SymbolFile.h
    M lldb/include/lldb/Symbol/SymbolFileOnDemand.h
    M lldb/include/lldb/Utility/FileSpecList.h
    M lldb/source/API/SBCompileUnit.cpp
    M lldb/source/Commands/CommandObjectSource.cpp
    M lldb/source/Core/ModuleList.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
    M lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
    M lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
    M lldb/source/Plugins/SymbolFile/CTF/SymbolFileCTF.h
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
    M lldb/source/Plugins/SymbolFile/JSON/SymbolFileJSON.h
    M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
    M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
    M lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
    M lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
    M lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
    M lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h
    M lldb/source/Symbol/CompileUnit.cpp
    M lldb/source/Symbol/SymbolFileOnDemand.cpp
    M lldb/source/Utility/FileSpecList.cpp
    A lldb/test/API/functionalities/inline-sourcefile/Makefile
    A lldb/test/API/functionalities/inline-sourcefile/TestInlineSourceFiles.py
    A lldb/test/API/functionalities/inline-sourcefile/inline.ll
    A lldb/test/API/functionalities/inline-sourcefile/main.c
    M lldb/unittests/Core/FileSpecListTest.cpp

  Log Message:
  -----------
  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




More information about the All-commits mailing list