[Lldb-commits] [PATCH] D154268: [lldb] Skip apple accelerator table test in DWARF 5 mode

Felipe de Azevedo Piovezan via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 30 15:02:43 PDT 2023


fdeazeve created this revision.
Herald added a project: All.
fdeazeve requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

D68678 <https://reviews.llvm.org/D68678> added a test that ensure an Apple accelerator lookup is done efficiently.
Since these tables are not used for DWARF 5, we should decorate the test
appropriately.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154268

Files:
  lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py


Index: lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py
===================================================================
--- lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py
+++ lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py
@@ -7,6 +7,7 @@
 class CPPAcceleratorTableTestCase(TestBase):
     @skipUnlessDarwin
     @skipIf(debug_info=no_match(["dwarf"]))
+    @skipIf(dwarf_version=[">=", "5"])
     def test(self):
         """Test that type lookups fail early (performance)"""
         self.build()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154268.536449.patch
Type: text/x-patch
Size: 548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230630/c51b26f0/attachment.bin>


More information about the lldb-commits mailing list