diff options
author | Geoffrey Keating <geoffk@apple.com> | 2006-03-25 00:54:40 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2006-03-25 00:54:40 +0000 |
commit | 9e51ddaa6e4902e734b803b9ede861eb499b3bd0 (patch) | |
tree | 742a1c15b58d44e56a4d44fbc55e5d25ed059610 /gcc/testsuite/objc.dg | |
parent | affceb31323ae15961f9327ad1f6006a6933b328 (diff) | |
download | gcc-9e51ddaa6e4902e734b803b9ede861eb499b3bd0.zip gcc-9e51ddaa6e4902e734b803b9ede861eb499b3bd0.tar.gz gcc-9e51ddaa6e4902e734b803b9ede861eb499b3bd0.tar.bz2 |
dwarf2out.c (is_c_family): Understand new DWARF3 language types.
2006-03-24 Geoffrey Keating <geoffk@apple.com>
* dwarf2out.c (is_c_family): Understand new DWARF3 language types.
(is_cxx): Likewise.
(gen_compile_unit_die): Use new language types for Objective-C and
Objective-C++.
(dwarf2out_decl): Use is_cxx rather than testing explicitly against
DW_LANG_C_plus_plus.
Index: testsuite/ChangeLog
2006-03-24 Geoffrey Keating <geoffk@apple.com>
* objc.dg/dwarf-2.m: New.
* obj-c++.dg/dwarf-2.mm: New.
From-SVN: r112372
Diffstat (limited to 'gcc/testsuite/objc.dg')
-rw-r--r-- | gcc/testsuite/objc.dg/dwarf-2.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/objc.dg/dwarf-2.m b/gcc/testsuite/objc.dg/dwarf-2.m new file mode 100644 index 0000000..444ed23 --- /dev/null +++ b/gcc/testsuite/objc.dg/dwarf-2.m @@ -0,0 +1,3 @@ +/* { dg-options "-gdwarf-2 -dA" } */ +/* { dg-final { scan-assembler "0x10\[^0-9a-f\].*DW_AT_language" } } */ +int x; |