[Lldb-commits] [lldb] r183846 - If using clang 3.4, skip tests affected by llvm.org/pr16214

Daniel Malea daniel.malea at intel.com
Wed Jun 12 09:48:33 PDT 2013


Author: dmalea
Date: Wed Jun 12 11:48:33 2013
New Revision: 183846

URL: http://llvm.org/viewvc/llvm-project?rev=183846&view=rev
Log:
If using clang 3.4, skip tests affected by llvm.org/pr16214
- clang emits incomplete DWARF information for structures referenced via typedef


Modified:
    lldb/trunk/test/lang/c/anonymous/TestAnonymous.py
    lldb/trunk/test/lang/c/shared_lib/TestSharedLib.py

Modified: lldb/trunk/test/lang/c/anonymous/TestAnonymous.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/anonymous/TestAnonymous.py?rev=183846&r1=183845&r2=183846&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/anonymous/TestAnonymous.py (original)
+++ lldb/trunk/test/lang/c/anonymous/TestAnonymous.py Wed Jun 12 11:48:33 2013
@@ -124,6 +124,8 @@ class AnonymousTestCase(TestBase):
             substrs = ["= 2"])
 
     def expr_parent(self):
+        if "clang" in self.getCompiler() and "3.4" in self.getCompilerVersion():
+            self.skipTest("llvm.org/pr16214 -- clang emits partial DWARF for structures referenced via typedef")
         self.common_setup(self.line2)
 
         # These should display correctly.

Modified: lldb/trunk/test/lang/c/shared_lib/TestSharedLib.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/shared_lib/TestSharedLib.py?rev=183846&r1=183845&r2=183846&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/shared_lib/TestSharedLib.py (original)
+++ lldb/trunk/test/lang/c/shared_lib/TestSharedLib.py Wed Jun 12 11:48:33 2013
@@ -63,6 +63,10 @@ class SharedLibTestCase(TestBase):
 
     def expr(self):
         """Test that types work when defined in a shared library and forward-declared in the main executable"""
+
+        if "clang" in self.getCompiler() and "3.4" in self.getCompilerVersion():
+            self.skipTest("llvm.org/pr16214 -- clang emits partial DWARF for structures referenced via typedef")
+
 	self.common_setup()
 
         # This should display correctly.





More information about the lldb-commits mailing list