Debug Info: set default to gdwarf-2 for Darwin.
Darwin systems currently do not support dwarf version 3 or above. When we are
ready, we can bump the default to gdwarf-4 for Darwin.
For other systems, the default is dwarf version 3, if everything goes smoothly,
we can bump the version to 4.
rdar://13591116
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185483 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Driver/debug-options.c b/test/Driver/debug-options.c
index 981fa90..490b746 100644
--- a/test/Driver/debug-options.c
+++ b/test/Driver/debug-options.c
@@ -26,7 +26,8 @@
// RUN: | FileCheck -check-prefix=GIGNORE %s
//
// G: "-cc1"
-// G: "-g"
+// Can be -gdwarf.
+// G: "-g
//
// G_D2: "-cc1"
// G_D2: "-gdwarf-2"
@@ -41,7 +42,7 @@
//
// G_ONLY: "-cc1"
// G_ONLY-NOT: "-gline-tables-only"
-// G_ONLY: "-g"
+// G_ONLY: "-g
// G_ONLY-NOT: "-gline-tables-only"
//
// GLTO_NO: "-cc1"