llvm-capstone/lldb
Shafik Yaghmour fa5c340ea1 Fix ClangASTContext::CreateParameterDeclaration to not call addDecl
Summary:
The change https://reviews.llvm.org/D55575 modified ClangASTContext::CreateParameterDeclaration to call decl_ctx->addDecl(decl); this caused a regression since the existing code in DWARFASTParserClang::ParseChildParameters is called with the containing DeclContext. So when end up with cases where we are parsing a parameter for a member function and the parameter is added to the CXXRecordDecl as opposed to the CXXMethodDecl. This example is given in the regression test TestBreakpointInMemberFuncWNonPrimitiveParams.py which without this fix in a modules build leads to assert on setting a breakpoint in a member function with non primitive parameters. This scenario would be common when debugging LLDB or clang.

Differential Revision: https://reviews.llvm.org/D65414

llvm-svn: 367726
2019-08-02 21:41:50 +00:00
..
cmake [lldb][CMake] Avoid 'Autogenerate scheme' dialogs in Xcode projects 2019-08-01 10:33:44 +00:00
docs [lldb][docs] Update landing page for monorepo 2019-08-01 10:33:54 +00:00
examples [Symbolication] Remove some dead code. Nothing exciting. 2019-07-29 21:25:51 +00:00
include/lldb Fix ClangASTContext::CreateParameterDeclaration to not call addDecl 2019-08-02 21:41:50 +00:00
lit Use rip-relative addressing in asm test 2019-08-02 19:06:15 +00:00
packages/Python/lldbsuite Fix ClangASTContext::CreateParameterDeclaration to not call addDecl 2019-08-02 21:41:50 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts [lldb] Remove Xcode project legacy 2019-07-24 09:20:14 +00:00
source Fix ClangASTContext::CreateParameterDeclaration to not call addDecl 2019-08-02 21:41:50 +00:00
test [dotest] Remove multiprocessing 2019-07-30 16:42:47 +00:00
third_party/Python/module [lldb/thirdparty] Remove unneeded files, asked by Jonas. 2019-03-12 20:41:36 +00:00
tools [Symbol] Use llvm::Expected when getting TypeSystems 2019-07-30 22:12:34 +00:00
unittests Add missing includes to SymbolFilePDBTests 2019-07-31 11:31:05 +00:00
utils [TableGen] Move helpers into LLDBTableGenUtils. 2019-07-31 00:47:00 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [CMake] Move project() call to main CMake file 2019-07-29 23:09:31 +00:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py