[PATCH] D42765: [DebugInfo] Support DWARFv5 source code embedding extension

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 12:23:06 PST 2018


scott.linder updated this revision to Diff 135676.
scott.linder added a comment.

This revision addresses the latest round of feedback.

Currently the filename is still included in the line table because the embedded source is acting like a cache, and just makes source available even when the original filesystem is not. For the current implementations we have in mind with the extension, there is already a valid filename to populate here.


https://reviews.llvm.org/D42765

Files:
  docs/AMDGPUUsage.rst
  include/llvm/BinaryFormat/Dwarf.def
  include/llvm/DebugInfo/DIContext.h
  include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  include/llvm/IR/DIBuilder.h
  include/llvm/IR/DebugInfoMetadata.h
  include/llvm/MC/MCContext.h
  include/llvm/MC/MCDwarf.h
  include/llvm/MC/MCStreamer.h
  lib/AsmParser/LLParser.cpp
  lib/Bitcode/Reader/MetadataLoader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  lib/IR/AsmWriter.cpp
  lib/IR/DIBuilder.cpp
  lib/IR/DebugInfoMetadata.cpp
  lib/IR/LLVMContextImpl.h
  lib/MC/MCAsmStreamer.cpp
  lib/MC/MCContext.cpp
  lib/MC/MCDwarf.cpp
  lib/MC/MCParser/AsmParser.cpp
  lib/MC/MCStreamer.cpp
  test/Assembler/debug-info.ll
  test/Bitcode/metadata-source.ll
  test/Bitcode/metadata-source.ll.bc
  test/CodeGen/BPF/dwarfdump.ll
  test/CodeGen/Generic/dwarf-md5.ll
  test/CodeGen/Generic/dwarf-source.ll
  test/CodeGen/X86/dwarf-comp-dir.ll
  test/DebugInfo/AMDGPU/dwarfdump-relocs.ll
  test/DebugInfo/Generic/lto-comp-dir.ll
  test/DebugInfo/X86/debug-macro.ll
  test/DebugInfo/X86/dwarfdump-header-64.s
  test/DebugInfo/X86/dwarfdump-header.s
  test/DebugInfo/X86/dwarfdump-line-dwo.s
  test/DebugInfo/X86/dwarfdump-line-only.s
  test/DebugInfo/X86/generate-odr-hash.ll
  test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
  test/DebugInfo/debugmacinfo.test
  test/Linker/Inputs/metadata-source-a.ll
  test/Linker/Inputs/metadata-source-b.ll
  test/Linker/metadata-source.ll
  test/Linker/subprogram-linkonce-weak.ll
  test/MC/ARM/dwarf-asm-multiple-sections.s
  test/MC/AsmParser/debug-empty-source.s
  test/MC/AsmParser/debug-no-source.s
  test/MC/ELF/debug-file-options.s
  test/MC/ELF/debug-md5.s
  test/MC/ELF/debug-source.s
  test/MC/MachO/gen-dwarf-cpp.s
  test/MC/MachO/gen-dwarf-macro-cpp.s
  test/MC/MachO/gen-dwarf.s
  test/tools/dsymutil/X86/basic-linking-x86.test
  test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
  test/tools/dsymutil/X86/basic-lto-linking-x86.test
  test/tools/llvm-objdump/Inputs/embedded-source
  test/tools/llvm-objdump/embedded-source.test
  tools/llvm-objdump/llvm-objdump.cpp
  unittests/IR/MetadataTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42765.135676.patch
Type: text/x-patch
Size: 91411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180223/0bd947d9/attachment-0001.bin>


More information about the llvm-commits mailing list