[all-commits] [llvm/llvm-project] b4c5b8: DWARFDebugLoclists: Make it possible to read reloc...

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Nov 5 01:27:29 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b4c5b8f3f51206bac2282a8b483e76ad59a5aed5
      https://github.com/llvm/llvm-project/commit/b4c5b8f3f51206bac2282a8b483e76ad59a5aed5
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2019-11-05 (Tue, 05 Nov 2019)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
    M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
    A llvm/test/tools/llvm-dwarfdump/X86/debug_loclists.s

  Log Message:
  -----------
  DWARFDebugLoclists: Make it possible to read relocated addresses

Summary:
Handling relocations was not needed when the loclists section was a
DWO-only thing. But since DWARF5, it is possible to use it in regular
objects too, and the standard permits embedding addresses into the
section directly. These addresses need to be relocated in unlinked
files.

Reviewers: JDevlieghere, dblaikie, probinson

Subscribers: aprantl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68271




More information about the All-commits mailing list