[Lldb-commits] [lldb] 379b59d - [lldb] Skip apple accelerator table test in DWARF 5 mode

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 3 05:36:16 PDT 2023


Author: Felipe de Azevedo Piovezan
Date: 2023-07-03T08:35:55-04:00
New Revision: 379b59d1b0f3e1ddc421f706e9de65e52acad0cb

URL: https://github.com/llvm/llvm-project/commit/379b59d1b0f3e1ddc421f706e9de65e52acad0cb
DIFF: https://github.com/llvm/llvm-project/commit/379b59d1b0f3e1ddc421f706e9de65e52acad0cb.diff

LOG: [lldb] Skip apple accelerator table test in DWARF 5 mode

D68678 added a test that ensures an Apple accelerator lookup is done
efficiently. Since these tables are not used for DWARF 5, we should decorate the
test appropriately.

Differential Revision: https://reviews.llvm.org/D154268

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py b/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py
index c3b058b16b6d60..0f21806da6bd32 100644
--- a/lldb/test/API/lang/cpp/accelerator-table/TestCPPAccelerator.py
+++ b/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()


        


More information about the lldb-commits mailing list