diff options
author | Pavel Labath <labath@google.com> | 2015-02-25 10:44:35 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-02-25 10:44:35 +0000 |
commit | 7257d2802527de4c2f8861d26d96a4fad7da79d6 (patch) | |
tree | 3b7eb237bfbaf768520556363cf68cb8fd49b12e /clang/test/Modules/Inputs/merge-vtable-codegen/merge-vtable-codegen.modulemap | |
parent | 472041f027567e67d9113e9d70948d722532f901 (diff) | |
download | bcm5719-llvm-7257d2802527de4c2f8861d26d96a4fad7da79d6.tar.gz bcm5719-llvm-7257d2802527de4c2f8861d26d96a4fad7da79d6.zip |
Skip symlinks to the original file when searching for debug info
Summary:
Symbols::LocateExecutableSymbolFile tries to locate the file in containing the debug info in a
splitdebug configuration. It tries to skip over the original file in its search path, but it was
easily fooled by symlinks. This changes the function to use llvm::sys::fs::equivalent, which can
correctly compare symlinks.
As a side effect, I had to fix one test because the address for the "abort" function resolves on
my system to "__GI_abort" now. With the debug info, the libc on my system contains two symbols
associated with the address of the abort function, and lldb prefers __GI_abort, possibly because
the debug info is associated with it. It would be nice at some point to have it prefer the public
symbol name.
Reviewers: emaste, zturner
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D7836
llvm-svn: 230476
Diffstat (limited to 'clang/test/Modules/Inputs/merge-vtable-codegen/merge-vtable-codegen.modulemap')
0 files changed, 0 insertions, 0 deletions