summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/ClangASTContext.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-12-22 19:12:40 +0000
committerJim Ingham <jingham@apple.com>2011-12-22 19:12:40 +0000
commitef651600167a47060e4b19bdb788a0d1649671b8 (patch)
treeaabe5d4cfbeb06df5596ec5731c1d5e5f1485760 /lldb/source/Symbol/ClangASTContext.cpp
parent6901c0de675f3c264d496cdd75ac08fd21109305 (diff)
downloadbcm5719-llvm-ef651600167a47060e4b19bdb788a0d1649671b8.tar.gz
bcm5719-llvm-ef651600167a47060e4b19bdb788a0d1649671b8.zip
Improve the x86_64 return value decoder to handle most structure returns.
Switch from GetReturnValue, which was hardly ever used, to GetReturnValueObject which is much more convenient. Return the "return value object" as a persistent variable if requested. llvm-svn: 147157
Diffstat (limited to 'lldb/source/Symbol/ClangASTContext.cpp')
-rw-r--r--lldb/source/Symbol/ClangASTContext.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index 49ac28b228c..a04f8ed46c9 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -5411,9 +5411,10 @@ ClangASTContext::IsIntegerType (clang_type_t clang_type, bool &is_signed)
if (builtin_type)
{
if (builtin_type->isInteger())
+ {
is_signed = builtin_type->isSignedInteger();
-
- return true;
+ return true;
+ }
}
return false;
OpenPOWER on IntegriCloud