This is an archive of the discontinued LLVM Phabricator instance.

[llvm-symbolizer] Use correct path when resolving .gnu_debuglink in .debug
ClosedPublic

Authored by fjricci on Mar 2 2018, 9:14 AM.

Details

Summary

The symbolizer was checking for .debug as a subdirectory of the
binary file itself, not of the directory containing the binary. This led to
a failure to find split debug info when it was contained in a .debug directory.

Diff Detail

Repository
rL LLVM

Event Timeline

fjricci created this revision.Mar 2 2018, 9:14 AM
rnk accepted this revision.Mar 2 2018, 11:09 AM

lgtm

lib/DebugInfo/Symbolize/Symbolize.cpp
180 ↗(On Diff #136771)

I see, it's supposed to match this.

This revision is now accepted and ready to land.Mar 2 2018, 11:09 AM
This revision was automatically updated to reflect the committed changes.