[PATCH] D61253: DWARF v5: fix directory index in the line table

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 01:33:09 PDT 2019


MaskRay created this revision.
MaskRay added reviewers: aprantl, dblaikie, echristo, labath.
Herald added subscribers: llvm-commits, jdoerfert, arphaman.
Herald added a project: LLVM.

Prior to DWARF v5, a directory index of 0 represents DW_AT_comp_dir.

In DWARF v5, the index starts with 0 and Entry.DirIdx is the index into
Prologue.IncludeDirectories.


Repository:
  rL LLVM

https://reviews.llvm.org/D61253

Files:
  lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  test/DebugInfo/symbolize-directory.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61253.197062.patch
Type: text/x-patch
Size: 3921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190429/b289d9a4/attachment.bin>


More information about the llvm-commits mailing list