diff options
| author | Douglas Katzman <dougk@google.com> | 2015-09-14 20:31:28 +0000 |
|---|---|---|
| committer | Douglas Katzman <dougk@google.com> | 2015-09-14 20:31:28 +0000 |
| commit | 553927a78adaeb5d1dfd6dbd24fa7239fd463412 (patch) | |
| tree | a167af03bbedafa2721992098bb62e25834ec18e /clang/test | |
| parent | 6614d8d2308f2571a79592cdd4b4611a1e072898 (diff) | |
| download | bcm5719-llvm-553927a78adaeb5d1dfd6dbd24fa7239fd463412.tar.gz bcm5719-llvm-553927a78adaeb5d1dfd6dbd24fa7239fd463412.zip | |
Driver should forward at most one gdwarf-N flag to cc1as.
llvm-svn: 247611
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Driver/integrated-as.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Driver/integrated-as.s b/clang/test/Driver/integrated-as.s index a2cd574efe6..e274a45cd01 100644 --- a/clang/test/Driver/integrated-as.s +++ b/clang/test/Driver/integrated-as.s @@ -26,8 +26,9 @@ // XA_INCLUDE2: cc1as // XA_INCLUDE2: "-Ifoo_dir" -// RUN: %clang -### -c -integrated-as %s -gdwarf-2 2>&1 | FileCheck --check-prefix=DWARF2 %s +// RUN: %clang -### -c -integrated-as %s -gdwarf-4 -gdwarf-2 2>&1 | FileCheck --check-prefix=DWARF2 %s // DWARF2: "-g" "-gdwarf-2" +// DWARF2-NOT: "-gdwarf-4" // RUN: %clang -### -c -integrated-as %s -gdwarf-3 2>&1 | FileCheck --check-prefix=DWARF3 %s // DWARF3: "-g" "-gdwarf-3" |

