diff options
author | Fangrui Song <i@maskray.me> | 2022-08-12 14:01:52 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-08-12 14:01:52 -0700 |
commit | 3329cec2f79185bafd678f310fafadba2a8c76d2 (patch) | |
tree | d1a88e8ce04aef227ed26897c29f73f41f5ea644 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 4d7f9b7489cdd13aac2f3337e3d46fecbb3aaf9f (diff) | |
download | llvm-3329cec2f79185bafd678f310fafadba2a8c76d2.zip llvm-3329cec2f79185bafd678f310fafadba2a8c76d2.tar.gz llvm-3329cec2f79185bafd678f310fafadba2a8c76d2.tar.bz2 |
[DebugInfo] Don't join DW_AT_comp_dir and directories[0] for DWARF v5 line tables
DWARF v5 6.2.4 The Line Number Program Header says:
> The first entry is the current directory of the compilation. Each additional
> path entry is either a full path name or is relative to the current directory of
> the compilation.
When forming a path, relative DW_AT_comp_dir and directories[0] are not supposed
to be joined together. Fix getFileNameByIndex to special case DWARF v5 DirIdx == 0.
Reviewed By: #debug-info, dblaikie
Differential Revision: https://reviews.llvm.org/D131804
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions