diff options
| author | Jim Ingham <jingham@apple.com> | 2011-12-22 19:12:40 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2011-12-22 19:12:40 +0000 |
| commit | ef651600167a47060e4b19bdb788a0d1649671b8 (patch) | |
| tree | aabe5d4cfbeb06df5596ec5731c1d5e5f1485760 /lldb/source/Symbol/ClangASTContext.cpp | |
| parent | 6901c0de675f3c264d496cdd75ac08fd21109305 (diff) | |
| download | bcm5719-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.cpp | 5 |
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; |

