forked from OSchip/llvm-project
Fix this for buggy gdb behavior alongside the change
to clang that omits debug information for non-user-defined methods. llvm-svn: 158008
This commit is contained in:
parent
a6fb910fad
commit
cc389be552
|
@ -3,8 +3,10 @@
|
|||
// Radar 9168773
|
||||
|
||||
// DEBUGGER: ptype A
|
||||
// CHECK: type = class A {
|
||||
// CHECK-NEXT: public:
|
||||
// Work around a gdb bug where it believes that a class is a
|
||||
// struct if there aren't any methods - even though it's tagged
|
||||
// as a class.
|
||||
// CHECK: type = struct A {
|
||||
// CHECK-NEXT: int MyData;
|
||||
// CHECK-NEXT: }
|
||||
class A;
|
||||
|
|
Loading…
Reference in New Issue