diff options
author | Greg Clayton <gclayton@apple.com> | 2011-06-18 20:06:08 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-06-18 20:06:08 +0000 |
commit | 316d498baaa168aac61560c12388f6e4c4a4de6d (patch) | |
tree | 2b87b1b3545e2b67aa44a522fe0b2a56add55bc6 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | dc7f4ee3823c35d4cf2c124483b9ff4653dc9ecb (diff) | |
download | llvm-316d498baaa168aac61560c12388f6e4c4a4de6d.zip llvm-316d498baaa168aac61560c12388f6e4c4a4de6d.tar.gz llvm-316d498baaa168aac61560c12388f6e4c4a4de6d.tar.bz2 |
Added two new API functions to SBFrame:
const char *
SBFrame::GetFunctionName();
bool
SBFrame::IsInlined();
The first one will return the correct name for a frame. The name of a frame is:
- the name of the inlined function (if there is one)
- the name of the concrete function (if there is one)
- the name of the symbol (if there is one)
- NULL
We also can now easily check if a frame is an inline function or not.
llvm-svn: 133357
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions