[Lldb-commits] [lldb] a10692c - [lldb] Only promote -Wignored-attributes to an error

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 14 16:19:22 PST 2022


Author: Jonas Devlieghere
Date: 2022-01-14T16:19:16-08:00
New Revision: a10692c734faff9ef28bc725703a0eacea78eeca

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

LOG: [lldb] Only promote -Wignored-attributes to an error

Avoid other warnings from failing the test, such as
-Wunused-command-line-argument in the downstream Swift fork.

Added: 
    

Modified: 
    lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py
index 6fd60c22cea4f..f37331e2cd254 100644
--- a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py
+++ b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py
@@ -20,7 +20,7 @@ def build_and_run(self, test_file):
         try:
             self.build(dictionary={
                 "C_SOURCES" : test_file,
-                "CFLAGS_EXTRAS" : "-Werror"
+                "CFLAGS_EXTRAS" : "-Werror=ignored-attributes"
             })
         except BuildError as e:
              # Test source failed to build. Check if it failed because the


        


More information about the lldb-commits mailing list