[Lldb-commits] [lldb] r257363 - Don't run dwo tests for windows targets.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 11 10:49:31 PST 2016


Author: zturner
Date: Mon Jan 11 12:49:30 2016
New Revision: 257363

URL: http://llvm.org/viewvc/llvm-project?rev=257363&view=rev
Log:
Don't run dwo tests for windows targets.

-gsplit-dwarf is not implemented by clang on Windows.  As such,
all the dwo tests are having the -gsplit-dwarf command line option
completely ignored, and the result is you get regular dwarf debug
information, and it's just running the exact same tests twice,
doubling the length of the test suite for no good reason.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/test_categories.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/test_categories.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/test_categories.py?rev=257363&r1=257362&r2=257363&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/test_categories.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/test_categories.py Mon Jan 11 12:49:30 2016
@@ -44,7 +44,8 @@ def unique_string_match(yourentry, list)
 
 def is_supported_on_platform(category, platform):
     if category == "dwo":
-        return platform in ["linux", "freebsd", "windows"]
+        # -gsplit-dwarf is not implemented by clang on Windows.
+        return platform in ["linux", "freebsd"]
     elif category == "dsym":
         return platform in ["darwin", "macosx", "ios"]
     return True




More information about the lldb-commits mailing list