Fix upper->lower case for /usr/lib/debug/.build-id/**.debug
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 5 Feb 2018 10:46:56 +0000 (10:46 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 5 Feb 2018 10:46:56 +0000 (10:46 +0000)
commit4fc027105a95b2d1e8a079a3ded39feb3e355f06
tree0ebf2822e5e5393ba59fa605a766fb82cb089d84
parent64f65b02d287b760959e727d897cbeb3f8c50434
Fix upper->lower case for /usr/lib/debug/.build-id/**.debug

I have found the lookup by build-id
(when lookup by /usr/lib/debug/path/name/exec.debug failed) does not work as
LLDB tries the build-id hex string in uppercase but Fedora uses lowercase.

xubuntu-16.10 also uses lowercase during my test:
/usr/lib/debug/.build-id/6c/61f3566329f43d03f812ae7057e9e7391b5ff6.debug

Differential revision: https://reviews.llvm.org/D42852

llvm-svn: 324222
lldb/packages/Python/lldbsuite/test/linux/buildidcase/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/linux/buildidcase/TestTargetSymbolsBuildidCase.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/linux/buildidcase/main.c [new file with mode: 0644]
lldb/source/Host/common/Symbols.cpp