run-lldb-tests: Skip the detailed backtrace/variable checks for i686+pdb

This seems to have regressed in git main, while it worked
correctly still in the 15.0.0 release; see
https://github.com/llvm/llvm-project/issues/57799 for details.
This commit is contained in:
Martin Storsjö committed 2022-09-17 17:36:15 +03:00
1 parent 299f03fd45
commit 13a788dc62
1 file changed
+4 -2
+4 -2
View File
@@ -79,8 +79,10 @@ for exe in hello-exception-dwarf.exe hello-exception-pdb.exe hello-exception-spl
if [ "$ARCH" != "armv7" ] || [ "$exe" = "hello-exception-pdb.exe" ]; then
grep -q "volatile int.*NULL.*0x42" $OUT
fi
if [ "$ARCH" != "armv7" ]; then
# armv7 pdb gives "val=<unavailable>"
if [ "$ARCH" != "armv7" ] && ([ "$ARCH" != "i686" ] || [ "$exe" != "hello-exception-pdb.exe" ]); then
# armv7 pdb gives "val=<unavailable>".
# i686 pdb also gives "val=<unavailable>" since LLDB 16
# (see https://github.com/llvm/llvm-project/issues/57799 for details).
grep -q "frame #0: .*hello-exception.*.exe.recurse(val=0) at hello-exception.cpp:" $OUT
grep -q "hello-exception.*.exe.recurse(val=10) at hello-exception.cpp:" $OUT
fi