Displaying 1 result from an estimated 1 matches for "classder".
Did you mean:
classdev
2011 Aug 09
1
[LLVMdev] Debug information for llvm-clang
...r example I saw for Class type - base
classes /inheritance/friends etc.)
i want to see all the data for debugging after clang is executed..To check
this I made following example
class friendClass
{
public:
int x;
};
class classBase
{
public:
int get1(){return 1;}
int get2(){return 2;}
};
class classDer:public classBase
{
public:
int get1(){return 1;}
friend class frienClass;
};
int f()
{
classDer x;
return x.get1();
}
After C:\Windows\system32>clang C:\clangParam\clangExample.cpp -S -emit-llvm
-o -
I get following output
; ModuleID = 'C:\clangParam\clangExample.cpp'
target da...