[Lldb-commits] [PATCH] D76408: [lldb/testsuite] XFail TestBuiltinTrap.py not only on linux

Frederic Riss via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 18 21:42:15 PDT 2020


friss created this revision.
friss added a reviewer: labath.
Herald added subscribers: danielkiss, kristof.beyls.
Herald added a project: LLDB.

TestBuiltinTrap fail on darwin embedded because the `__builin_trap`
builtin doesn't get any line info attached to it by clang when
building for arm64.

The test was already XFailed for linux arm(64), I presume for the same
reasons. This patch just XFails it independently of the platform.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76408

Files:
  lldb/test/API/linux/builtin_trap/TestBuiltinTrap.py


Index: lldb/test/API/linux/builtin_trap/TestBuiltinTrap.py
===================================================================
--- lldb/test/API/linux/builtin_trap/TestBuiltinTrap.py
+++ lldb/test/API/linux/builtin_trap/TestBuiltinTrap.py
@@ -23,7 +23,7 @@
 
     # gcc generates incorrect linetable
     @expectedFailureAll(archs="arm", compiler="gcc", triple=".*-android")
-    @expectedFailureAll(oslist=['linux'], archs=['arm', 'aarch64'])
+    @expectedFailureAll(archs=['arm', 'aarch64'])
     @skipIfWindows
     def test_with_run_command(self):
         """Test that LLDB handles a function with __builtin_trap correctly."""


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76408.251268.patch
Type: text/x-patch
Size: 633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200319/e24b4133/attachment.bin>


More information about the lldb-commits mailing list