diff options
author | Devang Patel <dpatel@apple.com> | 2011-05-31 20:46:46 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-05-31 20:46:46 +0000 |
commit | 1c29652fbcd097aa6c21511c9f4f886bb3f3a8af (patch) | |
tree | 13058e6b7d82c35903064b2a30eadf99fb25dbf7 /test/CodeGenCXX/debug-info-pubtypes.cpp | |
parent | eea06c609b73afc7bcfdf3e101efb8d9e7b3560c (diff) |
List c++ class type as public type in dwarf debug info output.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132357 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/debug-info-pubtypes.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-pubtypes.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/CodeGenCXX/debug-info-pubtypes.cpp b/test/CodeGenCXX/debug-info-pubtypes.cpp new file mode 100644 index 0000000000..9029e6e62f --- /dev/null +++ b/test/CodeGenCXX/debug-info-pubtypes.cpp @@ -0,0 +1,14 @@ +// RUN: %clang -cc1 -triple x86_64-apple-darwin10 -g -S %s -o %t +// RUN: FileCheck %s < %t + +//CHECK: .asciz "G" +//CHECK-NEXT: .long 0 +//CHECK-NEXT: Lpubtypes_end1: + +class G { +public: + void foo(); +}; + +void G::foo() { +} |