[clang] fa17c0e - [PS4] Verify the default DWARF version is 4.

Paul Robinson via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 4 11:57:17 PST 2022


Author: Paul Robinson
Date: 2022-01-04T11:57:10-08:00
New Revision: fa17c0e27ac5e874e0d0ce3be9146ee3f5a99016

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

LOG: [PS4] Verify the default DWARF version is 4.

Follow-up to b8e03be. Even if Clang's generic default DWARF version
bumps up, PS4 will stay on v4.

Added: 
    

Modified: 
    clang/test/Driver/debug-options.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/debug-options.c b/clang/test/Driver/debug-options.c
index 45a577dc7e7a2..22e05140f2618 100644
--- a/clang/test/Driver/debug-options.c
+++ b/clang/test/Driver/debug-options.c
@@ -279,7 +279,8 @@
 // NOG_PS4-NOT: "-dwarf-version=
 //
 // G_PS4: "-cc1"
-// G_PS4: "-dwarf-version=
+/// PS4 will stay on v4 even if the generic default version changes.
+// G_PS4: "-dwarf-version=4"
 // G_PS4: "-generate-arange-section"
 //
 // G_ERR: error: unknown argument:


        


More information about the cfe-commits mailing list