Title: [253845] trunk/Tools
Revision
253845
Author
[email protected]
Date
2019-12-20 14:30:34 -0800 (Fri, 20 Dec 2019)

Log Message

lldbwebkittester: Strip CLANG_DEBUG_INFORMATION_LEVEL option while building
https://bugs.webkit.org/show_bug.cgi?id=205513

Reviewed by Alexey Proskuryakov.

* Scripts/webkitdirs.pm:
(buildXCodeProject): Strip CLANG_DEBUG_INFORMATION_LEVEL from lldbWebKitTester.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (253844 => 253845)


--- trunk/Tools/ChangeLog	2019-12-20 21:51:48 UTC (rev 253844)
+++ trunk/Tools/ChangeLog	2019-12-20 22:30:34 UTC (rev 253845)
@@ -1,3 +1,13 @@
+2019-12-20  Jonathan Bedard  <[email protected]>
+
+        lldbwebkittester: Strip CLANG_DEBUG_INFORMATION_LEVEL option while building
+        https://bugs.webkit.org/show_bug.cgi?id=205513
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Scripts/webkitdirs.pm:
+        (buildXCodeProject): Strip CLANG_DEBUG_INFORMATION_LEVEL from lldbWebKitTester.
+
 2019-12-20  Simon Fraser  <[email protected]>
 
         Add a Custom User Agent menu to MiniBrowser, and related cleanup

Modified: trunk/Tools/Scripts/webkitdirs.pm (253844 => 253845)


--- trunk/Tools/Scripts/webkitdirs.pm	2019-12-20 21:51:48 UTC (rev 253844)
+++ trunk/Tools/Scripts/webkitdirs.pm	2019-12-20 22:30:34 UTC (rev 253845)
@@ -1906,6 +1906,18 @@
     }
 
     chomp($ENV{DSYMUTIL_NUM_THREADS} = `sysctl -n hw.activecpu`);
+
+    # lldbWebKitTester won't work with the wrong CLANG_DEBUG_INFORMATION_LEVEL, so always use the default for that project
+    if ($project eq "lldbWebKitTester") {
+        my $index = 0;
+        while ($index < scalar(@extraOptions)) {
+            if ($extraOptions[$index] =~ /CLANG_DEBUG_INFORMATION_LEVEL=/) {
+                splice @extraOptions, $index, 1;
+            } else {
+                $index += 1;
+            }
+        }
+    }
     return system "xcodebuild", "-project", "$project.xcodeproj", @extraOptions;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to