teak-llvm/lldb/packages/Python/lldbsuite/test
Jan Kratochvil 401df58064 Resolve binary symlinks before finding its separate .debug file
I have found LLDB cannot find separate debug info of Fedora /usr/bin/gdb.
It is because:

lrwxrwxrwx 1 root root       14 Jan 25 20:41 /usr/bin/gdb -> ../libexec/gdb*
-rwxr-xr-x 1 root root 10180296 Jan 25 20:41 /usr/libexec/gdb*
ls: cannot access '/usr/lib/debug/usr/bin/gdb-8.0.1-35.fc27.x86_64.debug': No such file or directory
-r--r--r-- 1 root root 29200464 Jan 25 20:41 /usr/lib/debug/usr/libexec/gdb-8.0.1-35.fc27.x86_64.debug

FYI that -8.0.1-35.fc27.x86_64.debug may look confusing, it was always just
.debug before.
Why is /usr/bin/gdb a symlink is offtopic for this bugreport, Fedora has it so
for some reasons.

It is always safest to look at the .debug file only after resolving all
symlinks on the binary file.

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

llvm-svn: 324224
2018-02-05 10:50:38 +00:00
..
android/platform Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
api Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
arm Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
attic *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
benchmarks Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
driver/batch_mode Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
example Remove getCategories mechanism of specifying test categories 2017-11-02 22:13:09 +00:00
expression_command Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
functionalities Added lldbutil.run_to_name_breakpoint and use it in one test. 2018-02-01 21:35:50 +00:00
help Fix the formatting for help on option value types. 2017-07-27 00:18:18 +00:00
issue_verification test infra: clear file-charged issues on rerun of file 2016-10-01 00:17:08 +00:00
lang Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
linux Resolve binary symlinks before finding its separate .debug file 2018-02-05 10:50:38 +00:00
logging Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
macosx Enforce that NO_DEBUG_INFO_TESTCASEs build using buildDefault(). 2018-01-30 23:15:49 +00:00
make Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
plugins Enforce that NO_DEBUG_INFO_TESTCASEs build using buildDefault(). 2018-01-30 23:15:49 +00:00
python_api PR25934: Skip EventAPITestCase. It still SEGV's on Darwin. 2018-01-30 19:49:05 +00:00
sample_test Add a lldbutils routine that gathers up the boiler-plate 2017-07-06 02:18:16 +00:00
settings Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
source-manager Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
terminal *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
test_runner added Linux support for test timeout sampling 2016-09-26 20:25:47 +00:00
tools Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
types Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
warnings/uuid Enforce that NO_DEBUG_INFO_TESTCASEs build using buildDefault(). 2018-01-30 23:15:49 +00:00
__init__.py
.categories
bench-history
bench.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
concurrent_base.py Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
configuration.py Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
darwin_log.py Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
decorators.py "Fix" concurrent events test for arm 2017-11-07 10:36:36 +00:00
dosep.py dotest.py: remove the ability to specify different architectures/compilers in a single invocation 2017-03-15 08:51:59 +00:00
dotest_args.py Use an alternative approach to prevent Spotlight from indexing the build directory. 2018-02-02 18:32:29 +00:00
dotest.py Use an alternative approach to prevent Spotlight from indexing the build directory. 2018-02-02 18:32:29 +00:00
lldb_pylint_helper.py
lldbbench.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbcurses.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbdwarf.py [LLDB][MIPS] Fix TestLldbGdbServer failure for MIPS 2017-01-10 09:33:43 +00:00
lldbinline.py Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
lldbpexpect.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbplatform.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
lldbplatformutil.py dotest: Mark more android targets as chatty 2017-11-27 13:47:14 +00:00
lldbtest_config.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbtest.py Enforce that NO_DEBUG_INFO_TESTCASEs build using buildDefault(). 2018-01-30 23:15:49 +00:00
lldbutil.py Add the ability to restrict the breakpoint to a module 2018-02-02 18:39:25 +00:00
lock.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Makefile
README-TestSuite Add a sample_test directory with simple starter 2017-03-01 20:25:48 +00:00
redo.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
test_categories.py Add a "watchpoint" test category and annotate tests appropriately 2017-10-31 15:27:19 +00:00
test_result.py [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00