[all-commits] [llvm/llvm-project] b538a2: llvm-symbolizer: support DW_FORM_loclistx locations.

Evgenii Stepanov via All-commits all-commits at lists.llvm.org
Fri Dec 20 10:36:24 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b538a2aa071485a1fc13a8ef583d31db3381fec0
      https://github.com/llvm/llvm-project/commit/b538a2aa071485a1fc13a8ef583d31db3381fec0
  Author: Evgenii Stepanov <eugenis at google.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
    A llvm/test/DebugInfo/AArch64/frame-loclistx.s

  Log Message:
  -----------
  llvm-symbolizer: support DW_FORM_loclistx locations.

Summary:
With -gdwarf-5 local variable locations are emitted as DW_FORM_loclistx
form instead of the regular DW_FORM_sec_offset. Teach
DWARFDie::getLocations to understand the new format and use it in
llvm-symbolizer "FRAME" command.

Reviewers: pcc, jdoerfert

Subscribers: srhines, aprantl, hiraditya, rupprecht, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list