summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/linux/buildidcase
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite TestTargetSymbolsBuildidCase to be more focusedPavel Labath2018-03-063-45/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The test was failing in remote debugging scenario with windows as a host as cmd.exe is not able to parse the complicated shell commands in the Makefile. The test seemed like a perfect candidate for a more focused testing approach, so I have rewritten in on top of lldb-test's module-sections functionality. The slight gotcha there was that the Module::GetSectionList does not include the sections from the symbol file until someone manually calls Module::GetSymbolVendor. Normally, this is not an issue, because someone will have initialized the symbol vendor by the time anyone starts looking at the sections. However, when all one this is dump the section list, we run into this problem. I've tried making this behavior more automatic, but it turns out it's not that easy, so for now, I just manually initialize the Symbol Vendor before dumping out the sections in lldb-test. Reviewers: jankratochvil Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D42914 llvm-svn: 326805
* Deactivate TestTargetSymbolsBuildidCase if host is windowsEugene Zemtsov2018-02-081-0/+1
| | | | | | Makefile has unix magic and thus not working on windows. llvm-svn: 324558
* Fix upper->lower case for /usr/lib/debug/.build-id/**.debugJan Kratochvil2018-02-053-0/+44
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
OpenPOWER on IntegriCloud