[Lldb-commits] [PATCH] D62702: [ABI] Fix SystemV ABI to handle nested aggregate type returned in register

Wanyi Ye via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri May 31 17:58:37 PDT 2019


kusmour updated this revision to Diff 202517.
kusmour added a comment.
Herald added a subscriber: teemperor.

added a virtual function `CanPassInRegister` in TypeSystem class
to provide info about type can be passed in register or not
`ClangASTContext` will refer to `clang::RecordDecl::canPassInRegister` for this info
and later `SwiftASTContext` can provide the equivalent 
updated the test to test on C++
and provided class test, including base class, subclass, abstract class (this one must be in memory)


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62702/new/

https://reviews.llvm.org/D62702

Files:
  lldb/include/lldb/Symbol/ClangASTContext.h
  lldb/include/lldb/Symbol/TypeSystem.h
  lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py
  lldb/packages/Python/lldbsuite/test/functionalities/return-value/call-func.c
  lldb/packages/Python/lldbsuite/test/functionalities/return-value/call-func.cpp
  lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
  lldb/source/Symbol/ClangASTContext.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62702.202517.patch
Type: text/x-patch
Size: 20233 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190601/1dcfb0cf/attachment-0001.bin>


More information about the lldb-commits mailing list